PDA

View Full Version : COD_Server.BAT script for server restart


Bombada
04-25-2004, 02:52 PM
I want to creat a script for my Server, to restart it.
For mod map installation ore to load a new config files.

Do you have a idea how to creat a *.BAT file??

COD_Server.bat
-----------
:loop
wait 60
start /wait CoDMP.exe +set dedicated 2 +set net_port 28950 +set sv_punkbuster 1 +exec settings.cfg +map_rotate

goto loop
-------

Do it work??? I want to restart it from RCON command,
/rcon quit .
How can I restart it better, for new config file?

UnDead
04-25-2004, 03:08 PM
We use a program called ServerDoc. Do a search in google for it. It auto restarts server in case of crash and can setup schedules etc to change server configs at certain times.