[11:23:02] [debug] Server crashed while executing bgmod.amx [11:23:02] [debug] AMX backtrace: [11:23:02] [debug] #0 00000029 in ?? () at <unknown file>:0 [11:23:02] [debug] #1 00000029 in public FC_OnPlayerDisconnect () at <unknown file>:0 [11:23:02] [debug] #2 native CallLocalFunction () from samp03svr [11:23:02] [debug] #3 0002efe4 in public SSCANF_OnPlayerDisconnect (playerid=10, reason=2) at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\fuckcleo.inc:219 [11:23:02] [debug] #4 00025e9c in ?? (... <2 arguments>) at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\sscanf2.inc:229 [11:23:02] [debug] #5 0001821c in public OnPlayerDisconnect (playerid=10, reason=2) at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\YSI\y_hooks/impl.inc:661 [11:23:02] [debug] #6 native Kick () from samp03svr [11:23:02] [debug] #7 0032f310 in public OnPlayerCleoDetected (playerid=10, cleoid=4) at C:\Users\Martin Ivanov\Desktop\server working\server working\gamemodes\bgmod.pwn:36757 [11:23:02] [debug] #8 native CallLocalFunction () from samp03svr [11:23:02] [debug] #9 0002eb68 in ?? (... <1 argument>) at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\fuckcleo.inc:193 [11:23:02] [debug] #10 0001b320 in public OnPlayerUpdate (playerid=10) at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\YSI\y_hooks/impl.inc:2038
It's on the filterscript being called...
It somewhat does not work well with your gamemode OnPlayerDisconnect... I am also assuming that you are using many includes and filterscript... This scripts might not have the same compiled versions of includes and plugins that is why they can't coexist... Recompiling these filterscripts and updating this includes to the latest or just the acquire the includes that fits what includes and plugins you use on your gamemode.. i.e is your fuckcleo.inc It might use a somewhat old function or native from the old sscanf2.inc that the gamemode does not recognize since it's compiled and uses a later sscanf2.inc and plugin... Other than that nothing much I can say |
OnPlayerUpdate, and more..
It clearly tells you where the errors are. "in public OnPlayer", fix the errors by ctrl+g line id. |
[19:36:28] [debug] Server crashed while executing bgmod.amx [19:36:28] [debug] AMX backtrace: [19:36:28] [debug] #0 00000029 in ?? () at <unknown file>:0 [19:36:28] [debug] #1 00000029 in public OnPlayerDisconnect () at <unknown file>:0 [19:36:28] [debug] #2 native Kick () from samp03svr [19:36:28] [debug] #3 002d089c in public GPD_OnDialogResponse (playerid=21, dialogid=4, response=0, listitem=-1, inputtext[]=@01840d6c "") at C:\Users\Martin Ivanov\Desktop\server working\server working\gamemodes\bgmod.pwn:28296 [19:36:28] [debug] #4 native CallLocalFunction () from samp03svr [19:36:28] [debug] #5 0002d7a8 in ?? (... <5 arguments>) at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\GPDID.inc:54 [19:36:28] [debug] #6 0001bac8 in public OnDialogResponse (playerid=21, dialogid=4, response=0, listitem=-1, inputtext[]=@01840d68 "") at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\YSI\y_hooks/impl.inc:2257
public OnPlayerDisconnect(playerid, reason) { AntiDeAMX(); new var0[80]; new year, month, day; getdate(year, month, day); new string[128]; format(string, sizeof(string), "%i/%i/%i", month, day, year); switch(reason) { case 0: format(var0, 100, "{FFFFFF}%s[ID:%i] {E60000}излезе от сървъра. {FFFFFF}(Crash)", PlayerName(playerid), playerid); case 1: format(var0, 100, "{FFFFFF}%s[ID:%i] {E60000}излезе от сървъра. {FFFFFF}(Leave)", PlayerName(playerid), playerid); case 2: format(var0, 100, "{FFFFFF}%s[ID:%i] {E60000}беше кикнат от сървъра. {FFFFFF}(Kick)", PlayerName(playerid), playerid); } SendClientMessageToAll(0xFFFF00AA, var0); if(logged[playerid] == 1) { GetPlayerWeaponData(playerid, 0, pInfo[playerid][Weapon0], pInfo[playerid][Ammo0]); GetPlayerWeaponData(playerid, 1, pInfo[playerid][Weapon1], pInfo[playerid][Ammo1]); GetPlayerWeaponData(playerid, 2, pInfo[playerid][Weapon2], pInfo[playerid][Ammo2]); GetPlayerWeaponData(playerid, 3, pInfo[playerid][Weapon3], pInfo[playerid][Ammo3]); GetPlayerWeaponData(playerid, 4, pInfo[playerid][Weapon4], pInfo[playerid][Ammo4]); GetPlayerWeaponData(playerid, 5, pInfo[playerid][Weapon5], pInfo[playerid][Ammo5]); GetPlayerWeaponData(playerid, 6, pInfo[playerid][Weapon6], pInfo[playerid][Ammo6]); GetPlayerWeaponData(playerid, 7, pInfo[playerid][Weapon7], pInfo[playerid][Ammo7]); GetPlayerWeaponData(playerid, 8, pInfo[playerid][Weapon8], pInfo[playerid][Ammo8]); GetPlayerWeaponData(playerid, 9, pInfo[playerid][Weapon9], pInfo[playerid][Ammo9]); GetPlayerWeaponData(playerid, 10, pInfo[playerid][Weapon10], pInfo[playerid][Ammo10]); GetPlayerWeaponData(playerid, 11, pInfo[playerid][Weapon11], pInfo[playerid][Ammo11]); GetPlayerWeaponData(playerid, 12, pInfo[playerid][Weapon12], pInfo[playerid][Ammo12]); new INI:file = INI_Open(Path(playerid)); INI_SetTag(file,"Player's Data"); INI_WriteString(file,"Password",pInfo[playerid][Pass]); INI_WriteInt(file,"Adminlevel",pInfo[playerid][Adminlevel]); INI_WriteInt(file,"VIPlevel",pInfo[playerid][VIPlevel]); INI_WriteInt(file,"Money",GetPlayerMoney(playerid)); INI_WriteInt(file,"Scores",GetPlayerScore(playerid)); INI_WriteInt(file,"Kills",pInfo[playerid][Kills]); INI_WriteInt(file,"Deaths",pInfo[playerid][Deaths]); INI_WriteInt(file, "Skin", pInfo[playerid][Skin]); INI_WriteInt(file,"Weapon0",pInfo[playerid][Weapon0]); INI_WriteInt(file,"Ammo0",pInfo[playerid][Ammo0]); INI_WriteInt(file,"Weapon1",pInfo[playerid][Weapon1]); INI_WriteInt(file,"Ammo1",pInfo[playerid][Ammo1]); INI_WriteInt(file,"Weapon2",pInfo[playerid][Weapon2]); INI_WriteInt(file,"Ammo2",pInfo[playerid][Ammo2]); INI_WriteInt(file,"Weapon3",pInfo[playerid][Weapon3]); INI_WriteInt(file,"Ammo3",pInfo[playerid][Ammo3]); INI_WriteInt(file,"Weapon4",pInfo[playerid][Weapon4]); INI_WriteInt(file,"Ammo4",pInfo[playerid][Ammo4]); INI_WriteInt(file,"Weapon5",pInfo[playerid][Weapon5]); INI_WriteInt(file,"Ammo5",pInfo[playerid][Ammo5]); INI_WriteInt(file,"Weapon6",pInfo[playerid][Weapon6]); INI_WriteInt(file,"Ammo6",pInfo[playerid][Ammo6]); INI_WriteInt(file,"Weapon7",pInfo[playerid][Weapon7]); INI_WriteInt(file,"Ammo7",pInfo[playerid][Ammo7]); INI_WriteInt(file,"Weapon8",pInfo[playerid][Weapon8]); INI_WriteInt(file,"Ammo8",pInfo[playerid][Ammo8]); INI_WriteInt(file,"Weapon9",pInfo[playerid][Weapon9]); INI_WriteInt(file,"Ammo9",pInfo[playerid][Ammo9]); INI_WriteInt(file,"Weapon10",pInfo[playerid][Weapon10]); INI_WriteInt(file,"Ammo10",pInfo[playerid][Ammo10]); INI_WriteInt(file,"Weapon11",pInfo[playerid][Weapon11]); INI_WriteInt(file,"Ammo11",pInfo[playerid][Ammo11]); INI_WriteInt(file,"Weapon12",pInfo[playerid][Weapon12]); INI_WriteInt(file,"Ammo12",pInfo[playerid][Ammo12]); INI_WriteInt(file,"Warnings",pInfo[playerid][Warnings]); INI_WriteInt(file,"Banned",pInfo[playerid][Banned]); INI_WriteInt(file,"Muted",pInfo[playerid][Muted]); INI_WriteInt(file,"tMuted",pInfo[playerid][tMuted]); INI_WriteInt(file,"Jail",pInfo[playerid][Jail]); INI_WriteInt(file,"JailTime",pInfo[playerid][JailTime]); INI_WriteString(file,"IP",pInfo[playerid][IP]); INI_WriteInt(file,"BizID",pInfo[playerid][BizID]); INI_WriteInt(file,"AWarnings",pInfo[playerid][AWarnings]); INI_WriteInt(file,"reset1",pInfo[playerid][reset1]); INI_WriteString(file,"LastOnline",string); INI_Close(file); SaveAccount(playerid); SaveUserDrugStats(playerid); } /*if(pInfo[playerid][BizID] != 0) { new id; pInfo[playerid][BizID] = id; SaveBusiness(id); return 1; } }*/ if(Dueling[playerid] == true && Duelist[playerid] >=0 && Duelist[playerid] <=200) { if(IsPlayerConnected(Duelist[playerid])) { DuelActive = false; Dueling[Duelist[playerid]] = false; Dueling[playerid] = false; WinningPrice = 0; pInfo[Duelist[playerid]][Money] = GetPlayerMoney(Duelist[playerid]); SpawnPlayer(Duelist[playerid]); } } if(InDerby[playerid] == 1) { PlayersInDerby -= 1; InDerby[playerid] = 0; DeletePVar(playerid, "DERBY"); DestroyVehicle(DerbyVehicles[playerid]); SetPlayerVirtualWorld(playerid,0); if(PlayersInDerby == 1) { for(new i=0;i<MAX_PLAYERS;i++) { if(InDerby[i] == 1 && i != INVALID_PLAYER_ID ) { InDerby[i] = 0; format(string, sizeof(string), "%s е победител на DERBY! Поздравления! Получава $500 000 + 10 точки!", PlayerName(i)); SendClientMessageToAll(0x00FFFFFF, string); DestroyVehicle(DerbyVehicles[i]); SetPlayerScore(i,GetPlayerScore(i)+10); pInfo[i][Scores] = GetPlayerScore(i); GivePlayerCash(i, 500000); SetPlayerVirtualWorld(i,0); DeletePVar(i, "DERBY"); pInfo[i][Money] = GetPlayerMoney(i); SpawnPlayer(i); enablederby=0; } } DerbyGame = NON_DERBY; DerbyStarted = false; PlayersInDerby = 0; } } inDM[playerid] = 0; indm1[playerid] = 0; indm2[playerid] = 0; indm3[playerid] = 0; indm4[playerid] = 0; indm5[playerid] = 0; indm6[playerid] = 0; indm7[playerid] = 0; FRod[playerid] = 0; Fishing[playerid] =0; Bait[playerid] = 0; FLine[playerid] = 0; SetPVarInt(playerid, "laser", 0); RemovePlayerAttachedObject(playerid, 0); Delete3DTextLabel(PlayerLabel); if(IsTowTrucker[playerid]==1) { IsTowTrucker[playerid]=0; TowTruckers--; } if(CreatedRamp[playerid] == true) DestroyObject(Ramp[playerid]), CreatedRamp[playerid] = false; CreatedRamp[playerid] = false; Enabled[playerid]=0; Pers[playerid]=0; RemoveNeons(playerid); if(GangHide[playerid] == 0) return Delete3DTextLabel(label[playerid]); if(grider[playerid][0]){ DestroyObject(grider[playerid][0]); DestroyObject(grider[playerid][1]); DestroyObject(grider[playerid][2]); grider[playerid][0] = 0; } if(Joined[playerid] == true) { JoinCount--; Joined[playerid] = false; DeletePVar(playerid, "DERBY"); DestroyVehicle(CreatedRaceVeh[playerid]); DisablePlayerRaceCheckpoint(playerid); CPProgess[playerid] = 0; SetPlayerVirtualWorld(playerid, 0); } return 1; }
[15:40:07] [debug] Server crashed due to an unknown error [15:40:07] [debug] Native backtrace: [15:40:07] [debug] #0 b746c180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so [15:40:07] [debug] #1 b7464064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so [15:40:07] [debug] #2 b7464d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so [15:40:07] [debug] #3 b7466cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so [15:40:07] [debug] #4 b746b4d5 in ?? () from plugins/crashdetect.so [15:40:07] [debug] #5 b77b7600 in ?? () [15:40:07] [debug] #6 b77b7420 in ?? () [15:40:07] [debug] #7 b74c2337 in gsignal () from /lib32/libc.so.6 [15:40:07] [debug] #8 b74c56a3 in abort () from /lib32/libc.so.6 [15:40:07] [debug] #9 b74fcc23 in ?? () from /lib32/libc.so.6 [15:40:07] [debug] #10 b750704a in ?? () from /lib32/libc.so.6 [15:40:07] [debug] #11 b7507cad in ?? () from /lib32/libc.so.6 [15:40:07] [debug] #12 b76ec9df in _ZdlPv () from /usr/lib32/libstdc++.so.6 [15:40:07] [debug] #13 b76eca2b in _ZdaPv () from /usr/lib32/libstdc++.so.6 [15:40:07] [debug] #14 0807fef7 in ?? () from samp03svr [15:40:07] [debug] #15 0808013d in ?? () from samp03svr [15:40:07] [debug] #16 08074c3a in ?? () from samp03svr [15:40:07] [debug] #17 080763fe in ?? () from samp03svr [15:40:07] [debug] #18 b7793f59 in ?? () from /lib32/libpthread.so.0 [15:40:07] [debug] #19 b757e4de in clone () from /lib32/libc.so.6 [15:40:07] [debug] Registers: [15:40:07] [debug] EAX: 00000000 EBX: 000033f9 ECX: 000033fd EDX: 00000006 [15:40:07] [debug] ESI: 0000005f EDI: b763c000 EBP: b72ced18 ESP: b72cea54 [15:40:07] [debug] EIP: b77b7420 EFLAGS: 00000296 [15:40:07] [debug] Stack: [15:40:07] [debug] ESP+00000000: b72ced18 00000006 000033fd b74c2337 [15:40:07] [debug] ESP+00000020: b72cea84 00000000 00000000 00000000 [15:40:07] [debug] ESP+00000040: 00000000 00000000 00000000 00000000 [15:40:07] [debug] ESP+00000060: 00000000 00000000 00000000 00000000 [15:40:07] [debug] ESP+00000080: 00000000 00000000 00000000 00000000 [15:40:07] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000 [15:40:07] [debug] ESP+000000c0: b5300040 00000060 00000218 00000000 [15:40:07] [debug] ESP+000000e0: 00000005 b72cebc8 b750a3b1 00000000 [15:40:07] [debug] ESP+00000100: b7785000 00000005 b76eea47 00000005 [15:40:07] [debug] ESP+00000120: 00000000 00000005 00000000 00000003 [15:40:07] [debug] ESP+00000140: b763c000 00000007 b74fcc23 00000002 [15:40:07] [debug] ESP+00000160: 00000000 b27035e8 00000000 b75f77d0 [15:40:07] [debug] ESP+00000180: 00000003 b75f7994 00000023 b75f77e5 [15:40:07] [debug] ESP+000001a0: 00000005 0000000c 09868f30 00000017 [15:40:07] [debug] ESP+000001c0: 00000005 b72cec30 0808caf5 ec647b5d [15:40:07] [debug] ESP+000001e0: 00000008 b72cec50 b72ceca0 b72ceef8 [15:40:07] [debug] ESP+00000200: 00000004 b72cec70 00000000 b72cec90 [15:40:07] [debug] ESP+00000220: 00000023 b72cec90 00000010 ec647b5d [15:40:07] [debug] ESP+00000240: 00000003 b72cecb0 00000000 08f4e7a2 [15:40:07] [debug] ESP+00000260: 0000001a b72cecd0 b72ced28 00000902 [15:40:07] [debug] ESP+00000280: 0000000e 00000000 08083c46 b72fee62 [15:40:07] [debug] ESP+000002a0: 0000005f 0000005f 00000007 5fb5278a [15:40:07] [debug] ESP+000002c0: b75f32a9 b72cee98 b750704a 00000001 [15:40:07] [debug] ESP+000002e0: 00000401 b72cee84 b75f7994 00000000 [15:40:07] [debug] ESP+00000300: 0b109ff0 00000000 b7507cad 0b109ff0 [15:40:07] [debug] ESP+00000320: b72feee0 b72cedc8 0804d493 00000000 [15:40:07] [debug] ESP+00000340: b75c506f 00000008 0804d6de 0944ba56 [15:40:07] [debug] ESP+00000360: 00000001 01000005 b7785000 b72fee26 [15:40:07] [debug] ESP+00000380: 0b109ff0 00000001 00000001 b72fee7a [15:40:07] [debug] ESP+000003a0: b72f0008 041203ed b72feee0 b72fee26 [15:40:07] [debug] ESP+000003c0: b72feee0 b2764058 0000000a 00000000 [15:40:07] [debug] ESP+000003e0: 25114d4d 00000004 b7785000 b7307116 [15:40:07] [debug] Loaded modules: [15:40:07] [debug] 00000000 - 00187dc3 samp03svr [15:40:07] [debug] b77b9000 - b77b9704 [15:40:07] [debug] b77a9000 - b77ab81b /lib32/libdl.so.2 [15:40:07] [debug] b778d000 - b77a805f /lib32/libpthread.so.0 [15:40:07] [debug] b76a4000 - b77938ae /usr/lib32/libstdc++.so.6 [15:40:07] [debug] b765e000 - b76a2f93 /lib32/libm.so.6 [15:40:07] [debug] b7641000 - b765ce44 /usr/lib32/libgcc_s.so.1 [15:40:07] [debug] b7494000 - b7647ec7 /lib32/libc.so.6 [15:40:07] [debug] b77b8000 - b77d8e14 /lib/ld-linux.so.2 [15:40:07] [debug] b744e000 - b7490ac4 plugins/crashdetect.so [15:40:07] [debug] b7390000 - b744e39a plugins/streamer.so [15:40:07] [debug] b7380000 - b738713b /lib32/librt.so.1 [15:40:07] [debug] b7370000 - b737f1d4 plugins/sscanf.so [15:40:07] [debug] b72ee000 - b72f8fdf /lib32/libnss_files.so.2 [15:40:07] [debug] b72e7000 - b72eb8b7 /lib32/libnss_dns.so.2 [15:40:07] [debug] b72d0000 - b72e63cf /lib32/libresolv.so.2
new LocalVariable[8];
for(new i; i < 8; i++)
{
LocalVariable[i];
}
//filterscript side
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
{
SetPlayerHealth(playerid, 100.0);
}
return 1;
}
//gamemode side
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
{
SetPlayerHealth(playerid, 0.0);
}
return 1;
}
[19:20:20] [debug] Server crashed while executing bgmod.amx [19:20:20] [debug] AMX backtrace: [19:20:20] [debug] #0 00000029 in ?? () at <unknown file>:0 [19:20:20] [debug] #1 00000029 in public OnPlayerDisconnect () at <unknown file>:0 [19:20:20] [debug] #2 native Kick () from samp03svr [19:20:20] [debug] #3 0030d1b8 in public GPD_OnDialogResponse (playerid=17, dialogid=4, response=0, listitem=-1, inputtext[]=@01883f68 "") at C:\Users\Martin Ivanov\Desktop\server working\server working\gamemodes\bgmod.pwn:28613 [19:20:20] [debug] #4 native CallLocalFunction () from samp03svr [19:20:20] [debug] #5 0005d6ac in public OnDialogResponse (playerid=17, dialogid=4, response=0, listitem=-1, inputtext[]=@01883f64 "") at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\GPDID.inc:54