30.09.2010, 08:55
Since that code is being executed every 3rd, or 4th ms. I'd suggest just a slight change.
I re-wrote it, check it out: http://pastebin.com/5MJccWt3
This is what I get in server_log.txt:
I re-wrote it, check it out: http://pastebin.com/5MJccWt3
This is what I get in server_log.txt:
Код:
[11:00:11] 1 - Ticks: 1002 [11:00:12] 2 - Ticks: 1002 [11:00:13] 3 - Ticks: 1002 [11:00:14] 4 - Ticks: 1001 [11:00:15] 5 - Ticks: 1001 [11:00:16] 6 - Ticks: 1001 [11:00:17] 7 - Ticks: 1001 [11:00:18] 8 - Ticks: 1002 [11:00:19] 9 - Ticks: 1002 [11:00:20] 10 - Ticks: 1002