19.08.2018, 16:10
is better than fixes2?
IsValidTimer(_:ExampleTimer)
Hey,
i don't know what i meet this problem, but if the server is running for like a day (24 hours and more) there are several timers stop working. Especially 2 timers. I have a timer to update drug plant status. The timer will crash without any reasons, the same goes for gang zones. Both timers are started at OnGameModeInit. Drugtimer = every 60000ms and Gangzonestimer = every 3600000ms. There is no message in server log. Both timers work great if server is starting. |
[plugin.timerfix] error: cannot execute callback with name "Malloc_SolidifyTimer"
[plugin.timerfix] error: cannot execute callback with name "Malloc_SolidifyTimer" |
SA-MP Dedicated Server ---------------------- v0.3.7-R2, ©2005-2015 SA-MP Team [15:34:02] [15:34:02] Server Plugins [15:34:02] -------------- [15:34:02] Loading plugin: crashdetect.so [15:34:02] CrashDetect v4.15.1 is OK. [15:34:02] Loaded. [15:34:02] Loading plugin: timerfix.so [15:34:02] Timer Fix plugin v1.05 by KashCherry loaded. [15:34:02] Loaded. [15:34:02] Loading plugin: mysql_static.so [15:34:02] >> plugin.mysql: R34 successfully loaded. [15:34:02] Loaded. [15:34:02] Loading plugin: Whirlpool.so [15:34:02] [15:34:02] ================== [15:34:02] [15:34:02] Whirlpool loaded [15:34:02] [15:34:02] ================== [15:34:02] [15:34:02] Loaded. [15:34:02] Loading plugin: sscanf.so [15:34:02] [15:34:02] =============================== [15:34:02] sscanf plugin loaded. [15:34:02] Version: 2.8.1 [15:34:02] © 2012 Alex "******" Cole [15:34:02] =============================== [15:34:02] Loaded. [15:34:02] Loading plugin: streamer.so [15:34:02] *** Streamer Plugin v2.9.3 by Incognito loaded *** [15:34:02] Loaded. [15:34:02] Loading plugin: pawncmd.so [15:34:02] Pawn.CMD plugin v3.2.0 by urShadow has been loaded [15:34:02] Loaded. [15:34:02] Loaded 7 plugins. [15:34:02] [15:34:02] Filterscripts [15:34:02] --------------- [15:34:02] Loading filterscript 'GYM.amx'... [15:34:02] [debug] Server crashed due to an unknown error [15:34:02] [debug] Native backtrace: [15:34:02] [debug] #0 f73e5e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [15:34:02] [debug] #1 f73debcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [15:34:02] [debug] #2 f73dfdbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [15:34:02] [debug] #3 f73e0226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [15:34:02] [debug] #4 f73e5adc in ?? () from plugins/crashdetect.so [15:34:02] [debug] #5 f7749410 in ?? () [15:34:02] [debug] #6 f7749430 in ?? () [15:34:02] [debug] #7 f7439137 in gsignal () from /lib/libc.so.6 [15:34:02] [debug] #8 f743a973 in abort () from /lib/libc.so.6 [15:34:02] [debug] #9 f747ae15 in ?? () from /lib/libc.so.6 [15:34:02] [debug] #10 f74838ad in ?? () from /lib/libc.so.6 [15:34:02] [debug] #11 f767baef in _ZdlPv () from /lib/libstdc++.so.6 [15:34:02] [debug] #12 f72de6e9 in _ZN4Hook5ApplyEP6tagAMX () from plugins/timerfix.so [15:34:02] [debug] #13 f72df80f in AmxLoad () from plugins/timerfix.so [15:34:02] [debug] #14 080d1c89 in ?? () from ./samp03svr [15:34:02] [debug] #15 080a1261 in ?? () from ./samp03svr [15:34:02] [debug] #16 080ab601 in ?? () from ./samp03svr [15:34:02] [debug] #17 080aba0b in ?? () from ./samp03svr [15:34:02] [debug] #18 080aa0fd in ?? () from ./samp03svr [15:34:02] [debug] #19 f74241b3 in __libc_start_main () from /lib/libc.so.6 [15:34:02] [debug] #20 0804b4e1 in ?? () from ./samp03svr
When I put this plugin on my server the timers are freezing. I put the include in the script + the plugin.
When I run the gamemode with crashdetect I got this: Код:
SA-MP Dedicated Server ---------------------- v0.3.7-R2, ©2005-2015 SA-MP Team [15:34:02] [15:34:02] Server Plugins [15:34:02] -------------- [15:34:02] Loading plugin: crashdetect.so [15:34:02] CrashDetect v4.15.1 is OK. [15:34:02] Loaded. [15:34:02] Loading plugin: timerfix.so [15:34:02] Timer Fix plugin v1.05 by KashCherry loaded. [15:34:02] Loaded. [15:34:02] Loading plugin: mysql_static.so [15:34:02] >> plugin.mysql: R34 successfully loaded. [15:34:02] Loaded. [15:34:02] Loading plugin: Whirlpool.so [15:34:02] [15:34:02] ================== [15:34:02] [15:34:02] Whirlpool loaded [15:34:02] [15:34:02] ================== [15:34:02] [15:34:02] Loaded. [15:34:02] Loading plugin: sscanf.so [15:34:02] [15:34:02] =============================== [15:34:02] sscanf plugin loaded. [15:34:02] Version: 2.8.1 [15:34:02] © 2012 Alex "Y_Less" Cole [15:34:02] =============================== [15:34:02] Loaded. [15:34:02] Loading plugin: streamer.so [15:34:02] *** Streamer Plugin v2.9.3 by Incognito loaded *** [15:34:02] Loaded. [15:34:02] Loading plugin: pawncmd.so [15:34:02] Pawn.CMD plugin v3.2.0 by urShadow has been loaded [15:34:02] Loaded. [15:34:02] Loaded 7 plugins. [15:34:02] [15:34:02] Filterscripts [15:34:02] --------------- [15:34:02] Loading filterscript 'GYM.amx'... [15:34:02] [debug] Server crashed due to an unknown error [15:34:02] [debug] Native backtrace: [15:34:02] [debug] #0 f73e5e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [15:34:02] [debug] #1 f73debcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [15:34:02] [debug] #2 f73dfdbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [15:34:02] [debug] #3 f73e0226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [15:34:02] [debug] #4 f73e5adc in ?? () from plugins/crashdetect.so [15:34:02] [debug] #5 f7749410 in ?? () [15:34:02] [debug] #6 f7749430 in ?? () [15:34:02] [debug] #7 f7439137 in gsignal () from /lib/libc.so.6 [15:34:02] [debug] #8 f743a973 in abort () from /lib/libc.so.6 [15:34:02] [debug] #9 f747ae15 in ?? () from /lib/libc.so.6 [15:34:02] [debug] #10 f74838ad in ?? () from /lib/libc.so.6 [15:34:02] [debug] #11 f767baef in _ZdlPv () from /lib/libstdc++.so.6 [15:34:02] [debug] #12 f72de6e9 in _ZN4Hook5ApplyEP6tagAMX () from plugins/timerfix.so [15:34:02] [debug] #13 f72df80f in AmxLoad () from plugins/timerfix.so [15:34:02] [debug] #14 080d1c89 in ?? () from ./samp03svr [15:34:02] [debug] #15 080a1261 in ?? () from ./samp03svr [15:34:02] [debug] #16 080ab601 in ?? () from ./samp03svr [15:34:02] [debug] #17 080aba0b in ?? () from ./samp03svr [15:34:02] [debug] #18 080aa0fd in ?? () from ./samp03svr [15:34:02] [debug] #19 f74241b3 in __libc_start_main () from /lib/libc.so.6 [15:34:02] [debug] #20 0804b4e1 in ?? () from ./samp03svr UPDATE: After I removed all filterscripts from my server the plugin is working, but after I added the necessary fs to the server again, the timers are working slow, like 5 seconds are gone and then 2 seconds to go -1 on the timer. This is really strange becouse I have tried with some fs who don't use timers. Video: yt.com/watch?v=wCnbSGuT2ow ALSO I have a question: I heard that some timer fixes plugins(not this one) are going crazy after ~20 days. I need to know if someone tested this timer plugin and got no problem with timers going "crazy". Thanks |