Server keeps crashing randomly
#1

I've been editing a gamemode for quite some time now and I started to get random server crashes.

I've downloaded crashchecker plugin:

Quote:

[14:22:38] [debug] Server crashed while executing GMD.amx
[14:22:38] [debug] AMX backtrace:
[14:22:38] [debug] #0 native fwrite () [004056e0] from samp-server.exe
[14:22:38] [debug] #1 00002120 in ?? () from GMD.amx
[14:22:38] [debug] #2 00002390 in ?? () from GMD.amx
[14:22:38] [debug] #3 00057478 in ?? () from GMD.amx
[14:22:38] [debug] #4 0005a8d4 in public AutoSave () from GMD.amx
[14:22:38] [debug] System backtrace:
[14:22:38] [debug] #0 0040531e in ?? () from C:\Documents and Settings\DDD\Desktop\GMD\samp-server.exe

pawn Код:
public AutoSave(playerid)
{
        foreach (new i : Player)
        {
         if(PlayerDead[playerid] == 0)
         {
         Save(playerid,false);
         return 1;
         }
  }
  return 1;
}
Reply
#2

Well you have an unclosed bracket i think re-write the code and indent it properly.
Reply
#3

But the brackets are closed and indentation wouldn't crash the server.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)