@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. reg add "HKCU\Software\Valve\Steam\ActiveProcess" /v SteamClientDll /t REG_SZ /d "" /f start /wait/REALTIME/high srcds.exe -console -game cstrike -tickrate 67 -nocrashdialog +maxplayers 24 +map de_dust2 +fps_max 600 -port 27015 +sv_lan 0 +exec server.cfg goto srcds echo (%date% %time%) WARNING: srcds closed or crashed, restarting. goto loop