@echo off
cls
echo Protecting hlds from crashes...
echo If you want to close srcds and this script, close the hlds window and type Y depending on your language followed by Enter.
title hlds.com Watchdog
:hlds
echo (%time%) hlds started.
START/HIGH /wait hlds.exe +sv_lan 1 -game cstrike -port 27015 +maxplayers 21 +map de_dust2 -noipx -insecure -nomaster -console
echo (%time%) WARNING: hlds closed or crashed, restarting.
goto hlds
сделали... но почему-то он не включается, после закрытия сервера остаётся еще одна консолька, и она спрашивает нас Запустить еще раз, или выключать. (Y/N)
Как сделать чтобы она не спрашивала, а просто запускал сервера?
Отредактировал: Vladimir Pintelin, - 24.3.2010, 20:20