19.02.2014, 11:46
Iv this in my crashdetect:
OnPlayerDisconnect:
And what is :
Thanks !
Code:
[13:30:29]+ [debug] Server crashed while executing JLadmin.amx [13:30:29]+ [debug] AMX backtrace: [13:30:29]+ [debug] #0 00000034 in ?? (str[]=@0x00000037 "", ... <13 arguments>) at C:\Users\MaHdy\Desktop\SPA Server original\pawno\include\float.inc:108 [13:30:29]+ [debug] #1 00000034 in public OnPlayerDisconnect () at C:\Users\MaHdy\Desktop\SPA Server original\pawno\include\float.inc:108
Code:
public OnPlayerDisconnect(playerid, reason)
{
#if LoginTextDraw == true
TextDrawHideForPlayer(playerid, TEXT_PASSWORD);
TextDrawHideForPlayer(playerid, TEXT_REGISTER);
TextDrawHideForPlayer(playerid, TEXT_REGISTERED);
#endif
#if SpecTextDraw == true
PlayerTextDrawHide(playerid, SpecPTD);
PlayerTextDrawDestroy(playerid, SpecPTD);
#endif
if(GetPVarInt(playerid,"MapHidden") == 1 || pInfo[playerid][NameTagHidden] == 1)
KillTimer(pHideTimer[playerid]);
if(pInfo[playerid][Jailed] == 1)
KillTimer(Jtimer[playerid]);
if(pInfo[playerid][Frozen] == 1)
KillTimer(Ftimer[playerid]);
if(pInfo[playerid][Muted] == 1)
KillTimer(Mtimer[playerid]);
if(pInfo[playerid][SpawnedCars] > 0)
{
for(new i=0; i<pInfo[playerid][SpawnedCars]; i++)
{
DestroyVehicle(pInfo[playerid][Cars][i]);
}
pInfo[playerid][SpawnedCars] = 0;
}
if(pInfo[playerid][Locked] == 1)
{
foreach(Player, i)
SetVehicleParamsForPlayer(GetPVarInt(playerid,"CarID"),i,false,false);
pInfo[playerid][Locked] = 0;
Delete3DTextLabel(vLocked3DT[playerid]);
}
if(pInfo[playerid][Registered] == 1 && pInfo[playerid][Logged] == 1)
SaveStatus(playerid);
if(reason == 0) format(Jstring, sizeof(Jstring), ">> %s(%d) has signed out [Reason: Crashed/Timeout]", GetName(playerid), playerid);
else if(reason == 2) format(Jstring, sizeof(Jstring), ">> %s(%d) has signed out [Reason: Kicked]", GetName(playerid), playerid);
else format(Jstring, sizeof(Jstring), ">> %s(%d) has signed out", GetName(playerid), playerid);
SendToAdmins(white,Jstring);
if(reconnect[playerid] == 1)
{
new
ip[16],
string[50]
;
GetPVarString(playerid, "MYIP", ip, 16);
format(string,sizeof(string),"unbanip %s", ip);
SendRconCommand(string);
reconnect[playerid] = 0;
}
foreach(Player, i)
{
if (Specid[i] == playerid && pInfo[i][Spec] == 1)
{
SpecNext(playerid);
GameTextForPlayerEx(playerid,"~G~Player ~R~Disconnected",2000,3);
}
}
return 1;
}
Code:
from PlayerId: 4 [21:49:38]+ Warning: PlayerDialogResponse crash exploit from PlayerId: 4 [21:49:38]+ Warning: PlayerDialogResponse crash exploit from PlayerId: 4 [21:49:38]+ Warning: PlayerDialogResponse crash exploit from PlayerId: 4 [21:49:38]+ Warning: PlayerDialogResponse crash exploit from PlayerId: 4 [21:49:38]+ Warning: PlayerDialogResponse crash exploit from PlayerId: 4 [21:49:38]+ Warning: PlayerDialogResponse crash exploit from PlayerId: 4 [21:49:38]+ Warning: PlayerDialogResponse crash exploit from PlayerId: 4



, but strange its not detected the line anyway thanks , im wondering about anti invailid vehicle crash , I think this crashed server