Filterscript / Timer bug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Filterscript / Timer bug (
/showthread.php?tid=492167)
Filterscript / Timer bug -
Elorreli - 02.02.2014
If you use SetTimerEx in a filterscript and unload your filterscript the server will crash when the timer time runs out, or something similar.
Worth mentioning.
Re: Filterscript / Timer bug -
DiDok - 02.02.2014
Isn't killing all timers on unloading filterscript a Good Scripting Practice? Still, would be nice to get protection against it...
Re : Filterscript / Timer bug -
Elorreli - 02.02.2014
It is indeed but it feels a bit unstable when it comes to SetTimerEx, sometimes it has crashed the server even if I kill the timer when unloading a filterscript
Re: Filterscript / Timer bug -
Meta - 02.02.2014
Yeah, I experienced that quite a lot in the past few weeks.
Re : Filterscript / Timer bug -
Elorreli - 08.02.2014
Made a few tests and sometimes it does crash even if you kill the SetTimerEx onfilterscriptexit, a bug worth checking out