Try using crashdetect plugin and see the log after server restarts, see if anything useful got printed.
|
[12:10:51] 1956.050048, 1039.329956, 992.409973, -1.000000, -1.000000, -1.000000 [12:10:53] 1956.050048, 1039.329956, 992.409973, -1.000000, -1.000000, -1.000000 [12:10:54] [debug] Server crashed while executing lsrp.amx [12:10:54] [debug] AMX backtrace: [12:10:54] [debug] #0 native fclose () from samp03svr [12:10:54] [debug] #1 00017160 in ?? (228483804, 230488540) from lsrp.amx [12:10:54] [debug] #2 000581d0 in public GPD_OnDialogResponse (0, 4200, 1, -1, 230234276) from lsrp.amx [12:10:54] [debug] #3 native CallLocalFunction () from samp03svr [12:10:54] [debug] #4 0001215c in public OnDialogResponse (0, 4200, 1, -1, 230234256) from lsrp.amx [12:10:54] [debug] Native backtrace: [12:10:54] [debug] #0 b4e68e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [12:10:54] [debug] #1 b4e61bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [12:10:54] [debug] #2 b4e62dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [12:10:54] [debug] #3 b4e63226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [12:10:54] [debug] #4 b4e68adc in ?? () from plugins/crashdetect.so [12:10:54] [debug] #5 b77fd600 in ?? () [12:10:54] [debug] #6 b77fd405 in ?? () [12:10:54] [debug] #7 b7489297 in gsignal () from /lib/libc.so.6 [12:10:54] [debug] #8 b748ab69 in abort () from /lib/libc.so.6 [12:10:54] [debug] #9 b74c8e0e in ?? () from /lib/libc.so.6 [12:10:54] [debug] #10 b74d0406 in ?? () from /lib/libc.so.6 [12:10:54] [debug] #11 b74d4676 in cfree () from /lib/libc.so.6 [12:10:54] [debug] #12 b74bf028 in fclose () from /lib/libc.so.6 [12:10:54] [debug] #13 0809bd64 in ?? () from ./samp03svr [12:10:54] [debug] #14 080950e4 in ?? () from ./samp03svr [12:10:54] [debug] #15 b4e6494b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [12:10:54] [debug] #16 b4e678f8 in ?? () from plugins/crashdetect.so [12:10:54] [debug] #17 b4e6b916 in amx_Exec () from plugins/crashdetect.so [12:10:54] [debug] #18 b4e63be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [12:10:54] [debug] #19 b4e67659 in ?? () from plugins/crashdetect.so [12:10:54] [debug] #20 b4a7c88a in ?? () from plugins/streamer.so [12:10:54] [debug] #21 080dfd62 in ?? () from ./samp03svr [12:10:54] [debug] #22 080950e4 in ?? () from ./samp03svr [12:10:54] [debug] #23 b4e6494b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [12:10:54] [debug] #24 b4e678f8 in ?? () from plugins/crashdetect.so [12:10:54] [debug] #25 b4e6b916 in amx_Exec () from plugins/crashdetect.so [12:10:54] [debug] #26 b4e63be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [12:10:54] [debug] #27 b4e67659 in ?? () from plugins/crashdetect.so [12:10:54] [debug] #28 b4a7c88a in ?? () from plugins/streamer.so [12:10:54] [debug] #29 080a682f in ?? () from ./samp03svr [12:10:54] [debug] #30 080b2c44 in ?? () from ./samp03svr [12:10:54] [debug] #31 08071d38 in ?? () from ./samp03svr [12:10:54] [debug] #32 08071e32 in ?? () from ./samp03svr [12:10:54] [debug] #33 0807bc50 in ?? () from ./samp03svr [12:10:54] [debug] #34 080aed3d in ?? () from ./samp03svr [12:10:54] [debug] #35 080aef02 in ?? () from ./samp03svr [12:10:54] [debug] #36 080aa13a in ?? () from ./samp03svr [12:10:54] [debug] #37 b7473e7e in __libc_start_main () from /lib/libc.so.6
case DIALOG_CGAMESBUYINPOKER: { if(response) { if(strval(inputtext) < PokerTable[GetPVarInt(playerid, "pkrTableID")-1][pkrBuyInMin] || strval(inputtext) > PokerTable[GetPVarInt(playerid, "pkrTableID")-1][pkrBuyInMax] || strval(inputtext) > GetPVarInt(playerid, "cgChips")) { return ShowCasinoGamesMenu(playerid, DIALOG_CGAMESBUYINPOKER); } PokerTable[GetPVarInt(playerid, "pkrTableID")-1][pkrActivePlayers]++; SetPVarInt(playerid, "pkrChips", GetPVarInt(playerid, "pkrChips")+strval(inputtext)); SetPVarInt(playerid, "cgChips", GetPVarInt(playerid, "cgChips")-strval(inputtext)); format(string, sizeof(string), "%s (IP:%s) has bought in with the amount of $%s (%d)", GetPlayerNameEx(playerid), GetPlayerIpEx(playerid), number_format(GetPVarInt(playerid, "pkrChips")), GetPVarInt(playerid, "pkrTableID")-1); Log("logs/poker.log", string); if(PokerTable[GetPVarInt(playerid, "pkrTableID")-1][pkrActive] == 3 && PokerTable[GetPVarInt(playerid, "pkrTableID")-1][pkrRound] == 0 && PokerTable[GetPVarInt(playerid, "pkrTableID")-1][pkrDelay] >= 2) { SetPVarInt(playerid, "pkrStatus", 1); } else if(PokerTable[GetPVarInt(playerid, "pkrTableID")-1][pkrActive] < 3) { SetPVarInt(playerid, "pkrStatus", 1); } if(PokerTable[GetPVarInt(playerid, "pkrTableID")-1][pkrActive] == 1 && GetPVarInt(playerid, "pkrRoomLeader")) { PokerTable[GetPVarInt(playerid, "pkrTableID")-1][pkrActive] = 2; SelectTextDraw(playerid, COLOR_YELLOW); } } else { return LeavePokerTable(playerid); } }