BAtch File method for DS

BioRage

New Adventurer
Blades of Urdual
Joined
May 21, 2006
Messages
446
Reaction score
0
Location
Toronto
" 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<
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
Notepad is the windows basic text editor (been in every Windows since v2.11). Press WindowsKey+R and enter "notepad" in the blank that appears (sans quotes) and that'll bring it up. (Alternatively, Start->Programs->Accessories->Notepad)

You could do it in Wordpad - but I don't recall off hand how you make sure it saves pure text format - so you're better off not trying.

Out of curiosity - what is the Autorestarter doing that it's causing you problems?
 

BioRage

New Adventurer
Blades of Urdual
Joined
May 21, 2006
Messages
446
Reaction score
0
Location
Toronto
Well, I have gotten a new comp since i quitted MSC... I am making a DS on this new mega comp... but rember I told you that the restarter makes me run as a client as well, usally the normal DS i am a at 0 ping, as if it was a listen sever.... and I was wondering if that batch file method would be the same.
 

BioRage

New Adventurer
Blades of Urdual
Joined
May 21, 2006
Messages
446
Reaction score
0
Location
Toronto
Done but new problem which = a new thread.
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
Well, I have gotten a new comp since i quitted MSC... I am making a DS on this new mega comp... but rember I told you that the restarter makes me run as a client as well, usally the normal DS i am a at 0 ping, as if it was a listen sever.... and I was wondering if that batch file method would be the same.

I told you.... Waaa?

Restarter is for pure HLDS only (not GUI nor Listenserver) - you don't need a client, or even Steam, to use either pure HLDS nor the Resarter.
 
Top