Post Reply  Post Thread 
hlstats not working
Author Message
theredfox
[CTU]
**


Posts: 8
Group: Registered
Joined: May 2008
Status: Offline
Post: #1
hlstats not working

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
05-08-2008 06:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Drocona
Forum admin
*******


Posts: 4,295
Group: Administrators
Joined: Mar 2005
Status: Offline
Post: #2
RE: hlstats not working

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)
http://srcdsgroup.black-sky.nl
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
05-08-2008 07:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
skeletor
freakaziod
******


Posts: 1,579
Group: Super Moderators
Joined: Jun 2005
Status: Offline
Reputation: 0
Post: #3
RE: hlstats not working

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?


http://darkstarllc.com
05-08-2008 08:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
theredfox
[CTU]
**


Posts: 8
Group: Registered
Joined: May 2008
Status: Offline
Post: #4
RE: hlstats not working

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
05-09-2008 12:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
skeletor
freakaziod
******


Posts: 1,579
Group: Super Moderators
Joined: Jun 2005
Status: Offline
Reputation: 0
Post: #5
RE: hlstats not working

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.


http://darkstarllc.com
05-09-2008 09:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
theredfox
[CTU]
**


Posts: 8
Group: Registered
Joined: May 2008
Status: Offline
Post: #6
RE: hlstats not working

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
05-10-2008 12:55 AM
Visit this user's website Find all posts by this user Quote this message in a reply
skeletor
freakaziod
******


Posts: 1,579
Group: Super Moderators
Joined: Jun 2005
Status: Offline
Reputation: 0
Post: #7
RE: hlstats not working

yea.. it limits that quite a bit, but thats why hlstatx provides it. Glad to hear its working though!


http://darkstarllc.com
05-10-2008 09:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: