CrashDetect
#1

Iv this in my crashdetect:
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
OnPlayerDisconnect:
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;
}
And what is :
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
Thanks !
Reply
#2

Compile with compiler flag -d3.
Reply
#3

Quote:
Originally Posted by MP2
View Post
Compile with compiler flag -d3.
It's already compiled what about the warning?
Reply
#4

Quote:
Originally Posted by SPA
View Post
It's already compiled what about the warning?
That code is not compiled with the -d3 flag.
Reply
#5

What is that
Code:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          13836 bytes
Code size:           606916 bytes
Data size:         17638692 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:18275828 bytes
If wasnt how to ?
Reply
#6

Oh, well the crashdetect debug information should be more detailed if you compiled with d3..
Reply
#7

It's kind of rare, but it sometimes happens and there's nothing you can do if you get that the line 108 from float.inc crashed the server. It's like Print0 bug in the past with the same line and include.

If you don't use version 4.13 (latest), then it's better to update the plugin and hope it won't happen again.
Reply
#8

Quote:
Originally Posted by Konstantinos
View Post
It's kind of rare, but it sometimes happens and there's nothing you can do if you get that the line 108 from float.inc crashed the server. It's like Print0 bug in the past with the same line and include.

If you don't use version 4.13 (latest), then it's better to update the plugin and hope it won't happen again.
Which plugin iv to update?
Reply
#9

Quote:
Originally Posted by SPA
View Post
Which plugin iv to update?
I was talking about crashdetect plugin. If you don't use its latest version, then update it and it might give some information the next time if this happens.
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)