PDA

View Full Version : What making server crash?


IamPuzo
05/07/2016, 04:09 PM
All the plugins are latest and updated, but whats the reason that server not running?
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[21:01:56]
[21:01:56] Server Plugins
[21:01:56] --------------
[21:01:56] Loading plugin: streamer
[21:01:56]

Streamer Plugin v2.8.2 by Incognito loaded

[21:01:56] Loaded.
[21:01:56] Loading plugin: irc
[21:01:56]

IRC Plugin v1.4.8 by Incognito loaded

[21:01:56] Loaded.
[21:01:56] Loading plugin: sscanf
[21:01:56]

[21:01:56] ===============================

[21:01:56] sscanf plugin loaded.

[21:01:56] Version: 2.8.2

[21:01:56] (c) 2012 Alex "******" Cole

[21:01:56] ===============================

[21:01:56] Loaded.
[21:01:56] Loading plugin: nativechecker
[21:01:56] Loaded.
[21:01:56] Loaded 4 plugins.

[21:01:56]
[21:01:56] Ban list
[21:01:56] --------
[21:01:56] Loaded: samp.ban
[21:01:56]
[21:01:56]
[21:01:56] Filterscripts
[21:01:56] ---------------
[21:01:56] Loading filterscript 'lspd.amx'...
[21:01:56] Loaded 1 filterscripts.

[21:01:57] Gates loaded successfully.
[21:01:57] ATMs loaded successfully.
[21:01:57] Teleports loaded successfully.

Alpay0098
05/07/2016, 04:11 PM
Check your private messages, Maybe I can help
EDIT: Don't post same thread. (http://forum.sa-mp.com/showthread.php?t=611369)

IamPuzo
05/07/2016, 04:48 PM
Whats crashing the server? All plugins are upto date.

IamPuzo
06/07/2016, 06:07 AM
BUMP*

Mencent
06/07/2016, 07:14 AM
Hello!

Try both plugins to get more information about the crash.

crashdetect: http://forum.sa-mp.com/showthread.php?t=262796
nativechecker: http://forum.sa-mp.com/showthread.php?t=249226
^=> IMPORTANT: In order to make it work correcly you must put it in the end of the plugins line of your server.cfg so it will be the last one, e.g. plugins sscanf streamer nativechecker.

IamPuzo
06/07/2016, 08:27 AM
Well, following crashing the server but i am tired of fixing them, help!
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[13:24:13]
[13:24:13] Server Plugins
[13:24:13] --------------
[13:24:13] Loading plugin: sscanf
[13:24:13]

[13:24:13] ===============================

[13:24:13] sscanf plugin loaded.

[13:24:13] Version: 2.8.2

[13:24:13] (c) 2012 Alex "******" Cole

[13:24:13] ===============================

[13:24:13] Loaded.
[13:24:13] Loading plugin: crashdetect
[13:24:13] CrashDetect v4.15.1 is OK.
[13:24:13] Loaded.
[13:24:13] Loading plugin: streamer
[13:24:13]

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[13:24:13] Loaded.
[13:24:13] Loading plugin: irc
[13:24:13]

*** IRC Plugin v1.4.8 by Incognito loaded ***

[13:24:13] Loaded.
[13:24:13] Loading plugin: nativechecker
[13:24:13] Loaded.
[13:24:13] Loaded 5 plugins.

[13:24:13]
[13:24:13] Ban list
[13:24:13] --------
[13:24:13] Loaded: samp.ban
[13:24:13]
[13:24:13]
[13:24:13] Filterscripts
[13:24:13] ---------------
[13:24:13] Loading filterscript 'lspd.amx'...
[13:24:13] Loaded 1 filterscripts.

[13:24:15] Gates loaded successfully.
[13:24:15] ATMs loaded successfully.
[13:24:15] Teleports loaded successfully.
[13:24:15] [debug] Server crashed while executing AdvGames.amx
[13:24:15] [debug] AMX backtrace:
[13:24:15] [debug] #0 native fclose () from samp-server.exe
[13:24:15] [debug] #1 00005e54 in ?? (8562988) from AdvGames.amx
[13:24:15] [debug] #2 00160a80 in ?? () from AdvGames.amx
[13:24:15] [debug] #3 00125608 in public zcmd_OnGameModeInit () from AdvGames.amx
[13:24:15] [debug] #4 native CallLocalFunction () from samp-server.exe
[13:24:15] [debug] #5 0000d154 in public IRC_OnGameModeInit () from AdvGames.amx
[13:24:15] [debug] #6 native CallLocalFunction () from samp-server.exe
[13:24:15] [debug] #7 0000cd1c in public OnGameModeInit () from AdvGames.amx
[13:24:15] [debug] Native backtrace:
[13:24:15] [debug] #0 0049939b in ?? () from samp-server.exe
[13:24:15] [debug] #1 004056cd in ?? () from samp-server.exe
[13:24:15] [debug] #2 709162ca in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #3 70918b28 in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #4 709109c7 in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #5 7091631a in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #6 708a4509 in ?? () from plugins\streamer.DLL
[13:24:15] [debug] #7 004746be in ?? () from samp-server.exe
[13:24:15] [debug] #8 004010b6 in ?? () from samp-server.exe
[13:24:15] [debug] #9 709162ca in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #10 70918b28 in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #11 709109c7 in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #12 7091631a in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #13 708a4509 in ?? () from plugins\streamer.DLL
[13:24:15] [debug] #14 004746be in ?? () from samp-server.exe
[13:24:15] [debug] #15 004010b6 in ?? () from samp-server.exe
[13:24:15] [debug] #16 709162ca in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #17 70918b28 in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #18 709109c7 in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #19 7091631a in ?? () from plugins\crashdetect.DLL
[13:24:15] [debug] #20 708a4509 in ?? () from plugins\streamer.DLL
[13:24:15] [debug] #21 0046f654 in ?? () from samp-server.exe
[13:24:15] [debug] #22 65646f6d in ?? () from samp-server.exe
[13:24:15] [debug] #23 64412f73 in ?? () from samp-server.exe
[13:24:15] [debug] #24 6d614776 in ?? () from samp-server.exe
[13:24:15] [debug] #25 022bce00 in ?? ()

