16.08.2017, 19:44
(
Последний раз редактировалось martoivanov; 27.08.2017 в 11:30.
)
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:
This line in gamemode is:
The code around this line is:
Please can someone help me? Where is the problem?
Thanks in advance!
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
Код:
if(!response && playerid != INVALID_PLAYER_ID) return Kick(playerid);
Код:
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);
Thanks in advance!