Try New Technology

NEW: Run-level startup script for HLDS !

by on Oct.31, 2009, under Techie, Video Games

Well I spent almost all of last night (except for a 1 hour Left 4 Dead 2 (Demo) break; and randomly checking in on the Ghost Adventures LIVE!) and parts of today finishing and debugging my newest revision of the HLDS run-level startup script. I have posted it in the Articles & Scripts page.
The script will allow a HLDS Admin to have their servers auto-start on boot, and will also provide them with a service that can be called from the console to start,stop, restart/reload all or only 1 of the servers controlled by the service. This service as stated can control an unlimited number for servers, as long as the 4 arrays are setup correctly in the file. Currently the only known problems with the script are on lines 180 and 199 which cause errours output to the console, but do not seem to affect the function of the gaming servers nor host OS. These lines have been flagged for future debugging, but have no ETC set.
Currently this has only been tested on my CentOS 5.x servers, and is designed to support ONLY the following HLDS Game Types: Left 4 Dead, Left 4 Dead 2 (Demo), Team Fortress 2. I am planning to add support for Killing Floor, when I get the time.

View a copy of the source from the /etc/init.d/hlds file here


Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!