Advertisement
TinGieter

Dayz SA Server loader for Tomato, with crash detection.

Dec 15th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.53 KB | None | 0 0
  1. @echo off
  2. cls
  3. color 0a
  4. set watch=DayZ SA Server
  5. title %watch% Monitor
  6. C:\Windows\System32\mode con cols=54 lines=5 >nul
  7. set /a var=0
  8. cd "C:\Program Files (x86)\Steam\steamapps\common\DayZServer"
  9. :Monitor
  10. echo (%time% ) Running %watch%
  11. start "" /wait /realtime "DayZServer_x64.exe" -config=serverDZ.cfg -port=2302 -profiles=ServerProfile -adminlog -freezecheck -scriptDebug=true -cpuCount=4 "-mod=@DayZ-SA-Tomato" -scrAllowFileWrite
  12. set /a var+=1
  13. cls
  14. echo (%time% ) %watch% closed or crashed %var% times, restarting.
  15. goto Monitor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement