Posts: 50
Threads: 9
Joined: Sep 2010
Reputation:
0
does any one encounter this problem: after running serveral hours all timer can not work, those timers have no problem in 03c, when i upgrade all in 03d(streamder is 2.6.2 latest), this happened. These timers are set in OnGameModeInit(), this is really weird,any one can help
Posts: 138
Threads: 0
Joined: Jun 2009
Reputation:
0
Same problem ... all timers stop after several hours ...
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Likely a problem in your script with KillTimer. Try commenting out all 'KillTimer' functions.
Posts: 138
Threads: 0
Joined: Jun 2009
Reputation:
0
No , all work in 0.3c but in 0.3d all timer stop after several hours ...
Posts: 50
Threads: 9
Joined: Sep 2010
Reputation:
0
I decide to describe my problem in detail, in my OnGameModeInit(), I have those timers
skinselectkey(): for detect <- or -> key when select skin, cycle is 200 ms
updateplayerevent(): handling player event, cycle is 1000 ms
saveaccounts(): update players info to database, cycle is 30000 ms
checkgas(): reduce gas for vehicle, cycle is 60000 ms
thats all for my timers defined in OnGameModeInit()
absolutely no problem on any older version other than 03d
Posts: 138
Threads: 0
Joined: Jun 2009
Reputation:
0
Your server run in Windows or Linux ?
Posts: 56
Threads: 4
Joined: Feb 2011
Reputation:
0
I don't care about your community, i'm just saying that "it maybe depends of the number of timers the server are using, the number of player that they are using them (at the same time or not)..etc.", i'm just comparing the number of players , im not criticizing your community. If it is the problem, yeah, what Y_Less do is useless.
Posts: 265
Threads: 39
Joined: Apr 2009
Reputation:
0
I have this problem too.
On 0.3c didn't get this issue. I used y_timers then too.
I still using y_timers and have 0.3d, but now the problem is alive.
I tried it without y_timers. - Nothing
I tried to reproduce it with a definite action. - Nothing.
It comes randomly, and facks up the whole server:
I uses timers, for interior enters, vehicle petrols, damage check, no one of those work :S
Posts: 50
Threads: 9
Joined: Sep 2010
Reputation:
0
maybe the streamer? i have some movebale doors, a cmd to open it, it will be shutted automatically after several seconds by call a timer which has MoveDyanamicObject, i will adjust them to manual to see what will happen