Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 5d014bfe7613411f1e91987741604167 > files > 14

halfd-2.10-1mdk.noarch.rpm

You MUST have hlds_run installed and configured before installing halfd.  An
excellent walkthrough on installing hlds_run on linux is available here:

http://server.counter-strike.net/linuxbasic.html


Here are the steps you need to follow for a successful halfd installation:

1. Run "perl ./install" from the distribution directory.  
   Follow the instructions.

   If the install script claims that you don't have TclX installed, you'll need
   to install it first.  RPMs and source trees are available for download
   from the web site: http://www.halfd.org/download.html


2. The installer will install the following tools:

	halfd        - the server daemon
	hlgui        - the GUI client for a single server
	hlclustermon - the GUI client for multiple servers
	hlcmd        - the hlds_run command-line client

   Please read the FAQ.  It contains information regarding security, among
   other things!


3. Edit the halfd.cfg file that was installed in your $HLDIR/<mod> directory.
   At the very least, you will need to specify an ADMINISTRATOR password.
   The config file is well-commented.  If this is your first time installing,
   please examine all configuration parameters.

   Also make sure you have your args and/or autoexec.cfg set up correctly.
   You definitely need at least the following in autoexec.cfg:

   fullserverinfo
   log on

   Don't put these commands in server.cfg!


4. Start halfd with the following commmand:

   halfd -g <mod> &

   (e.g. "halfd -g tfc &")


5. Examine the following files:

	$HLDIR/<mod>/halfd.log
	$HLDIR/<mod>/hlds_l.log

	The "halfd.log" file will show you what halfd is doing.
	The "hlds_l.log" file will show you what hlds_run is doing.


6. Run hlgui from your server (if you've got X-windows running) or from another
   machine.

   When it asks for authorization, enter your ADMINISTRATOR pasword.


If you're running Linux and want to install the CGI script on your webserver,
read the INSTALL-CGI document.

If you have questions or problems, visit the forum at http://www.halfd.org