SA-MP Forums Archive
Server start parameter - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server start parameter (/showthread.php?tid=258630)



Server start parameter - JGaming - 31.05.2011

Are there any start parameters for the server yet? E.g. to set the slots without the server.cfg.


Re: Server start parameter - WarServers - 31.05.2011

Not that I know of.

What is wrong with he config?


AW: Server start parameter - JGaming - 31.05.2011

I'm owner of a gamehosting company and i want to support samp.

Our concept is, that the webinterface connects via ssh to the root server and the root server downloads a gameserverimage from a imageserver. But the IP and the Port should be unchangeable, but the user has to change the server.cfg.


Re: Server start parameter - WarServers - 31.05.2011

You have to do what me and the other hosts do.

Make trolls to look at the file and report back in the panel.


Re: Server start parameter - woot - 31.05.2011

Yep, that's a major downside of the server; You will have to manually check them or write a script which regularly checks this.


Re: Server start parameter - alpha500delta - 31.05.2011

You could try the GetServerVarAsString Function but that is for changing ingame.

I suppose you want it via a panel? Didn't fully understand the question :/


AW: Server start parameter - JGaming - 31.05.2011

Yeah i could do it via a script, but then the FTP Funktion wouldn't make any sence any more. SAMP is such a nice project, but i can't understand it why it's so difficult to add such features.

But thanks for your answers.


Re: Server start parameter - WarServers - 31.05.2011

It is easy if you know how to be a game server host.

If you want to host games without the "know how", look for a reseller.


AW: Server start parameter - JGaming - 31.05.2011

Thanks for the tip, but I will solve the problem with a shell starter.


AW: Server start parameter - JGaming - 31.05.2011

I uploaded the script to 2shared.com. I don't think there are bugs in there, but if there are bugs please report them to me.

Download Link: http://www.2shared.com/file/J2Vai68H/starter.html

Readme:

Quote:

-- [ SA:MP Server Starter ] --

Useage: ./start [ip] [port] [slots]

The starter will output errors direct and to the server_log.txt
with a timestamp (standard samp-server format). If the ip (bind),
port (port) or slots (maxplayers) variables are not defined the
script will stop the progress.

Copyright © 2011 Just Network UG. All rights reserved.