SA-MP Forums Archive
Server timers not working right - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server timers not working right (/showthread.php?tid=598314)



Server timers not working right - GGRPSkripter - 10.01.2016

Hello,

I have 2 server - one main server(where players play) and one test server where I test stuff that I make. Both servers are on Linux. When I make something with timers and test it on test server all works properly. Without lagging and delays, but when I upload my script to the main server some timers just don't work. Server has ~100 players. There are more problems like - when I add a timer, another timer from whole different part of script/system starts lagging. Some timers just go off after some time.

Is there any cure for this? Or any tips for timers? how to use them?

Thank you in advance.


Re: Server timers not working right - TakeiT - 10.01.2016

you kill the timer when the player disconnects? No variables are being overwritten?


Re: Server timers not working right - GGRPSkripter - 11.01.2016

Yes, i kill timers after player connects and disconnects.


Re: Server timers not working right - SaltySandy - 11.01.2016

Any errors from the serverlog?