set restartserver.bat so it will run updates and backup DB on every restart.
Also set the startup parameters to include new mods.
This commit is contained in:
parent
b41fbcaecd
commit
a3da457042
@ -10,7 +10,7 @@ taskkill /f /fi "status eq not responding" /im bec.exe /t
|
||||
taskkill /f /im bec.exe /t
|
||||
taskkill /f /fi "status eq not responding" /im arma3server_SC.exe /t
|
||||
taskkill /f /fi "status eq not responding" /im arma3server_HC.exe /t
|
||||
taskkill /f /im arma3server_SC /t
|
||||
taskkill /f /im arma3server_SC.exe /t
|
||||
taskkill /f /im arma3server_HC.exe /t
|
||||
timeout 5
|
||||
|
||||
@ -18,20 +18,20 @@ echo.
|
||||
|
||||
::Backing up Exile64 Database
|
||||
echo Backing up Exile64 Database...
|
||||
start /min "" .\backupDB64.bat
|
||||
start /min "" .\backupDB.bat
|
||||
|
||||
echo.
|
||||
|
||||
::Updating Mods and Server
|
||||
echo Updating Arma and Mods
|
||||
rem Start /wait /min "" ..\Arma3_Update.bat
|
||||
Start /wait /min "" ..\Arma3_Update.bat
|
||||
|
||||
echo.
|
||||
|
||||
::RESTARTING THE ARMA 3 SERVER
|
||||
echo Starting ARMA 3 Server...
|
||||
start "Arma3" arma3server_SC.exe "-mod=@exile;Kart;Mark;Heli;" "-servermod=@exileserver;@asm;@marma;@A3XAI;" -config=%ARMA%\@ExileServer\config.cfg -port=2302 -profiles=SC -cfg=%ARMA%\@ExileServer\basic.cfg -name=SC -autoinit -Loadmissiontomemory -hugepages
|
||||
start "Arma3_HC" arma3server_HC.exe -client -connect=127.0.0.1 -password=joejer "-mod=@exile;Kart;Mark;Heli;@A3XAI_HC;@asm;" -profiles=HC -name=HC -hugepages
|
||||
start /min /affinity 0x3 /abovenormal "Arma3" arma3server_SC.exe "-mod=@exile;Kart;Mark;Heli;@ArmA3 Adjustable Full Screen Night Vision;@CBA_A3;@Enhanced Movement;@Advanced Rappelling;@Advanced Urban Rappelling;@Arma 3 Flashlight Mod (Exile Fix);" "-servermod=@exileserver;@asm;@marma;@A3XAI;@ASR_AI3;@Enigma;" -config=%ARMA%\@ExileServer\config.cfg -port=2302 -profiles=SC -cfg=%ARMA%\@ExileServer\basic.cfg -name=SC -autoinit -Loadmissiontomemory -hugepages
|
||||
start /min /affinity 0xC /abovenormal "Arma3_HC" arma3server_HC.exe -client -connect=127.0.0.1 -password=joejer "-mod=@exile;Kart;Mark;Heli;@A3XAI_HC;@asm;@ASR_AI3;@CBA_A3;@Arma 3 Flashlight Mod (Exile Fix);" -profiles=HC -name=HC
|
||||
echo ARMA 3 Server is started
|
||||
timeout 25
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user