Server crashing on start up?
#1

Ok, so when I turn my server on I get this in the server log then it automatically closes, I have all latest includes and plugins and it doesn't seem to start on my system but when my mate launches and compiles the script on his PC and runs it is perfectly fine and I have all the same files as him.

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[15:41:09] filterscripts = ""  (string)
[15:41:09] 
[15:41:09] Server Plugins
[15:41:09] --------------
[15:41:09]  Loading plugin: crashdetect
[15:41:09]   CrashDetect v4.10.1 is OK.
[15:41:09]   Loaded.
[15:41:09]  Loading plugin: dns
[15:41:09] 

*** DNS Plugin v2.4 by Incognito loaded ***

[15:41:09]   Loaded.
[15:41:09]  Loading plugin: streamer
[15:41:09] 

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

[15:41:09]   Loaded.
[15:41:09]  Loading plugin: sscanf
[15:41:09] 

[15:41:09]  ===============================

[15:41:09]       sscanf plugin loaded.     

[15:41:09]          Version:  2.8.1        

[15:41:09]    © 2012 Alex "******" Cole  

[15:41:09]  ===============================

[15:41:09]   Loaded.
[15:41:09]  Loading plugin: mysql
[15:41:10]  >> plugin.mysql: R39-3 successfully loaded.
[15:41:10]   Loaded.
[15:41:10]  Loading plugin: Whirlpool
[15:41:10]  
[15:41:10]  ==================
[15:41:10]  
[15:41:10]   Whirlpool loaded
[15:41:10]  
[15:41:10]  ==================
[15:41:10]  
[15:41:10]   Loaded.
[15:41:10]  Loaded 6 plugins.

[15:41:10] 
[15:41:10] Filterscripts
[15:41:10] ---------------
[15:41:10]   Loaded 0 filterscripts.

[15:41:27] SUCCESS: Connected To MySQL!
[15:41:27] [debug] Server crashed while executing LC-RP.amx
[15:41:27] [debug] AMX backtrace:
[15:41:27] [debug] #0 native fclose () [004056f0] from samp-server.exe
[15:41:28] [debug] #1 000a7800 in ?? () from LC-RP.amx
[15:41:28] [debug] #2 00243f50 in public zcmd_OnGameModeInit () from LC-RP.amx
[15:41:28] [debug] #3 native CallLocalFunction () [00474110] from samp-server.exe
[15:41:28] [debug] #4 00007954 in ?? () from LC-RP.amx
[15:41:28] [debug] #5 00001cbc in public Iter_OnGameModeInit () from LC-RP.amx
[15:41:28] [debug] #6 native CallLocalFunction () [00474110] from samp-server.exe
[15:41:28] [debug] #7 00000c14 in public OnGameModeInit () from LC-RP.amx
[15:41:29] [debug] Native backtrace:
[15:41:29] [debug] #0 00497acb in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[15:41:29] [debug] #1 004056fd in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[15:41:29] [debug] #2 689a350a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #3 689a51a6 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #4 6899d641 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #5 689a355a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #6 687e51b9 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\streamer.DLL
[15:41:29] [debug] #7 0047441e in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[15:41:29] [debug] #8 004010b6 in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[15:41:29] [debug] #9 689a350a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #10 689a51a6 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #11 6899d641 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #12 689a355a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #13 687e51b9 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\streamer.DLL
[15:41:29] [debug] #14 0047441e in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[15:41:29] [debug] #15 004010b6 in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[15:41:29] [debug] #16 689a350a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #17 689a51a6 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #18 6899d641 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #19 689a355a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[15:41:29] [debug] #20 687e51b9 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\streamer.DLL
[15:41:29] [debug] #21 0046f504 in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[15:41:29] [debug] #22 65646f6d in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[15:41:29] [debug] #23 434c2f73 in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[15:41:29] [debug] #24 2e50522d in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[15:41:29] [debug] #25 00786d61 in ?? ()
Reply
#2

use the Crashdetect plugin and send the log again
Reply
#3

Quote:
Originally Posted by SacrificeGaming
Посмотреть сообщение
use the Crashdetect plugin and send the log again
crash detect plugin is working if you look.
Reply
#4

Код:
[15:41:27] [debug] AMX backtrace:
[15:41:27] [debug] #0 native fclose () [004056f0] from samp-server.exe
[15:41:28] [debug] #1 000a7800 in ?? () from LC-RP.amx
[15:41:28] [debug] #2 00243f50 in public zcmd_OnGameModeInit () from LC-RP.amx
It's crashing due to an invalid file handle. You should post here your OnGameModeInit so we can take a look at your code.
Reply
#5

