Server Won't Load Script - No Error
#1

Hey all,

I tried starting my server today when it just froze on me. The server.exe application still runs fine, but the script won't load. To show, I've used 'print' under 'main()', but this text won't show up in the server. When I close the server application, it just becomes non-responsive and I need to exit it via CTRL + ALT + Delete or by clicking 'End Now'.

This is a relatively new script, and it's the first time I've used it (I've tried restarting multiple times though) but I cannot get it to work. I'm not given anything under the server log, nor a crash file.

Would anyone be able to suggest what I'm doing wrong/a simple fix?
Reply
#2

Post the server log
Reply
#3

Quote:
Originally Posted by UberSocks
Посмотреть сообщение
I'm not given anything under the server log, nor a crash file.
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3a R8, ©2005-2010 SA-MP Team

[18:55:34] filterscripts = ""  (string)
[18:55:34] 
[18:55:34] Server Plugins
[18:55:34] --------------
[18:55:34]  Loading plugin: streamer
[18:55:35] 

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


[18:55:35]   Loaded.
[18:55:35]  Loaded 1 plugins.

[18:55:36] 
[18:55:36] Filter Scripts
[18:55:36] ---------------
[18:55:36]   Loaded 0 filter scripts.
.. then nothing.
Reply
#4

Can you post your .cfg file and the name of your .amx / script.
Reply
#5

Quote:
Originally Posted by acade
Посмотреть сообщение
Can you post your .cfg file and the name of your .amx / script.
Name of the .amx script is 'arpbeta'

Код:
echo Executing Server Config...
lanmode 0
rcon_password pass
maxplayers 10
port 7777
hostname Test Server
gamemode0 arpbeta
filterscripts
plugins streamer
announce 0
query 1
weburl www.sa-mp.com
maxnpc 200
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
Reply
#6

Try in linux, linux runs smoother and better
Reply
#7

Your gamemode is crashing the server.
Reply
#8

Quote:
Originally Posted by TheInnocentOne
Посмотреть сообщение
Your gamemode is crashing the server.
Well if it was crashing the server, wouldn't the server.exe crash itself? Not keep responding as an application?
Reply
#9

Try doing debugging? Like print("test"); add it after every callback, to see if it's print or not?
Reply
#10

try this
Код:
echo Executing Server Config...
lanmode 0
rcon_password
maxplayers 10
port 7777
hostname Test Server
gamemode0 arpbeta 1
filterscripts
announce 0
query 1
weburl www.sa-mp.com
maxnpc 200
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
plugins streamer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)