FAQ
Tracking down a problem in the daemon
It looks like that hlstats.pl does not run correct. How do I get more information about any possible problem ?
Change the DebugLevel setting in hlstats.conf to 1 or even 2 to get debug information printed to stdout.
This way you can diagnose any problems you may encounter.
How do I enable weapon and map images ?
You'll have to set the "Image Directory Filesystem Path:" to the path to your hlstatsimg directory.
- /home/hlstats/public_html/hlstatsimg
- c:\web_dir\hlstats\hlstatsimg
- ./hlstatsimg
Does HLstats work under Windows ?
Yes
ERROR: hlstats_options does not exists...
If you get this error you are likely in the wrong database or you din't have selected one.
If you use the mysql --user=root comand to connect to your hlstats database you have to execute the "use databasename" top be in the correct Database.
HLStats is stopping at closing the ssh session
You are trying to execute hlstats.pl remotly via ssh.
If you execute it and terminate the ssh session to your server hlstats.pl will also terminated and everything else which you have started in your ssh session.
To avoid this you can use the screen command.
Here is a documentation about how to use screen
Can I change the port ?
The dafault port on which HLstats is listening on is 27500. This port can be changed if your webhost or some other settings doesn't allow this port.
To change this port edit hlstats.conf and change there the PORT setting ther to your desired port.
You have also to change this port at the log command in the server.cfg oder autoexec.cfg at your game server. Otherwise the log data will not go to the right port.
Is it possible to run hlstats.pl without telnet,shell,crontab access?
Yes! But you should first check that your host will support running processes.
In order to run HLstats, you should set up a cronjob (crontab) using the hlstats.sh shell script located in the tools directory of your installation.
Is it possible to install HLstats only via FTP ?
Yes. But you need PHPmyadmin and shell/telnet/ssh/crontab access to run and install HLstats.
