SRCDS Steam group


hlstats not working
#1
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
Reply
#2
Even shared webhost packages have an IP, you should be able to use it too
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#3
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?
Reply
#4
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
Reply
#5
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.
Reply
#6
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
Reply
#7
yea.. it limits that quite a bit, but thats why hlstatx provides it. Glad to hear its working though!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)