I was wondering if there's a way to restart the server automatically if an error dialog box comes up like a memory read error or something. If that happens I have to go in the box and click ok before it restarts.
Here's what I use to start the server.
@echo off
cls
echo Protecting srcds TF2 from crashes...
echo If you want to close srcds, close this window first!
title Watchdog: ATF Humpaholics Anonymous
:srcds
echo (%time%) srcds started.
start /wait /abovenormal srcds.exe -console -game "tf" +map cp_well +maxplayers 26 -ip 69.61.8.37 -port 27015 +fps_max 512 -autoupdate
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Here's what I use to start the server.
@echo off
cls
echo Protecting srcds TF2 from crashes...
echo If you want to close srcds, close this window first!
title Watchdog: ATF Humpaholics Anonymous
:srcds
echo (%time%) srcds started.
start /wait /abovenormal srcds.exe -console -game "tf" +map cp_well +maxplayers 26 -ip 69.61.8.37 -port 27015 +fps_max 512 -autoupdate
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds