11.07.2012, 10:32
Hello
Recently, interest in this game (GTA San Andreas Multiplayer).
Installed the server on linux debian, started (./samp03svr), everything works fine. The problem is that there is the server port and maxplayers written to the file server.cfg. I want to make these configs to prescribe or at server startup command line option (like on the server cs / css), or in another file.
That's what I tried
startup command
Don`t work.
use exec
server.cfg:
myserver.cfg:
Also does not work.
Maybe someone here can suggest something.
P.S. sorry for my bad English.
Recently, interest in this game (GTA San Andreas Multiplayer).
Installed the server on linux debian, started (./samp03svr), everything works fine. The problem is that there is the server port and maxplayers written to the file server.cfg. I want to make these configs to prescribe or at server startup command line option (like on the server cs / css), or in another file.
That's what I tried
startup command
Код:
./samp03svr +maxplayers 100 +port 7777
Код:
./samp03svr -maxplayers 100 -port 7777
use exec
server.cfg:
Код:
echo Executing Server Config... maxplayers 25 port 7777 exec myserver
Код:
lanmode 0 rcon_password 123456 hostname SA-MP 0.3 Server gamemode0 grandlarc 1 filterscripts gl_actions gl_property gl_realtime gl_mapicon ls_elevator test_cmds ls_mall attachments announce 0 query 1 weburl www.sa-mp.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S]
Maybe someone here can suggest something.
P.S. sorry for my bad English.