Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- ::MAKE SURE ALL TASKS ARE REALLY STOPPED
- taskkill /f /fi "status eq not responding" /im arma3serverwasteland.exe
- taskkill /f /im arma3serverwasteland.exe
- timeout 1
- :: KILL BATTLEYE IF IT ISN'T ALREADY
- taskkill /im Bec.exe
- ::SHUTDOWN SERVERMONITOR IF IT IS ALREADY RUNNING - WE RESTART IT AT THE END OF THIS
- taskkill /f /im cmd.exe /fi "windowtitle eq wastelandmonitorlife.bat
- echo Make sure all is clear
- ::RESTARTING THE ARMA 3 SERVER BE SURE TO EDIT THIS TO YOUR SERVER .EXE LOCATION -NOTE ALSO THIS IS WHERE YOU DEFINE WHERE YOU CONFIG.CFG IS
- set armapath="D:\wasteland\"
- cd /d %armapath%
- start arma3serverlife.exe -nosplash -mod=@life_server -port=2300 -maxMem=2048 -noPause -cpuCount=4 -exThreads=4 -config=wasteland\serverlife.cfg -cfg=wasteland\basic.cfg -name=Administrator -profile=Administrator -BEpath=D:\Arma3v3.1.4\BattlEye
- timeout 3
- echo ARMA 3 Server has started
- ::RESTARTING BATTLEYE
- set becpath="D:\wasteland\bec\"
- cd /d %becpath%
- start Bec.exe -f Config.cfg
- timeout 3
- echo Battleye has started..
- :: THIS RUNS THE SERVER MONITOR FOR YOU SO YOU DON'T FORGET
- set ServerMonitorPath="D:\wasteland\"
- cd /d %ServerMonitorPath%
- start "" "servermonitorwasteland.bat"
- echo Server Monitor has started. Have Fun
- timeout 3
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement