SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 05/07/2016, 04:09 PM   #1
IamPuzo
Little Clucker
 
Join Date: Feb 2016
Posts: 47
Reputation: 4
Default What making server crash?

All the plugins are latest and updated, but whats the reason that server not running?
Code:
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.
IamPuzo is offline   Reply With Quote
Old 05/07/2016, 04:11 PM   #2
Alpay0098
Huge Clucker
 
Alpay0098's Avatar
 
Join Date: Oct 2014
Location: Behind ya :o
Posts: 287
Reputation: 20
Default Re: What making server crash?

Check your private messages, Maybe I can help
EDIT: Don't post same thread. (http://forum.sa-mp.com/showthread.php?t=611369)
__________________
My works :
  • [FilterScript] Reconnect System Removed due to some reasons. P.M. me if you want it.
Alpay0098 is offline   Reply With Quote
Old 05/07/2016, 04:48 PM   #3
IamPuzo
Little Clucker
 
Join Date: Feb 2016
Posts: 47
Reputation: 4
Default Re: What making server crash?

Whats crashing the server? All plugins are upto date.
IamPuzo is offline   Reply With Quote
Old 06/07/2016, 06:07 AM   #4
IamPuzo
Little Clucker
 
Join Date: Feb 2016
Posts: 47
Reputation: 4
Default Re: What making server crash?

BUMP*
IamPuzo is offline   Reply With Quote
Old 06/07/2016, 07:14 AM   #5
Mencent
High-roller
 
Mencent's Avatar
 
Join Date: Mar 2015
Location: Lower Saxony (Niedersachsen)
Posts: 1,311
Reputation: 92
Default Re: What making server crash?

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
^=>
PHP Code:
IMPORTANTIn 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 onee.gplugins sscanf streamer nativechecker
__________________
Best wishes,
Mencent

(Sorry for my bad english, I hope you can understand this!)
Mencent is offline   Reply With Quote
Old 06/07/2016, 08:27 AM   #6
IamPuzo
Little Clucker
 
Join Date: Feb 2016
Posts: 47
Reputation: 4
Default Re: What making server crash?

Well, following crashing the server but i am tired of fixing them, help!
Code:
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 ?? ()
IamPuzo is offline   Reply With Quote
Old 06/07/2016, 08:31 AM   #7
Mencent
High-roller
 
Mencent's Avatar
 
Join Date: Mar 2015
Location: Lower Saxony (Niedersachsen)
Posts: 1,311
Reputation: 92
Default Re: What making server crash?

OK, no problem. For this we are here.

Can you send us your OnGameModeInit callback?
__________________
Best wishes,
Mencent

(Sorry for my bad english, I hope you can understand this!)
Mencent is offline   Reply With Quote
Old 06/07/2016, 08:51 AM   #8
IamPuzo
Little Clucker
 
Join Date: Feb 2016
Posts: 47
Reputation: 4
Default Re: What making server crash?

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;
}
IamPuzo is offline   Reply With Quote
Old 06/07/2016, 08:54 AM   #9
Mencent
High-roller
 
Mencent's Avatar
 
Join Date: Mar 2015
Location: Lower Saxony (Niedersachsen)
Posts: 1,311
Reputation: 92
Default Re: What making server crash?

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:
__________________
Best wishes,
Mencent

(Sorry for my bad english, I hope you can understand this!)
Mencent is offline   Reply With Quote
Old 06/07/2016, 09:02 AM   #10
IamPuzo
Little Clucker
 
Join Date: Feb 2016
Posts: 47
Reputation: 4
Default Re: What making server crash?

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
IamPuzo is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
String making server crash? Jing_Chan Scripting Help 0 23/01/2014 07:43 PM
Making the server crash.. :@ Brandon_More Scripting Help 1 01/06/2013 11:39 PM
SetTimerEx making server Crash dudaefj Scripting Help 1 05/01/2012 04:14 PM
/ar making server crash WG Chinn Help Archive 5 10/08/2011 12:18 AM
Command making my server crash Coicatak Help Archive 6 04/03/2009 09:35 AM


All times are GMT. The time now is 06:02 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.