http://pastebin.com/AmhefBTw
Reply
#6

Anyone?
Reply
#7

The error itself doesn't seem to be directly in OnGameModeInit, but on a function used by OnGameModeInit. You should compile your GameMode in debug mode so CrashDetect can output more useful information. To do so you need to pass the flag "-d3" to the Pawn compiler, you can easily do this by creating a "pawn.cfg" file inside the Pawno folder with the following contents:
Код:
-r -O0 -d3
After doing that, compile the GameMode, run the server and post the server log here again
Reply
#8

Still says the same.

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[13:35:48] filterscripts = ""  (string)
[13:35:48] 
[13:35:48] Server Plugins
[13:35:48] --------------
[13:35:48]  Loading plugin: crashdetect
[13:35:49]   CrashDetect v4.10.1 is OK.
[13:35:49]   Loaded.
[13:35:49]  Loading plugin: dns
[13:35:49] 

*** DNS Plugin v2.4 by Incognito loaded ***

[13:35:49]   Loaded.
[13:35:49]  Loading plugin: streamer
[13:35:50] 

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

[13:35:50]   Loaded.
[13:35:50]  Loading plugin: sscanf
[13:35:50] 

[13:35:50]  ===============================

[13:35:50]       sscanf plugin loaded.     

[13:35:50]          Version:  2.8.1        

[13:35:50]    © 2012 Alex "******" Cole  

[13:35:50]  ===============================

[13:35:50]   Loaded.
[13:35:50]  Loading plugin: mysql
[13:35:51]  >> plugin.mysql: R39-3 successfully loaded.
[13:35:51]   Loaded.
[13:35:51]  Loading plugin: Whirlpool
[13:35:51]  
[13:35:51]  ==================
[13:35:51]  
[13:35:51]   Whirlpool loaded
[13:35:51]  
[13:35:51]  ==================
[13:35:51]  
[13:35:51]   Loaded.
[13:35:51]  Loaded 6 plugins.

[13:35:51] 
[13:35:51] Filterscripts
[13:35:51] ---------------
[13:35:51]   Loaded 0 filterscripts.

[13:36:13] SUCCESS: Connected To MySQL!
[13:36:13] [debug] Server crashed while executing LC-RP.amx
[13:36:13] [debug] AMX backtrace:
[13:36:13] [debug] #0 native fclose () [004056f0] from samp-server.exe
[13:36:13] [debug] #1 000a7800 in ?? () from LC-RP.amx
[13:36:13] [debug] #2 00243f50 in public zcmd_OnGameModeInit () from LC-RP.amx
[13:36:13] [debug] #3 native CallLocalFunction () [00474110] from samp-server.exe
[13:36:13] [debug] #4 00007954 in ?? () from LC-RP.amx
[13:36:13] [debug] #5 00001cbc in public Iter_OnGameModeInit () from LC-RP.amx
[13:36:13] [debug] #6 native CallLocalFunction () [00474110] from samp-server.exe
[13:36:13] [debug] #7 00000c14 in public OnGameModeInit () from LC-RP.amx
[13:36:14] [debug] Native backtrace:
[13:36:14] [debug] #0 00497acb in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[13:36:14] [debug] #1 004056fd in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[13:36:14] [debug] #2 6991350a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #3 699151a6 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #4 6990d641 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #5 6991355a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #6 697551b9 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\streamer.DLL
[13:36:14] [debug] #7 0047441e in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[13:36:14] [debug] #8 004010b6 in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[13:36:14] [debug] #9 6991350a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #10 699151a6 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #11 6990d641 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #12 6991355a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #13 697551b9 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\streamer.DLL
[13:36:14] [debug] #14 0047441e in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[13:36:14] [debug] #15 004010b6 in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[13:36:14] [debug] #16 6991350a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #17 699151a6 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #18 6990d641 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #19 6991355a in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\crashdetect.DLL
[13:36:14] [debug] #20 697551b9 in ?? () from C:\Users\Jordan\Desktop\LC-RP\plugins\streamer.DLL
[13:36:15] [debug] #21 0046f504 in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[13:36:15] [debug] #22 65646f6d in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[13:36:15] [debug] #23 434c2f73 in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[13:36:15] [debug] #24 2e50522d in ?? () from C:\Users\Jordan\Desktop\LC-RP\samp-server.exe
[13:36:15] [debug] #25 00786d61 in ?? ()
Reply
#9

Can you go to your GameMode folder and confirm that there's a .xml file?
Reply
#10

Quote:
Originally Posted by Nixtren
Посмотреть сообщение
Can you go to your GameMode folder and confirm that there's a .xml file?
Fixed found the error, It wasn't updating the XML file, Thanks man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)