Создаем текстовый файл в блокноте в папке сервера, там где находится файл hlds.exe Копируем туда вот этот код: @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.
[b]ВАШИ НАСТРОЙКИ СЕРВА (Пример: START/HIGH /wait hlds.exe +sv_lan 0
-game cstrike -port 27016 +maxplayers 32 +map de_dust2 -noipx -insecure
-nomaster -console)[/b] echo (%time%) WARNING: hlds closed or crashed, restarting. goto hlds
Закрываем и сохраняем файл с расширением .bat В случае если сервер "ляжет" то он автоматически перезапуститься.
Источник: http://www.all-cs.net.ru |