Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. @echo off
  2. ::MAKE SURE ALL TASKS ARE REALLY STOPPED
  3.  
  4. taskkill /f /fi "status eq not responding" /im arma3serverwasteland.exe
  5. taskkill /f /im arma3serverwasteland.exe
  6. timeout 1
  7.  
  8. :: KILL BATTLEYE IF IT ISN'T ALREADY
  9. taskkill /im Bec.exe
  10.  
  11. ::SHUTDOWN SERVERMONITOR IF IT IS ALREADY RUNNING - WE RESTART IT AT THE END OF THIS
  12. taskkill /f /im cmd.exe /fi "windowtitle eq wastelandmonitorlife.bat
  13. echo Make sure all is clear
  14.  
  15. ::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
  16. set armapath="D:\wasteland\"
  17. cd /d %armapath%
  18. 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
  19. timeout 3
  20. echo ARMA 3 Server has started
  21.  
  22. ::RESTARTING BATTLEYE
  23. set becpath="D:\wasteland\bec\"
  24. cd /d %becpath%
  25. start Bec.exe -f Config.cfg
  26. timeout 3
  27. echo Battleye has started..
  28.  
  29. :: THIS RUNS THE SERVER MONITOR FOR YOU SO YOU DON'T FORGET
  30. set ServerMonitorPath="D:\wasteland\"
  31. cd /d %ServerMonitorPath%
  32. start "" "servermonitorwasteland.bat"
  33. echo Server Monitor has started. Have Fun
  34. timeout 3
  35. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement