04.04.2016, 03:50
Please Help Me I Am Getting These Errors In My Server Log Please Help Me
Errors Are
Please Help Me Fixing Then All
Here Is My ONPLAYERDISCONNECT
Errors Are
Код:
[17:36:38] Number of vehicle models: 35 [17:51:28] [connection] 117.243.182.73:27081 requests connection cookie. [17:51:29] [connection] incoming connection: 117.243.182.73:27081 id: 0 [17:51:31] [join] Anurag has joined the server (0:117.243.182.73) [17:52:25] [debug] Server crashed while executing cod8aawv1.1.amx [17:52:25] [debug] AMX backtrace: [17:52:25] [debug] #0 native KillTimer () from fixes2.so [17:52:25] [debug] #1 00059420 in public Itter_OnPlayerDisconnect (0, 0) from cod8aawv1.1.amx [17:52:25] [debug] #2 native CallLocalFunction () from samp03svr [17:52:25] [debug] #3 0000cbb0 in public SSCANF_OnPlayerDisconnect (0, 0) from cod8aawv1.1.amx [17:52:25] [debug] #4 native CallLocalFunction () from samp03svr [17:52:25] [debug] #5 00006b48 in public FC_OnPlayerDisconnect (0, 0) from cod8aawv1.1.amx [17:52:25] [debug] #6 native CallLocalFunction () from samp03svr [17:52:25] [debug] #7 000035b0 in public OnPlayerDisconnect (0, 0) from cod8aawv1.1.amx [17:52:25] [debug] Native backtrace: [17:52:25] [debug] #0 00723e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [17:52:25] [debug] #1 0071cbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [17:52:25] [debug] #2 0071ddbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [17:52:25] [debug] #3 0071e226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [17:52:25] [debug] #4 00723adc in ?? () from plugins/crashdetect.so [17:52:25] [debug] #5 00a9a410 in ?? () [17:52:25] [debug] #6 00a1b5af in ?? () from plugins/fixes2.so [17:52:25] [debug] #7 080950e4 in ?? () from ./samp03svr [17:52:25] [debug] #8 0071f94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [17:52:25] [debug] #9 007228f8 in ?? () from plugins/crashdetect.so [17:52:25] [debug] #10 00726916 in amx_Exec () from plugins/crashdetect.so [17:52:25] [debug] #11 0071ebe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [17:52:25] [debug] #12 00722659 in ?? () from plugins/crashdetect.so [17:52:25] [debug] #13 00df988a in ?? () from plugins/streamer.so [17:52:25] [debug] #14 080dfd62 in ?? () from ./samp03svr [17:52:25] [debug] #15 080950e4 in ?? () from ./samp03svr [17:52:25] [debug] #16 0071f94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [17:52:25] [debug] #17 007228f8 in ?? () from plugins/crashdetect.so [17:52:25] [debug] #18 00726916 in amx_Exec () from plugins/crashdetect.so [17:52:25] [debug] #19 0071ebe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [17:52:25] [debug] #20 00722659 in ?? () from plugins/crashdetect.so [17:52:25] [debug] #21 00df988a in ?? () from plugins/streamer.so [17:52:25] [debug] #22 080dfd62 in ?? () from ./samp03svr [17:52:25] [debug] #23 080950e4 in ?? () from ./samp03svr [17:52:25] [debug] #24 0071f94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [17:52:25] [debug] #25 007228f8 in ?? () from plugins/crashdetect.so [17:52:25] [debug] #26 00726916 in amx_Exec () from plugins/crashdetect.so [17:52:25] [debug] #27 0071ebe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [17:52:25] [debug] #28 00722659 in ?? () from plugins/crashdetect.so [17:52:25] [debug] #29 00df988a in ?? () from plugins/streamer.so [17:52:25] [debug] #30 080dfd62 in ?? () from ./samp03svr [17:52:25] [debug] #31 080950e4 in ?? () from ./samp03svr [17:52:25] [debug] #32 0071f94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [17:52:25] [debug] #33 007228f8 in ?? () from plugins/crashdetect.so [17:52:25] [debug] #34 00726916 in amx_Exec () from plugins/crashdetect.so [17:52:25] [debug] #35 0071ebe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [17:52:25] [debug] #36 00722659 in ?? () from plugins/crashdetect.so [17:52:25] [debug] #37 00df988a in ?? () from plugins/streamer.so [17:52:25] [debug] #38 080a523a in ?? () from ./samp03svr [17:52:25] [debug] #39 080d0b31 in ?? () from ./samp03svr [17:52:25] [debug] #40 080ad684 in ?? () from ./samp03svr [17:52:25] [debug] #41 080aee02 in ?? () from ./samp03svr [17:52:25] [debug] #42 080aef02 in ?? () from ./samp03svr [17:52:25] [debug] #43 080aa13a in ?? () from ./samp03svr [17:52:25] [debug] #44 00586d36 in __libc_start_main () from /lib/libc.so.6 [17:52:25] [debug] #45 0804b4e1 in ?? () from ./samp03svr [17:52:41] [connection] 117.243.182.73:27148 requests connection cookie. [17:52:47] [connection] 117.243.182.73:27149 requests connection cookie. [17:53:30] [connection] 117.243.182.73:27125 requests connection cookie. [17:54:01] Kicking 117.243.182.73 because they didn't logon to the game.
Here Is My ONPLAYERDISCONNECT
Код:
public OnPlayerDisconnect(playerid, reason) { if(DuelActive == true && Dueling[playerid] == true) { DuelActive = false; Dueling[Duelist[playerid]] = false; Duelist[Duelist[playerid]] = -1; WinningPrice = 0; } format(MessageStrl6, 170, MessageStrl5); format(MessageStrl5, 170, MessageStrl4); format(MessageStrl4, 170, MessageStrl3); format(MessageStrl3, 170, MessageStrl2); format(MessageStrl2, 170, MessageStr); new name[MAX_PLAYER_NAME+1]; GetPlayerName(playerid, name, sizeof(name)); // getting the player name switch(reason) //switching reasons { case 0: format(MessageStr,sizeof MessageStr,"~r~[LEFT]~w~%s(~r~%d~w~) has ~r~left ~w~the server.", name, playerid); case 1: format(MessageStr,sizeof MessageStr,"~r~[LEFT]~w~%s(~r~%d~w~) was ~r~timeout.", name, playerid); case 2: format(MessageStr,sizeof MessageStr,"~r~[LEFT]~w~%s(~r~%d~w~) was ~r~kicked/banned.", name, playerid); } new STR[510]; //creating a new string to merge the 3 strings into a one 3 lines string format(STR, sizeof(STR), "%s~n~%s~n~%s~n~%s~n~%s~n~%s", MessageStrl6,MessageStrl5,MessageStrl4,MessageStrl3, MessageStrl2, MessageStr); //formatting the newly created string TextDrawSetString(Message, STR); //showing it on the screen TextDrawHideForPlayer(playerid, TeamText[playerid]); TextDrawSetString(TeamText[playerid]," "); TextDrawHideForPlayer(playerid, Rank1[playerid]); TextDrawHideForPlayer(playerid, CountText[playerid]); Streak[playerid] = 0; rconAttempts[playerid] = 0; LastPm[playerid] = -1; Update3DTextLabelText(RankLabel[playerid], 0xFFFFFFFF, " "); TextDrawHideForPlayer(playerid, Web); TextDrawHideForPlayer(playerid, A); TextDrawHideForPlayer(playerid, A2); TextDrawHideForPlayer(playerid, Tur); TextDrawHideForPlayer(playerid, ML); TextDrawHideForPlayer(playerid, U); TextDrawHideForPlayer(playerid, S); TextDrawHideForPlayer(playerid, StartLogo); /*TextDrawHideForPlayer(playerid, startbox); TextDrawHideForPlayer(playerid, welcome); TextDrawHideForPlayer(playerid, to); TextDrawHideForPlayer(playerid, advance); TextDrawHideForPlayer(playerid, copyright);*/ //----------------------------------------------------- UpdateTimer[playerid] = KillTimer(UpdateTimer[playerid]); SetPVarInt(playerid,"LastID",-1); new PlayerName[MAX_PLAYER_NAME]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); if(PlayerInfo[playerid][LoggedIn] == 1) SavePlayer(playerid); if(udb_Exists(PlayerName2(playerid))) dUserSetINT(PlayerName2(playerid)).("loggedin",0); PlayerInfo[playerid][LoggedIn] = 0; PlayerInfo[playerid][Level] = 0; PlayerInfo[playerid][Jailed] = 0; PlayerInfo[playerid][Frozen] = 0; if(PlayerInfo[playerid][Jailed] == 1) KillTimer( JailTimer[playerid] ); if(PlayerInfo[playerid][Frozen] == 1) KillTimer( FreezeTimer[playerid] ); if(ServerInfo[Locked] == 1) KillTimer( LockKickTimer[playerid] ); if(PlayerInfo[playerid][pCar] != -1) CarDeleter(PlayerInfo[playerid][pCar]); //========================================================================== if(Captured[playerid][SNAKE] == 0 && IsPlayerCapturing[playerid][SNAKE] == 1) { LeavingSnakeFarm(playerid); } if(Captured[playerid][BAY] == 0 && IsPlayerCapturing[playerid][BAY] == 1) { LeavingBay(playerid); } if(Captured[playerid][BIG] == 0 && IsPlayerCapturing[playerid][BIG] == 1) { LeavingEar(playerid); } if(Captured[playerid][ARMY] == 0 && IsPlayerCapturing[playerid][ARMY] == 1) { LeavingArmy(playerid); } if(Captured[playerid][PETROL] == 0 && IsPlayerCapturing[playerid][PETROL] == 1) { LeavingPetrol(playerid); } if(Captured[playerid][OIL] == 0 && IsPlayerCapturing[playerid][OIL] == 1) { LeavingOil(playerid); } if(Captured[playerid][DESERT] == 0 && IsPlayerCapturing[playerid][DESERT] == 1) { LeavingDesert(playerid); } if(Captured[playerid][QUARRY] == 0 && IsPlayerCapturing[playerid][QUARRY] == 1) { LeavingQuarry(playerid); } if(Captured[playerid][GUEST] == 0 && IsPlayerCapturing[playerid][GUEST] == 1) { LeavingGuest(playerid); } if(Captured[playerid][EAR] == 0 && IsPlayerCapturing[playerid][EAR] == 1) { LeavingEar(playerid); } if(Captured[playerid][AIRPORT] == 0 && IsPlayerCapturing[playerid][AIRPORT] == 1) { LeavingAirport(playerid); } if(Captured[playerid][SHIP] == 0 && IsPlayerCapturing[playerid][SHIP] == 1) { LeavingShip(playerid); } if(Captured[playerid][GAS] == 0 && IsPlayerCapturing[playerid][GAS] == 1) { LeavingGas(playerid); } if(Captured[playerid][RES] == 0 && IsPlayerCapturing[playerid][RES] == 1) { LeavingRes(playerid); } /*if(Captured[playerid][NPP] == 0 && IsPlayerCapturing[playerid][NPP] == 1) { LeavingNuclear(playerid); }*/ if(Captured[playerid][MOTEL] == 0 && IsPlayerCapturing[playerid][MOTEL] == 1) { LeavingMOTEL(playerid); } if(Captured[playerid][BATTLESHIP] == 0 && IsPlayerCapturing[playerid][BATTLESHIP] == 1) { LeavingBattleShip(playerid); } if(Captured[playerid][HOSPITAL] == 0 && IsPlayerCapturing[playerid][HOSPITAL] == 1) { LeavingHospital(playerid); } //========================================================================== #if defined ENABLE_SPEC for(new x=0; x<MAX_PLAYERS; x++) if(GetPlayerState(x) == PLAYER_STATE_SPECTATING && PlayerInfo[x][SpecID] == playerid) AdvanceSpectate(x); #endif return 1; }