Posts: 104
Threads: 28
Joined: Jul 2013
Hello, I have a bug on my server.
Sometimes a timer call himself and my server crash. I have a 1 minute timer, but I don't know how, the timer run away and call 10 times in a second...
I have installed crashdetect but nothing is found, suggestions?
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
If you have a 10-minute timer but it's being called very frequently, it'd because that timer has been set multiple times.
Posts: 104
Threads: 28
Joined: Jul 2013
The timer is set only 1 time!
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
When does it get set? Put a debug message there so you know when it gets set.
Posts: 241
Threads: 13
Joined: Jan 2014
what the timer contains? Gve us the codes of the function that timer contains
Posts: 224
Threads: 72
Joined: Aug 2013
Reputation:
0
Can we see it what is the problem ?
Posts: 104
Threads: 28
Joined: Jul 2013
Before the server restarts, I get
Quote:
[09:11:41] Incoming connection: 92.83.40.226:54502
[09:12:07] Warning: client exceeded 'messageholelimit' (1) 5.13.98.255:63273 (503 Limit: 3000
[09:12:11] Kicking 92.83.40.226 because they didn't logon to the game.
[09:12:31] Warning: client exceeded 'messageholelimit' (1) 79.114.107.153:52628 (4076) Limit: 3000
[09:12:54] Incoming connection: 109.96.10.23:3864
|
Edit: sometimes timer no. 1, sometimes timer no. 2 ... I don't know why these timmers called himself ...
Код:
spdtimer = SetTimer("Speedo", 750, 1);
usetimer = SetTimer("UsedTimer", 60000, 1);
othtimer = SetTimer("OtherTimer", 1000, 1);
spectatetimer = SetTimer("Spectator", 500, 1);
I use fixes2 from ******