|
Load crashdetect plugin: https://github.com/Zeex/samp-plugin-...es/tag/v4.13.1
|
|
If the server crashes, crashdetect will print information about it in the console/server log with [debug] prefix. Those information can help you to find the problem and fix it.
|
[14:46:52] [chat] [Christopher_John]: s``/q [14:46:53] [debug] Server crashed while executing PHRP_V1.2.amx [14:46:53] [debug] AMX backtrace: [14:46:53] [debug] #0 native SetPlayerName () [e7d3fe10] from sscanf.so [14:46:53] [debug] #1 0004b4f0 in public Audio_OnPlayerDisconnect (0x00000001, 0x00000001) from PHRP_V1.2.amx [14:46:53] [debug] #2 native CallLocalFunction () [080dbf60] from samp912240 [14:46:53] [debug] #3 00010e64 in public SSCANF_OnPlayerDisconnect (0x00000001, 0x00000001) from PHRP_V1.2.amx [14:46:53] [debug] #4 native CallLocalFunction () [080dbf60] from samp912240 [14:46:53] [debug] #5 0000aedc in public Itter_OnPlayerDisconnect (0x00000001, 0x00000001) from PHRP_V1.2.amx [14:46:53] [debug] #6 native CallLocalFunction () [080dbf60] from samp912240 [14:46:53] [debug] #7 00001460 in public Streamer_OnPlayerDisconnect (0x00000001, 0x00000001) from PHRP_V1.2.amx [14:46:53] [debug] #8 0000061c in public OnPlayerDisconnect (0x00000001, 0x00000001) from PHRP_V1.2.amx [14:46:54] [debug] Native backtrace: [14:46:54] [debug] #0 e7d2909b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [14:46:54] [debug] #1 e7d242d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [14:46:54] [debug] #2 e7d24ebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [14:46:54] [debug] #3 e7d25366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [14:46:54] [debug] #4 e7d28cec in ?? () from plugins/crashdetect.so [14:46:54] [debug] #5 e8105410 in ?? () [14:46:54] [debug] #6 080d2a57 in ?? () from samp912240 [14:46:54] [debug] #7 080d4865 in ?? () from samp912240 [14:46:54] [debug] #8 e7d3fed7 in ?? () from plugins/sscanf.so [14:46:54] [debug] #9 08093d84 in ?? () from samp912240 [14:46:54] [debug] #10 e7d21b9c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [14:46:54] [debug] #11 e7d27d38 in ?? () from plugins/crashdetect.so [14:46:54] [debug] #12 e7d2e1f8 in amx_Exec () from plugins/crashdetect.so [14:46:54] [debug] #13 e7d24218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [14:46:54] [debug] #14 e7d27aa9 in ?? () from plugins/crashdetect.so [14:46:54] [debug] #15 080dc202 in ?? () from samp912240 [14:46:54] [debug] #16 08093d84 in ?? () from samp912240 [14:46:54] [debug] #17 e7d21b9c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [14:46:54] [debug] #18 e7d27d38 in ?? () from plugins/crashdetect.so [14:46:54] [debug] #19 e7d2e1f8 in amx_Exec () from plugins/crashdetect.so [14:46:54] [debug] #20 e7d24218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [14:46:54] [debug] #21 e7d27aa9 in ?? () from plugins/crashdetect.so [14:46:54] [debug] #22 080dc202 in ?? () from samp912240 [14:46:54] [debug] #23 08093d84 in ?? () from samp912240 [14:46:54] [debug] #24 e7d21b9c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [14:46:54] [debug] #25 e7d27d38 in ?? () from plugins/crashdetect.so [14:46:54] [debug] #26 e7d2e1f8 in amx_Exec () from plugins/crashdetect.so [14:46:54] [debug] #27 e7d24218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [14:46:54] [debug] #28 e7d27aa9 in ?? () from plugins/crashdetect.so [14:46:54] [debug] #29 080dc202 in ?? () from samp912240 [14:46:54] [debug] #30 08093d84 in ?? () from samp912240 [14:46:54] [debug] #31 e7d21b9c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [14:46:54] [debug] #32 e7d27d38 in ?? () from plugins/crashdetect.so [14:46:54] [debug] #33 e7d2e1f8 in amx_Exec () from plugins/crashdetect.so [14:46:54] [debug] #34 e7d24218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [14:46:54] [debug] #35 e7d27aa9 in ?? () from plugins/crashdetect.so [14:46:54] [debug] #36 080a38ba in ?? () from samp912240 [14:46:54] [debug] #37 080cdc11 in ?? () from samp912240 [14:46:54] [debug] #38 080ab487 in ?? () from samp912240 [14:46:54] [debug] #39 080acd60 in ?? () from samp912240 [14:46:54] [debug] #40 080acda2 in ?? () from samp912240 [14:46:54] [debug] #41 080a81ae in ?? () from samp912240 [14:46:54] [debug] #42 e7e5fe46 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [14:46:54] [debug] #43 0804b4a1 in ?? () from samp912240
|
According to the logs, SetPlayerName (from OnPlayerDisconnect callback) crashed your server. If the 'name' parameter is null, the server will crash. So find the line and check if the new name is not null and then set the name.
|
|
OMG.. THANK YOU ALOT!!! THANKS THANKS THANKS THANKS THANKS THANKS THANKS THANKS THANKS THANKSTHANKS THANKS THANKS THANKS THANKSTHANKS THANKS THANKS THANKS THANKSTHANKS THANKS THANKS THANKS THANKSTHANKS THANKS THANKS THANKS THANKSTHANKS THANKS THANKS THANKS THANKSTHANKS THANKS THANKS THANKS THANKSTHANKS THANKS THANKS THANKS THANKS
|