Server has crashed
#1

EDIT: If you have the same problem, see here https://sampforum.blast.hk/showthread.php?tid=639742

In the last week every day my server crashes two-three times... The crashdetec plugin gives me this information:
Код:
[22:26:45] [debug] Server crashed while executing bgmod.amx
[22:26:45] [debug] AMX backtrace:
[22:26:45] [debug] #0 00000029 in ?? () at <unknown file>:0
[22:26:45] [debug] #1 00000029 in public FC_OnPlayerDisconnect () at <unknown file>:0
[22:26:45] [debug] #2 native CallLocalFunction () from samp03svr
[22:26:45] [debug] #3 0002efe4 in public SSCANF_OnPlayerDisconnect (playerid=16, reason=2) at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\fuckcleo.inc:219
[22:26:45] [debug] #4 00025e9c in ?? (... <2 arguments>) at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\sscanf2.inc:229
[22:26:45] [debug] #5 0001821c in public OnPlayerDisconnect (playerid=16, reason=2) at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\YSI\y_hooks/impl.inc:661
[22:26:45] [debug] #6 native Kick () from samp03svr
[22:26:45] [debug] #7 00304e6c in public GPD_OnDialogResponse (playerid=16, dialogid=2012, response=0, listitem=-1, inputtext[]=@0184c668 "") at C:\Users\Martin Ivanov\Desktop\server working\server working\gamemodes\bgmod.pwn:34476
[22:26:45] [debug] #8 native CallLocalFunction () from samp03svr
[22:26:45] [debug] #9 00030088 in ?? (... <5 arguments>) at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\GPDID.inc:54
[22:26:45] [debug] #10 0001bb1c in public OnDialogResponse (playerid=16, dialogid=2012, response=0, listitem=-1, inputtext[]=@0184c664 "") at C:\Users\Martin Ivanov\Desktop\server working\server working\pawno\include\YSI\y_hooks/impl.inc:2257
This line in gamemode is:
Код:
if(!response && playerid != INVALID_PLAYER_ID) return Kick(playerid);
The code around this line is:
Код:
if(dialogid == dlogin)
    {
    new string[100];
        if(!response && playerid != INVALID_PLAYER_ID) return Kick(playerid);
        if(response && playerid != INVALID_PLAYER_ID)
        {
            if(!strcmp(inputtext,pInfo[playerid][Pass]))
            {
                INI_ParseFile(Path(playerid),"loadaccount_%s",.bExtra = true, .extra = playerid);
                SetPlayerScore(playerid,pInfo[playerid][Scores]);
                SetPlayerCash(playerid,pInfo[playerid][Money]);
                LoadAccount(playerid);
Please can someone help me? Where is the problem?

Thanks in advance!
Reply


Messages In This Thread
Server has crashed - by martoivanov - 16.08.2017, 19:44
Re: Server has crashed - by HoussemGaming - 16.08.2017, 20:00
Re: Server has crashed - by martoivanov - 16.08.2017, 20:07
Re: Server has crashed - by HoussemGaming - 16.08.2017, 20:14
Re: Server has crashed - by martoivanov - 16.08.2017, 20:15
Re: Server has crashed - by martoivanov - 17.08.2017, 13:22
Re: Server has crashed - by JasonRiggs - 17.08.2017, 21:13
Re: Server has crashed - by martoivanov - 18.08.2017, 10:32
Re: Server has crashed - by TheCman - 18.08.2017, 14:15
Re: Server has crashed - by martoivanov - 18.08.2017, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)