Mencent
06/07/2016, 08:31 AM
OK, no problem. For this we are here. ;)

Can you send us your OnGameModeInit callback?

IamPuzo
06/07/2016, 08:51 AM
from zcmd.inc (51)
public OnGameModeInit()
{
zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1;
zcmd_g_HasOPCE = funcidx("OnPlayerCommandPerformed") != -1;
if (funcidx("zcmd_OnGameModeInit") != -1)
{
return CallLocalFunction("zcmd_OnGameModeInit", ""); //this line (51)
}
return 1;
}
from irc.inc (line 200)
public OnGameModeInit()
{
IRC_g_OUS = funcidx("IRC_OUS") != -1;
if (funcidx("IRC_OnGameModeInit") != -1)
{
return CallLocalFunction("IRC_OnGameModeInit", ""); //this line (200)
}
return 1;
}

Mencent
06/07/2016, 08:54 AM
public OnGameModeInit()
{
zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1;
zcmd_g_HasOPCE = funcidx("OnPlayerCommandPerformed") != -1;
if (funcidx("zcmd_OnGameModeInit") != -1)
{
return CallLocalFunction("zcmd_OnGameModeInit", "_"); //this line (51)
}
return 1;
}

public OnGameModeInit()
{
IRC_g_OUS = funcidx("IRC_OUS") != -1;
if (funcidx("IRC_OnGameModeInit") != -1)
{
return CallLocalFunction("IRC_OnGameModeInit", "_"); //this line (200)
}
return 1;
}

Does it work like this?

I think this was the mistake:
http://www2.pic-upload.de/img/31130400/Unbenannt.png

IamPuzo
06/07/2016, 09:02 AM
Still same problem.
[14:00:02] [debug] Server crashed while executing AdvGames.amx
[14:00:02] [debug] AMX backtrace:
[14:00:02] [debug] #0 native fclose () from samp-server.exe
[14:00:02] [debug] #1 00005e54 in ?? (8562988) from AdvGames.amx
[14:00:02] [debug] #2 00160a80 in ?? () from AdvGames.amx
[14:00:02] [debug] #3 00125608 in public zcmd_OnGameModeInit () from AdvGames.amx
[14:00:02] [debug] #4 native CallLocalFunction () from samp-server.exe
[14:00:02] [debug] #5 0000d154 in public IRC_OnGameModeInit () from AdvGames.amx
[14:00:02] [debug] #6 native CallLocalFunction () from samp-server.exe
[14:00:02] [debug] #7 0000cd1c in public OnGameModeInit () from AdvGames.amx
[14:00:02] [debug] Native backtrace:
[14:00:02] [debug] #0 0049939b in ?? () from samp-server.exe
[14:00:02] [debug] #1 004056cd in ?? () from samp-server.exe
[14:00:02] [debug] #2 709162ca in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #3 70918b28 in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #4 709109c7 in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #5 7091631a in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #6 708a4509 in ?? () from plugins\streamer.DLL
[14:00:02] [debug] #7 004746be in ?? () from samp-server.exe
[14:00:02] [debug] #8 004010b6 in ?? () from samp-server.exe
[14:00:02] [debug] #9 709162ca in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #10 70918b28 in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #11 709109c7 in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #12 7091631a in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #13 708a4509 in ?? () from plugins\streamer.DLL
[14:00:02] [debug] #14 004746be in ?? () from samp-server.exe
[14:00:02] [debug] #15 004010b6 in ?? () from samp-server.exe
[14:00:02] [debug] #16 709162ca in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #17 70918b28 in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #18 709109c7 in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #19 7091631a in ?? () from plugins\crashdetect.DLL
[14:00:02] [debug] #20 708a4509 in ?? () from plugins\streamer.DLL
[14:00:02] [debug] #21 0046f654 in ?? () from samp-server.exe
[14:00:02] [debug] #22 65646f6d in ?? () from samp-server.exe
[14:00:02] [debug] #23 64412f73 in ?? () from samp-server.exe
[14:00:02] [debug] #24 6d614776 in ?? () from samp-server.exe
[14:00:02] [debug] #25 612e7365 in ?? () from samp-server.exe

Mencent
06/07/2016, 09:03 AM
Can you send me your OnGameModeInit from "AdvGames.amx", please?

Rdx
06/07/2016, 09:05 AM
Im sure zcmd is not the reason, dont edit this lines. Paste your gamemode ongamemodeinit (advgames), not includes.

IamPuzo
06/07/2016, 09:28 AM
Server is running, thanks!