05.08.2016, 15:27
Hello, I have bunch of "global" timers in my gamemode, but there's a bug that appeared few days ago. When my server is up for 5-10 hours, all the "SetTimer" timers suddenly stop, even though "SetTimerEx" timers keep on working properly. There are no warnings/errors in compiler or serverlog. Someone who knows why this happens?
Timers in OnGameModeInIt:
There are few more "global" timers in my gamemode, but not different than these in OnGameModeInIt.
Timers in OnGameModeInIt:
PHP код:
SetTimer("afkcheck", 1000, 0);
SetTimer("CheckBalon", 1500, true);
SetTimer("ObnovaBalicku", 7200000, true);
SetTimer("ObnovaWantedu", 600000, true);
SetTimer("Pocasi", 3600000, true);
SetTimer("Bedny", 1800000, true);
SetTimer("CheckBrana", 1500, true);
SetTimer("CheckKartac", 150, true);
SetTimer("CheckMicky", 1500, true);
SetTimer("DespawnVehicles", 3000, true);
SetTimer("ExportVeh", 3600000, true);
SetTimer("StartExportVeh", 1500, false);
SetTimer("Vysilac", 30000, true);
SetTimer("RandomZpravy", 600000, true);
SetTimer("SmazaniBodcu", 300000, true);
SetTimer("burglarcheck", 1500, true);
SetTimer("UzemiCheck", 1500, true);
SetTimer("CheckPlane", 1500, true);
SetTimer("CheckTime", 1500, true);
SetTimer("Check82", 1500, true);
SetTimer("Check83", 1500, true);
SetTimer("CheckCar", 10000, true);
SetTimer("SetCas", 1000, true);
SetTimer("AfkKick", 1500, true);
SetTimer("Vezeni2", 1500, true);
SetTimer("Timer", 1000, true);
SetTimer("FlasherFunc", 200, true);
SetTimer("MizeniPlosin", 1500, true);