Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- ::=====================================================================================================================================
- :: close the running apps
- ::=====================================================================================================================================
- taskkill /IM arma3server.exe /f /t
- taskkill /IM ArmaServerMonitor.exe /f /t
- taskkill /IM Bec.exe /f /t
- ::=====================================================================================================================================
- :: Database Housekeeping backup & clean
- ::=====================================================================================================================================
- C:\xampp\php\php.exe C:\xampp\htdocs\scheduled\exile_cleanup.php
- timeout 2
- :: Move old log files
- move F:\a3server\SC\*.log F:\a3server\SC\old
- move F:\a3server\SC\*.rpt F:\a3server\SC\old
- move F:\a3server\SC\*.bidmp F:\a3server\SC\old
- move F:\a3server\SC\*.mdmp F:\a3server\SC\old
- :: Delete the .Arma3Profile file
- del "F:\A3server\SC\Users\SC\SC.vars.Arma3Profile" /F /Q
- ::=====================================================================================================================================
- :: Update the Binaries and DLLs
- ::=====================================================================================================================================
- xcopy "F:\updates\BinaryUpdate\arma3server.exe" "F:\A3server\arma3server.exe" /Y
- xcopy "F:\updates\BinaryUpdate\*.dll" "F:\A3server\" /Y
- xcopy "F:\updates\extDB2.dll" "F:\A3server\@ExileServer\extDB2.dll" /Y
- timeout 2
- ::=====================================================================================================================================
- ::Copy updates to live folders before restarting server
- ::=====================================================================================================================================
- xcopy "F:\updates\exile.ini" "F:\A3server\@ExileServer\extDB\sql_custom_v2\exile.ini" /Y
- xcopy "F:\updates\exile.bikey" "F:\A3server\keys\exile.bikey" /Y
- xcopy "F:\updates\exile_server.pbo" "F:\A3server\@ExileServer\addons\exile_server.pbo" /Y
- xcopy "F:\updates\exile_server_config_chernarus.pbo" "F:\A3server\@ExileServer\addons\exile_server_config.pbo" /Y
- ::=====================================================================================================================================
- ::Map Specific
- ::=====================================================================================================================================
- xcopy "F:\updates\Exile.Chernarus.pbo" "F:\A3server\MPMissions\Exile.Chernarus.pbo" /Y
- xcopy "F:\updates\Exile.Chernarus.pbo" "C:\Users\Richard\AppData\Local\Arma 3\MPMissionsCache\Exile.Chernarus.pbo" /Y
- ::=====================================================================================================================================
- :: InfiStar
- ::=====================================================================================================================================
- xcopy "F:\updates\infiSTAR\a3_infiSTAR_Exile.pbo" "F:\A3server\@infiSTAR_servermod\addons\a3_infiSTAR_Exile.pbo" /Y
- xcopy "F:\updates\infiSTAR\*.dll" "F:\A3server\" /Y
- ::=====================================================================================================================================
- :: Battleye Filters
- ::=====================================================================================================================================
- xcopy "F:\updates\battleye\*.txt" "F:\A3server\SC\BattlEye\" /Y
- ::=====================================================================================================================================
- xcopy "F:\updates\config.cfg" "F:\A3server\SC\config.cfg" /Y
- xcopy "F:\updates\basic.cfg" "F:\A3server\SC\basic.cfg" /Y
- xcopy "F:\updates\SC.Arma3Profile" "F:\A3server\SC\Users\SC\SC.Arma3Profile" /Y
- xcopy "F:\updates\Scheduler.xml" "F:\A3server\BEC\Config\Scheduler.xml" /Y
- ::=====================================================================================================================================
- :: Missions and random spawns
- ::=====================================================================================================================================
- xcopy "F:\updates\SA_AdvancedTowing.pbo" "F:\A3server\@ExileServer\addons\SA_AdvancedTowing.pbo" /Y
- ::del "F:\A3server\@ExileServer\addons\SA_AdvancedTowing.pbo" /F /Q
- xcopy "F:\updates\Enigma_Exile_Custom.pbo" "F:\A3server\@ExileServer\addons\Enigma_Exile_Custom.pbo" /Y
- ::del "F:\A3server\@ExileServer\addons\Enigma_Exile_Custom.pbo" /F /Q
- xcopy "F:\updates\a3_exile_yorkshire.pbo" "F:\A3server\@ExileServer\addons\a3_exile_yorkshire.pbo" /Y
- ::del "F:\A3server\@ExileServer\addons\a3_exile_yorkshire.pbo" /F /Q
- xcopy "F:\updates\a3_exile_occupation.pbo" "F:\A3server\@ExileServer\addons\a3_exile_occupation.pbo" /Y
- ::del "F:\A3server\@ExileServer\addons\a3_exile_occupation" /F /Q
- xcopy "F:\updates\a3_zcp_exile.pbo" "F:\A3server\@ExileServer\addons\a3_zcp_exile.pbo" /Y
- ::del "F:\A3server\@ExileServer\addons\a3_zcp_exile.pbo" /F /Q
- xcopy "F:\updates\a3_dms.pbo" "F:\A3server\@ExileServer\addons\a3_dms.pbo" /Y
- ::del "F:\A3server\@ExileServer\addons\a3_dms.pbo" /F /Q
- xcopy "F:\updates\asm.pbo" "F:\A3server\@ExileServer\addons\asm.pbo" /Y
- ::del "F:\A3server\@ExileServer\addons\asm.pbo" /F /Q
- ::=====================================================================================================================================
- ::Start ASM
- ::=====================================================================================================================================
- start F:\A3server\Tools\ArmaServerMonitor.exe
- ::=====================================================================================================================================
- :: Launch the Server
- ::=====================================================================================================================================
- :: Chernarus
- cd "F:\A3server
- start /min "arma3server" /realtime "arma3server.exe" -mod=@AllInArmaTerrainPack;@RHSAFRF;@RHSUSAF;@TRYK;@Exile; -serverMod=@ExileServer;@infiSTAR_servermod; -bepath=F:\A3server\SC\BattlEye\ -port=2302 -maxMem=3072 -enableHT -loadmissiontomemory -profiles=SC -name=SC "-config=SC\config.cfg" "-cfg=SC\basic.cfg" -autoinit
- timeout 20
- ::=====================================================================================================================================
- :: start BEC
- ::=====================================================================================================================================
- cd "F:\A3server\BEC\"
- start /min Bec.exe -f Config.cfg
- @exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement