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