Hlds As A System Service.
razblack
Join Date: 2003-03-26 Member: 14896Members
<div class="IPBDescription">my contribution to the HL community.</div> I've include a script that I use to operate and monitor my HLDS server. I created it because the server crashed at one point and services were unavailable for a period of time without my knowledge. This script will monitor the HLDS thread to ensure it is still a process thread in the system, but will not ensure that the process thread is still operational.
Benefits:
1). Documented setup instructions for creating a system service in Windows 2000 using this script.
2). The service launches the HLDS application with a HIGH priority (good for maximum resource use).
3). Logs events if a critical system problem occurs while using the script or when the server was restarted.
4). Free for modification and your use :-)
5). Automatically starts the HLDS if the operating system is rebooted.
Requirements:
1). Windows 2000 machine (either Professional, Server, or Advanced Server)
2). The SRVANY and INSTSRV Windows 2000 Resource Kit tools (do not ask me for these!)
3). Windows Scripting Host version 5.6
I do not have Windows XP so I do not know if this will work on that system.
Have fun!
- RAZ
Benefits:
1). Documented setup instructions for creating a system service in Windows 2000 using this script.
2). The service launches the HLDS application with a HIGH priority (good for maximum resource use).
3). Logs events if a critical system problem occurs while using the script or when the server was restarted.
4). Free for modification and your use :-)
5). Automatically starts the HLDS if the operating system is rebooted.
Requirements:
1). Windows 2000 machine (either Professional, Server, or Advanced Server)
2). The SRVANY and INSTSRV Windows 2000 Resource Kit tools (do not ask me for these!)
3). Windows Scripting Host version 5.6
I do not have Windows XP so I do not know if this will work on that system.
Have fun!
- RAZ
Comments
I found a version of INSTSRV and SRVANY that may work on windows 2000... I have not tested, so I am not sure... this was available for installing the seti stuff as a service in NT. Extract and use them, it might also work if you don't have access to the windows 2000 resource kit.
<a href='http://txaggies.no-ip.com/files/setiservice.zip' target='_blank'>http://txaggies.no-ip.com/files/setiservice.zip</a>
Don't be creatures of habit <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->
oh oh me me me!!
/me looks for other ppl so he can raise thier hands too!
I'll try it out and post my results.
ftp: ftp.microsoft.com
dir: /bussys/winnt/winnt-public/reskit/nt40/i386
file: srvany_x86.exe
- RAZ