Well from one other forum they told me to use this code, but when i try to start my server with it i says:
Code:
bash: goto: command not found
Can someone tell how to start this or any other way ? I Just need my server's to autorestart by them selfs when they crash isn't anything out there ?
Code:
@echo off
cls
echo Auto-ON.
echo Y_for_exit!
title Auto-Restart-Crash
:hlds
echo (%time%) --[SERVER_ONLINE]--
start /wait/realtime hlds.exe -console -nocrashdialog -game cstrike +maxplayers 10 +map de_dust2 +sys_ticrate 10000 +sv_maxupdaterate 100 +port 27015 +sv_lan 0 -insecure -nomaster +log off
echo (%time%) WARNING: hlds closed or crashed, restarting...
goto hlds