Blockland Forums > Modification Help
Function for Walking
otto-san:
--- Quote from: Nexus on January 25, 2012, 06:11:17 PM ---Just a shot in the dark:
Some function loops through all players and finds their locations, and, using their previous location, determines the maximum distance they could have traveled at the walking speed during that loop, and if they exceeded that distance, it teleports them to the spot that is in the same direction but the correct distance.
Any server that does that would be a big pile of poop, however.
--- End quote ---
Well, what he's trying to do is slow down people that are aiming without having to use an additional datablock so that it will work with any playertype without changing.
He figures if he can find a serversided function that handles walking he could more easily do this.
Minnax:
Yes, what otto said. Need function, if there is one.
otto-san:
--- Quote from: Minnax on January 27, 2012, 04:03:30 PM ---Yes, what otto said. Need function, if there is one.
--- End quote ---
again i doubt there is one because not tracing nor dumping shows anything
at least not anything obvious.
Minnax:
bump
Slicksilver:
Walking is an engine handled feature. TQS is too far too slow to handle it as smoothly as it is handled. There is no serversided callback or function for it because walking operates on the client-side with serverside checking to prevent cheating, aside from that the server only relays the position changes and such, and as I said this is all handled through engine code. It makes sense if you think about it.