Developer Store
Support
Member Forums

Screenshots
FAQ
Documentation
License
Known Issues
Downloads

MMOWorkshop.com Store Opened!
Torque MMO Kit - Open Sourced!
Torque MMO Kit - 1.5.2 Port Alpha Test
Torque MMO Kit - OSX Status

GarageGames.com irc.prairiegames.com
#mmoworkshop

PyTorque
TGB Web Browser


Larson

hallsofvalhalla - After a long epiphany
Leathel - FoHO pre-Alpha 2.42
OldRod - More Musings on the MMO Industry
xapken - nice
J.C. Smith - 0.0.4.1 Build Notes
Wolf Dreamer - Pointless blog of pointless things
AthlonJedi2 - Server Nuked !!!!!
gamer_goof - New character model GIRL1 available only $4
... MORE BLOGS!

Mob chase range?
Auction House + Internal Mail Sy...
Crafting Wiki
Every Day a new question... :)
Lets talk skills.
Web Host
Seeking experienced programmer
Integrating Green-Ear SDK (paid)
where character information is s...
Spells Problem...

mud/world/playeravatar.py

Above def perspective_endLooting(self) add the following

    #called from simmind when a player is casting and has been detected moving
    def perspective_stopCasting(self):
        for char in self.player.party.members:
            if (char.mob.casting):
                char.mob.casting.cancel()

mud/simulation/simmind.py

Change the from math statement to look like this

from math import radians,sqrt,fabs

In class SimMind? find the following

        self.updateSimObjects()
        self.tickBrains()

After it add the following

        self.checkVelocity()

Find def updateCansSee(self) and before it add this function

    #4x a seconds it checks for velocity changes (movement).  Currently used to stop spells
    def checkVelocity(self):
        try:
            #find a simObject for the player...could be online or off with multiple objects
            for so in self.simObjects:
                #need a brain....need to check casting
                if so.brain and so.brain.iscasting:
                    tgeObject = so.tgeObject
                    vel = tgeObject.getVelocity()
                    if fabs(vel[0]) > .1 or fabs(vel[1]) > .1:
                        self.perspective.callRemote("PlayerAvatar","stopCasting")
                        so.brain.cast(False)
        except:
            print_exc()
        self.velocityTick = reactor.callLater(.25,self.checkVelocity)