@echo off
chdir server
cls
title StartUp
:hlds
echo (%time%) HLDS Started...
reg add "HKCU\Software\Valve\Steam\ActiveProcess" /v SteamClientDll /t REG_SZ /d "" /f
start /wait hlds.exe -console +maxplayers 32 -game bdef +map pve_neonlines +ip 0.0.0.0 +port 27015
echo n| goto hlds
echo (%time%) HLDS Crashed, restarting...
goto hlds