" Batch File Method
This is the simplest, but least effective method. It will restart the server in the event of any crash or close not involving an error window. However, it can't deal with more complex crashes, such as those associated with map transitions, or lock ups. These error reports are internal to the HLDS and cannot be disabled through windows.
To use the batch file method, open Notepad, and paste in the following code:
Code:
@echo off
cls
title MSC HLDS Restarter
echo (%date% %time%) hlds started.
:hlds
start /min /wait /ABOVENORMAL hlds.exe -insecure -game msc +maxplayers 6 -port 27016 -noipx -console +map edana
echo (%date% %time%) WARNING: hlds closed or crashed, restarting.
goto hlds
Save the file as "C:\HLDS\msc.bat" with the quotes. This is the file you will use to start the HLDS.
" I Don't get this part ..... lol.. and is a notepad similar to a WORD pad?... I cant seem to make a notepad ... o.o >NUB<
This is the simplest, but least effective method. It will restart the server in the event of any crash or close not involving an error window. However, it can't deal with more complex crashes, such as those associated with map transitions, or lock ups. These error reports are internal to the HLDS and cannot be disabled through windows.
To use the batch file method, open Notepad, and paste in the following code:
Code:
@echo off
cls
title MSC HLDS Restarter
echo (%date% %time%) hlds started.
:hlds
start /min /wait /ABOVENORMAL hlds.exe -insecure -game msc +maxplayers 6 -port 27016 -noipx -console +map edana
echo (%date% %time%) WARNING: hlds closed or crashed, restarting.
goto hlds
Save the file as "C:\HLDS\msc.bat" with the quotes. This is the file you will use to start the HLDS.
" I Don't get this part ..... lol.. and is a notepad similar to a WORD pad?... I cant seem to make a notepad ... o.o >NUB<