Org
Умник
Здравствуйте. Возникла проблема при перезагрузке сервера, он просто ложиться.
Не понимаю почему,мод на MySQL, если же в выключении присутствует mysql_close <- то сервер не выдаёт никаких сообщений и ложиться сразу.
Убираю эту функцию сервер перезагружается,но не включается выдавая :
Сама команда:
Буду очень благодарен за помощь,плюсиками закидаю)
Не понимаю почему,мод на MySQL, если же в выключении присутствует mysql_close <- то сервер не выдаёт никаких сообщений и ложиться сразу.
Убираю эту функцию сервер перезагружается,но не включается выдавая :
PHP:
[07:28:31] [debug] Server crashed while executing new.amx
[07:28:31] [debug] AMX backtrace:
[07:28:31] [debug] #0 native fputchar () from samp03svr
[07:28:31] [debug] #1 00121a70 in ?? (896480, 1291752) from new.amx
[07:28:31] [debug] #2 0001169c in public SSCANF_OnPlayerDisconnect (0, 1) from new.amx
[07:28:31] [debug] #3 00002c44 in public Itter_OnPlayerDisconnect (0, 1) from new.amx
[07:28:31] [debug] #4 native CallLocalFunction () from samp03svr
[07:28:31] [debug] #5 000024b4 in public anim__OnPlayerDisconnect (0, 1) from new.amx
[07:28:31] [debug] #6 000003bc in public OnPlayerDisconnect (0, 1) from new.amx
[07:28:31] [debug] Native backtrace:
[07:28:31] [debug] #0 f7434e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[07:28:31] [debug] #1 f742dbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[07:28:31] [debug] #2 f742edbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[07:28:31] [debug] #3 f742f226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[07:28:31] [debug] #4 f7434adc in ?? () from plugins/crashdetect.so
[07:28:31] [debug] #5 f7711420 in ?? ()
[07:28:31] [debug] #6 f74bd9a0 in fputc () from /lib32/libc.so.6
[07:28:31] [debug] #7 0809c012 in ?? () from ./samp03svr
[07:28:31] [debug] #8 080950b4 in ?? () from ./samp03svr
[07:28:31] [debug] #9 f743094b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:28:31] [debug] #10 f74338f8 in ?? () from plugins/crashdetect.so
[07:28:31] [debug] #11 f7437916 in amx_Exec () from plugins/crashdetect.so
[07:28:31] [debug] #12 f742fbe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:28:31] [debug] #13 f7433659 in ?? () from plugins/crashdetect.so
[07:28:31] [debug] #14 f736ef4a in ?? () from plugins/streamer.so
[07:28:31] [debug] #15 080df762 in ?? () from ./samp03svr
[07:28:31] [debug] #16 080950b4 in ?? () from ./samp03svr
[07:28:31] [debug] #17 f743094b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:28:31] [debug] #18 f74338f8 in ?? () from plugins/crashdetect.so
[07:28:31] [debug] #19 f7437916 in amx_Exec () from plugins/crashdetect.so
[07:28:31] [debug] #20 f742fbe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:28:31] [debug] #21 f7433659 in ?? () from plugins/crashdetect.so
[07:28:31] [debug] #22 f736ef4a in ?? () from plugins/streamer.so
[07:28:31] [debug] #23 080a508a in ?? () from ./samp03svr
[07:28:31] [debug] #24 080d1268 in ?? () from ./samp03svr
[07:28:31] [debug] #25 080ab955 in ?? () from ./samp03svr
[07:28:31] [debug] #26 080a9f6f in ?? () from ./samp03svr
[07:28:31] [debug] #27 f746fe46 in __libc_start_main () from /lib32/libc.so.6
[07:28:31] [debug] #28 0804b4e1 in ?? () from ./samp03svr
Сама команда:
PHP:
if(strcmp(cmd, "/gmx", true) == 0) { if(PlayerInfo[playerid][pGLADM] == 0) return SCM(playerid,RED_COLOR,NoAdmin); SendClientMessageToAll(ADMIN_COLOR,"Сервер перезагружается..."); GameTextForAll("~r~RESTART",5000,3); foreach(new i : Player) { if(IsPlayerConnected(i)) { PlayerSave(i); } } SendRconCommand("gmx"); return true; }
