s1-mod/cfg/!start_horde_server.bat
2024-02-27 03:20:09 -05:00

24 lines
971 B
Batchfile

@echo off
set ServerFilename=server_horde.cfg
:://///////////////////////////////////////////////////////////////////////////
::// What port do you want the server to run on? //
::// You must port forward this port & allow it through your firewall //
:://///////////////////////////////////////////////////////////////////////////
set port=27016
:: Either put the batch in the Advanced Warfare install dir, or change the value below to the Advanced Warfare install dir
set AW_INSTALL=%~dp0
:: Remove this line if automatic updates on start should be disabled
start /W alterware-launcher.exe --update
::///////////////////////////////////////////////////////////////////////
:://You're done!! WARNING!!! Don't mess with anything below this line //
::///////////////////////////////////////////////////////////////////////
set GAME_EXE=s1-mod.exe
start %GAME_EXE% -dedicated +survival 1 +set net_port "%port%" +exec %ServerFilename% +map_rotate