Posts: 8
Threads: 4
Joined: May 2008
Reputation:
0
I installed hlstats several weeks ago but it is not picking up any statistics. The web install went fine, and I can see the page. I set up my cron, which is running daily, according to my logs.
I think the problem might be in my autoexec.cfg file. The directions call for you to write logaddress_add <your server ip>:27500 but since I am on a shared webserver, I can't use an ip address. I instead used my url so it looks like logaddress_add ctunit.net:27500.
Should this work?
[CTU] Counter Terrorist Unit |
http://ctunit.net
CS:S | 24/7 Office/Dust2 100 Tick
208.122.57.74:27015
TF2 | 24/7 Dustbowl 100 Tick
208.122.57.74:27016
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
Even shared webhost packages have an IP, you should be able to use it too
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
that and srcds will automatically turn that into an ip..For instance I put
logaddress_add stats.darkstargamers.com:27501
in hlsw and get
logaddress_add: 208.100.17.110:27501
back.
if your hlstats isn't picking up stats, its probably because you don't have the run_hlstats process running. In your perl directory (of the webserver) is it generating log files?
Posts: 8
Threads: 4
Joined: May 2008
Reputation:
0
There are no log files in the perl directory. How do I get run_hlstats to run?
My cron looks like:
0 1 * * * /usr/bin/perl /home/users/web/b511/pow.theredfox13/htdocs/hlstats/perl/hlstats-awards.pl
[CTU] Counter Terrorist Unit |
http://ctunit.net
CS:S | 24/7 Office/Dust2 100 Tick
208.122.57.74:27015
TF2 | 24/7 Dustbowl 100 Tick
208.122.57.74:27016
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
thats the cron to run the awards update. the stats service has to be ran from shell. You will need to cd to the perl directory, and type in "./run_hlstats start" and that will start it.
Posts: 8
Threads: 4
Joined: May 2008
Reputation:
0
my shared webserver doesn't allow shell access.
so I installed everything on my dedicated box and it appears to be working now. thanks!
[CTU] Counter Terrorist Unit |
http://ctunit.net
CS:S | 24/7 Office/Dust2 100 Tick
208.122.57.74:27015
TF2 | 24/7 Dustbowl 100 Tick
208.122.57.74:27016
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
yea.. it limits that quite a bit, but thats why hlstatx provides it. Glad to hear its working though!