@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.
title srcds.com Watchdog
:srcds
:loop
echo (%date% %time%) srcds started.
start /wait/high srcds.exe -console -game cstrike -tickrate 100 -port 27015 +fps_max 1000 +maxplayers 32 +map de_dust2 +sv_lan 0 + log on
goto srcds
echo (%date% %time%) WARNING: srcds closed or crashed, restarting.
goto loop