player mobs movement buffer in Developer Help
|
|
I thought I'd finally tackle this, but I guess I should see if anyone else has tried anything similar first...
I don't like letting go of a movement key, and having my character keep going a few steps before stopping. It seems like there is an input buffer if you hold a key down, and the buffer has to empty before you stop. I'd much prefer a screeching halt.
I'm going to see if I can squash this programatically. Has anyone else done anything similar to this before I start?
/mob/skysaw
|
Furthermore, there is the problem of network delay. When the server is somewhere else on the network, I believe it has no way of distinguishing between actual movement keypress messages and further repeated messages after the key has been released.
Of course, adding a small delay to movement (even one tick might suffice) to ensure that DreamSeeker doesn't lag too far behind the keypress events due to network/graphics/etc overhead may work well enough. This has been done many times and I'm sure you know how to do that.
I'm curious how you intended to tackle the problem? Also if anyone can prove me wrong regarding the hardware/OS stuff above, by all means do so! My understanding is not complete, but I believe it describes the situation fairly well.