Debug Crashdetect
#3

Quote:
Originally Posted by Nixtren
View Post
Hi,

Great! Now you should compile your GameMode in debug mode so CrashDetect can output more useful information (like the exact line on which the error occurs). To do so you need to pass the flag "-d3" to the Pawn compiler, you can easily do this by creating a "pawn.cfg" file inside the Pawno folder with the following contents:
Code:
-r -O0 -d3
After doing that, compile the GameMode, run the server and post the server log here again

Also, put here your OnPlayerTakeDamage, globalPlayerLoop2, SetPlayerUnjail and SaveData.
Code:
public SaveData()
{
        foreach(Player, x)
		{
			savePlayerData(x);
		}
		for(new xh = 0; xh < MAX_HOUSES; xh++)
		{
            saveHouse(xh);
		}
		for(new xf = 0; xf < MAX_GROUPS; xf++)
		{
            saveGroup(xf);
		}
		for(new xc = 0; xc < MAX_CLANS; xc++)
		{
            saveClan(xc);
		}
		for(new xf = 0; xf < MAX_BUSINESSES; xf++)
		{
            saveBusiness(xf);
		}
		for(new xf = 0; xf < MAX_ASSETS; xf++)
		{
            saveAsset(xf);
		}
		for(new ff = 0; ff < 613; ff++)
		{
            saveDealer(ff);
		}
}
Reply


Messages In This Thread
Debug Crashdetect - by Nin9r - 17.09.2015, 12:48
Re: Debug Crashdetect - by Nixtren - 17.09.2015, 13:06
Re: Debug Crashdetect - by Nin9r - 17.09.2015, 13:19
Re: Debug Crashdetect - by Nixtren - 17.09.2015, 13:25
Re: Debug Crashdetect - by Nin9r - 17.09.2015, 13:44
Re: Debug Crashdetect - by Nixtren - 17.09.2015, 13:46
Re: Debug Crashdetect - by Nin9r - 17.09.2015, 13:58
Re: Debug Crashdetect - by Nixtren - 17.09.2015, 14:01
Re: Debug Crashdetect - by Nin9r - 17.09.2015, 14:05
Re: Debug Crashdetect - by Nixtren - 17.09.2015, 14:18
Re: Debug Crashdetect - by Nin9r - 17.09.2015, 14:50
Re: Debug Crashdetect - by Nixtren - 17.09.2015, 14:52
Re: Debug Crashdetect - by Nin9r - 21.09.2015, 12:02

Forum Jump:


Users browsing this thread: 1 Guest(s)