07-18-2011, 02:08 AM
(07-18-2011, 01:38 AM)Komain72 Wrote:(07-18-2011, 01:17 AM)Jacob_ Wrote:(07-18-2011, 12:50 AM)Komain72 Wrote: The first code just doesn't do what it's supposed to do. It compiles fine, and it's in the current server code, but it's not kicking people that don't move for 3 minutes. :/
The limit is 5 minutes, not 3.
I tested it with a shorter time limit before I gave it to you, and it worked. If the map changes it will reset the timer, so that could be causing a problem.
I think 3 minutes would work better though, or maybe even 2.
I know, but I had it with 5 minutes and with 3 minutes and neither worked. But I will change it to 3 * 60 * 1000 and see what happens.
If it doesn't work, would something else in my version of the server code be causing the problem?
Probably not. This is the code that processes movement packets from clients, so nothing else should affect it.