SA-MP Forums Archive
Server Keeps Shutting Down - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server Keeps Shutting Down (/showthread.php?tid=324289)



Server Keeps Shutting Down - nmader - 08.03.2012

The title states my situation, it starts up, then immediately shuts down, I don't understand what isn't working.


Re: Server Keeps Shutting Down - StinkMoney - 08.03.2012

You did something wrong in you gamemode probably try this in server.cfg

0gamemode (your gm name) 1


Re: Server Keeps Shutting Down - nmader - 08.03.2012

[17:58:45] I couldn't load any gamemode scripts. Please verify your server.cfg
[17:58:45] It needs a gamemode0 line at the very least.


Re: Server Keeps Shutting Down - nmader - 08.03.2012

When I do that, it will not work, everything has successfully been compiled and everything...

Here is the server.cfg:
pawn Код:
echo Executing Server Config...
lanmode 0
rcon_password ********
maxplayers 50
bind 108.170.11.22
port 7775
hostname Lost Life Roleplay[ENG]
0gamemode Lost 1
filterscripts Engine Speedo
plugins streamer.so geoip.so
announce 1
query 1
weburl Lost.tk
maxnpc 20
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
(I am using a linux server, by the way.)


Re: Server Keeps Shutting Down - famas.[FTW] - 08.03.2012

Change:

Quote:
Originally Posted by nmader
Посмотреть сообщение
0gamemode Lost 1
To:

Код:
gamemode0 Lost 1



Re: Server Keeps Shutting Down - StinkMoney - 08.03.2012

yes do what he said. That's all right im a newbie


Re: Server Keeps Shutting Down - nmader - 09.03.2012

That is what I had it as before, and it would turn on, then immediately shut down....


Re: Server Keeps Shutting Down - famas.[FTW] - 09.03.2012

Quote:
Originally Posted by nmader
Посмотреть сообщение
That is what I had it as before, and it would turn on, then immediately shut down....
Is the gamemode named Lost.amx? If so, there is probably code in OnGameModeInit causing the crash.


Re: Server Keeps Shutting Down - nmader - 09.03.2012

I found the problem, I had neglected to create a needed .ini file.