Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. @echo off
  2. cls
  3. echo Protecting srcds from crashes...
  4. echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
  5. echo If you are completely computer illiterate then mash the keyboard randomly with your face.
  6.  
  7. set SERVER_NAME=Hardcore Empires
  8.  
  9. title %SERVER_NAME% srcds.com Watchdog
  10. :srcds
  11. echo (%time%) srcds started.
  12. start /wait /AFFINITY 8 srcds.exe -console -game empires +map con_district402 +maxplayers 64 -port 27015 -secure -nobreakpad -tickrate 66
  13. echo (%time%) WARNING: srcds closed or crashed, restarting.
  14. echo (%date%) (%time%) WARNING: srcds closed or crashed, restarting. >> %SERVER_NAME%_crashlog.txt
  15. ::Stops horrible crash restart loops crashing the box.
  16. timeout /T 1
  17. goto srcds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement