SRCDS Steam group


HlstatsX - not tracking stats
#1
Exclamation 
Hey all.
Trying to install hlstatsx for my TF2 server. When adding my server info such as rcon password, server ip, port etc... it doesn't seem to get any live activity stats from the server.

I have mani plugin 1.2 installed and working on my TF2 server

downloaded lart's full package from http://lart2150.com/forum/viewtopic.php?f=4&t=2

followed this tutorial http://lart2150.com/forum/viewtopic.php?f=6&t=30

started up hlstats.pl by doing the following (also including output)

orudie@ubuntu:~/hlstatsx/perl$ sudo perl hlstats.pl
2008-03-23 03:02:44: - HLSTATSX: HLstatsX 1.20 RC2 starting...
2008-03-23 03:02:44: - UDP: Opening UDP listen socket on port 27500 ... ok
2008-03-23 03:02:44: - MYSQL: Connecting to MySQL database 'hlstats' on 'localhost' as user 'hlstats' ... connected ok
2008-03-23 03:02:44: - MASTER: Masterserver address is 85.214.79.173
2008-03-23 03:02:44: - GLOBALSTATS: Global statsserver address is 85.214.79.173
2008-03-23 03:02:44: - HLSTATSX: Tracking Trend of the stats are enabled
2008-03-23 03:02:44: - HLSTATSX: Maximum Skill Change on all servers are 25 points
2008-03-23 03:02:44: - HLSTATSX: Minimum Skill Change on all servers are 2 points
2008-03-23 03:02:44: - HLSTATSX: Minimum Players Kills on all servers are 50 kills
2008-03-23 03:02:44: - HLSTATSX: Broadcasting public chat is disabled
2008-03-23 03:02:44: - HLSTATSX: HLstatsX is now running (Normal mode, debug level 1)
2008-03-23 03:04:42: - HLSTATSX: No data since 120 seconds
2008-03-23 03:06:42: - HLSTATSX: No data since 120 seconds
2008-03-23 03:07:46: - HLSTATSX: Insert new server trend timestamp

rcon_password works fine through game's console and HLSW

And now I'm stuck right here

http://www.selsovet.com/hlstatsx/hlstats.php

does it have to do with server logging ? here is what i have in my server.cfg in logging part :

// start server logging
log on
// enable or disable server logging. on is on off is off
sv_logbans 1
// Log server bans in the server logs
sv_logecho 1
// Echo log information to the console. 0 is off 1 is on
sv_logfile 1
// Log server information in the log file. 0 is off 1 is on
sv_log_onefile 0
// log everything in one file

// end server logging


also, the date shows Monday May 30 for some reason.
Reply
#2
As I said in your previous thread... Are you logging to the address of the machine running the perl script?

In your server.cfg I dont see anything indicating where you are logging to... logaddress_add <ip : port> where ip and port is the machine and port the perl script is running/listneing on.
[Image: sig_spam.JPG]
Reply
#3
blik Wrote:As I said in your previous thread... Are you logging to the address of the machine running the perl script?

In your server.cfg I dont see anything indicating where you are logging to... logaddress_add <ip : port> where ip and port is the machine and port the perl script is running/listneing on.

perl script is running on the same machine as the game server, with ip address 69.113.115.65. Its not behind a router so i didn't have to forward any ports.

added to server.cfg

logaddress_add 69.113.115.65:27500

modified hlstats.conf
##
## UDP Socket Settings (should match "logaddress ip port" on the game servers)
##

# BindIP - IP address to bind to (leave empty to use all interfaces).
BindIP "69.113.115.65"

# Port - Port to listen on for log data from the game servers.
Port 27500

orudie@ubuntu:~/hlstatsx/perl$ sudo perl hlstats.pl
[sudo] password for orudie:
2008-03-23 11:34:08: - HLSTATSX: HLstatsX 1.20 RC2 starting...
2008-03-23 11:34:08: - UDP: Opening UDP listen socket on 69.113.115.65:27500 ... ok
2008-03-23 11:34:08: - MYSQL: Connecting to MySQL database 'hlstats' on 'localhost' as user 'hlstats' ... connected ok
2008-03-23 11:34:08: - MASTER: Masterserver address is 85.214.79.173
2008-03-23 11:34:08: - GLOBALSTATS: Global statsserver address is 85.214.79.173
2008-03-23 11:34:08: - HLSTATSX: Tracking Trend of the stats are enabled
2008-03-23 11:34:08: - HLSTATSX: Maximum Skill Change on all servers are 25 points
2008-03-23 11:34:08: - HLSTATSX: Minimum Skill Change on all servers are 2 points
2008-03-23 11:34:08: - HLSTATSX: Minimum Players Kills on all servers are 50 kills
2008-03-23 11:34:08: - HLSTATSX: Broadcasting public chat is disabled
2008-03-23 11:34:08: - HLSTATSX: HLstatsX is now running (Normal mode, debug level 1)
2008-03-23 11:36:06: - HLSTATSX: No data since 120 seconds
2008-03-23 11:38:06: - HLSTATSX: No data since 120 seconds
2008-03-23 11:39:10: - HLSTATSX: Insert new server trend timestamp


still the same http://www.selsovet.com/hlstatsx/hlstats.php
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)