2018-03-02 02:51:54 +00:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
F:
|
|
|
|
SET ARMA=f:\Arma3\Arma3_Server
|
|
|
|
|
|
|
|
::MAKE SURE ALL TASKS ARE REALLY STOPPED
|
|
|
|
echo Making sure all instances of this server have stopped
|
|
|
|
taskkill /f /fi "Windowtitle eq Administrator: ServerMonitor"
|
|
|
|
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
|
2018-03-04 17:42:48 +00:00
|
|
|
taskkill /f /im arma3server_SC.exe /t
|
2018-03-02 02:51:54 +00:00
|
|
|
taskkill /f /im arma3server_HC.exe /t
|
|
|
|
timeout 5
|
|
|
|
|
|
|
|
echo.
|
|
|
|
|
|
|
|
::Backing up Exile64 Database
|
|
|
|
echo Backing up Exile64 Database...
|
2018-03-04 17:42:48 +00:00
|
|
|
start /min "" .\backupDB.bat
|
2018-03-02 02:51:54 +00:00
|
|
|
|
|
|
|
echo.
|
|
|
|
|
|
|
|
::Updating Mods and Server
|
|
|
|
echo Updating Arma and Mods
|
2018-03-04 17:42:48 +00:00
|
|
|
Start /wait /min "" ..\Arma3_Update.bat
|
2018-03-02 02:51:54 +00:00
|
|
|
|
|
|
|
echo.
|
|
|
|
|
|
|
|
::RESTARTING THE ARMA 3 SERVER
|
|
|
|
echo Starting ARMA 3 Server...
|
2018-03-04 20:30:44 +00:00
|
|
|
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;@A3XAI;@ASR_AI3;@Enigma;" -config=%ARMA%\@ExileServer\config.cfg -port=2302 -profiles=SC -cfg=%ARMA%\@ExileServer\basic.cfg -name=SC -autoinit -Loadmissiontomemory -hugepages
|
2018-03-04 17:42:48 +00:00
|
|
|
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
|
2018-03-02 02:51:54 +00:00
|
|
|
echo ARMA 3 Server is started
|
|
|
|
timeout 25
|
|
|
|
|
|
|
|
echo.
|
|
|
|
|
|
|
|
:: THIS RUNS THE SERVER MONITOR FOR YOU SO YOU DON'T FORGET
|
|
|
|
echo Starting Server Monitor Loop
|
|
|
|
cd /d %ARMA%
|
|
|
|
start /min "ServerMonitor" "servermonitor.bat"
|
|
|
|
echo Server Monitor has started. Have Fun
|
|
|
|
timeout 10
|
|
|
|
|
|
|
|
::FINISHED
|
|
|
|
timeout 2
|
|
|
|
@exit
|