What making server crash? -
IamPuzo - 05.07.2016
All the plugins are latest and updated, but whats the reason that server not running?
Code:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©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] © 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.
Re: What making server crash? -
Alpay0098 - 05.07.2016
Check your private messages, Maybe I can help
EDIT: Don't post same thread. (
https://sampforum.blast.hk/showthread.php?tid=611369)
Re: What making server crash? -
IamPuzo - 05.07.2016
Whats crashing the server? All plugins are upto date.
Re: What making server crash? -
IamPuzo - 06.07.2016
BUMP*
Re: What making server crash? -
Mencent - 06.07.2016
Hello!
Try both plugins to get more information about the crash.
crashdetect:
https://sampforum.blast.hk/showthread.php?tid=262796
nativechecker:
https://sampforum.blast.hk/showthread.php?tid=249226
^=>
PHP Code:
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.
Re: What making server crash? -
IamPuzo - 06.07.2016
Well, following crashing the server but i am tired of fixing them, help!
Code:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©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] © 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 ?? ()
Re: What making server crash? -
Mencent - 06.07.2016
OK, no problem. For this we are here.
Can you send us your OnGameModeInit callback?
Re: What making server crash? -
IamPuzo - 06.07.2016
from zcmd.inc (51)
Code:
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)
Code:
public OnGameModeInit()
{
IRC_g_OUS = funcidx("IRC_OUS") != -1;
if (funcidx("IRC_OnGameModeInit") != -1)
{
return CallLocalFunction("IRC_OnGameModeInit", ""); //this line (200)
}
return 1;
}
Re: What making server crash? -
Mencent - 06.07.2016
PHP Code:
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:
Re: What making server crash? -
IamPuzo - 06.07.2016
Still same problem.
Code:
[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