Not tracking stats - no information from server

Anything about installing hlstatsx

Not tracking stats - no information from server

Postby orudie » Sat Mar 22, 2008 10:53 pm

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 viewtopic.php?f=4&t=2

followed this tutorial 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.
orudie
 
Posts: 25
Joined: Sat Mar 22, 2008 10:49 pm

Re: Not tracking stats - no information from server

Postby GTFO. G » Sun Mar 23, 2008 2:14 pm

1. Where is the perl script running? Different machine to game server?
2. Your server.cfg has no logaddress_add <IP: port>
GTFO. G
 
Posts: 94
Joined: Fri Dec 14, 2007 1:20 am

Re: Not tracking stats - no information from server

Postby orudie » Sun Mar 23, 2008 4:21 pm

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
Last edited by orudie on Sun Mar 23, 2008 4:52 pm, edited 2 times in total.
orudie
 
Posts: 25
Joined: Sat Mar 22, 2008 10:49 pm

Re: Not tracking stats - no information from server

Postby GTFO. G » Sun Mar 23, 2008 4:37 pm

Have you used logaddress_add IP:Port ??? in either server.cfg or autoexec.cfg? where IP is your gameserver IP address, and port is the port the perl script is listening on?
GTFO. G
 
Posts: 94
Joined: Fri Dec 14, 2007 1:20 am

Re: Not tracking stats - no information from server

Postby orudie » Sun Mar 23, 2008 5:39 pm

I edited my previous post, please scroll up
orudie
 
Posts: 25
Joined: Sat Mar 22, 2008 10:49 pm

Re: Not tracking stats - no information from server

Postby orudie » Mon Mar 24, 2008 3:28 am

ok, now i connected and finally saw some output from perl script, with an error though please take a look at it.

orudie@ubuntu:~/hlstatsx/perl$ sudo perl hlstats.pl
[sudo] password for orudie:
2008-03-23 22:22:39: - HLSTATSX: HLstatsX 1.20 RC2 starting...
2008-03-23 22:22:39: - UDP: Opening UDP listen socket on 69.113.115.65:27500 ... ok
2008-03-23 22:22:39: - MYSQL: Connecting to MySQL database 'hlstats' on 'localhost' as user 'hlstats' ... connected ok
2008-03-23 22:22:39: - MASTER: Masterserver address is 85.214.79.173
2008-03-23 22:22:39: - GLOBALSTATS: Global statsserver address is 85.214.79.173
2008-03-23 22:22:39: - HLSTATSX: Tracking Trend of the stats are enabled
2008-03-23 22:22:39: - HLSTATSX: Maximum Skill Change on all servers are 25 points
2008-03-23 22:22:39: - HLSTATSX: Minimum Skill Change on all servers are 2 points
2008-03-23 22:22:39: - HLSTATSX: Minimum Players Kills on all servers are 50 kills
2008-03-23 22:22:39: - HLSTATSX: Broadcasting public chat is disabled
2008-03-23 22:22:39: - HLSTATSX: HLstatsX is now running (Normal mode, debug level 1)
2008-03-23 22:23:25: 69.113.115.65:27016 - E997: NOT ALLOWED SERVER: ����RL 03/23/2008 - 22:23:25: rcon from "69.113.115.173:63887": command "echo HLSW: Test"
2008-03-23 22:24:03: 69.113.115.65:27016 - E997: NOT ALLOWED SERVER: ����RL 03/23/2008 - 22:24:04: "orudie<4><STEAM_ID_PENDING><>" connected, address "69.113.115.173:63891"
2008-03-23 22:24:04: 69.113.115.65:27016 - E997: NOT ALLOWED SERVER: ����RL 03/23/2008 - 22:24:05: "orudie<4><STEAM_0:0:9611835><>" STEAM USERID validated
2008-03-23 22:24:47: 69.113.115.65:27016 - E997: NOT ALLOWED SERVER: ����RL 03/23/2008 - 22:24:47: "orudie<4><STEAM_0:0:9611835><>" entered the game
2008-03-23 22:24:57: 69.113.115.65:27016 - E997: NOT ALLOWED SERVER: ����RL 03/23/2008 - 22:24:59: "orudie<4><STEAM_0:0:9611835><Unassigned>" joined team "Blue"
2008-03-23 22:24:59: 69.113.115.65:27016 - E997: NOT ALLOWED SERVER: ����RL 03/23/2008 - 22:25:00: "orudie<4><STEAM_0:0:9611835><Blue>" changed role to "demoman"
2008-03-23 22:26:58: - HLSTATSX: No data since 120 seconds
orudie
 
Posts: 25
Joined: Sat Mar 22, 2008 10:49 pm

Re: Not tracking stats - no information from server

Postby orudie » Mon Mar 24, 2008 4:09 am

I solved this by setting AllowOnlyConfigServers to 0 in /hlstatsx/perl/hlstats.conf
orudie
 
Posts: 25
Joined: Sat Mar 22, 2008 10:49 pm

1

Postby cobra8 » Thu Oct 30, 2008 3:02 pm

hmm...it's interesting,count me in.










want bang my hot wife?
cobra8
 
Posts: 3
Joined: Thu Oct 30, 2008 8:15 am


Return to Install

cron