Hey Guys,
let me try to discribe my problem(s)...
I pay for a dod source server from a gameserver hoster and want to install hlstatsx:ce.
The web based part like daemon and the interface ranking is hostet at my webhoster. so to diffrent server (1.game and 2.mysql/ftp)
i have setup everything like discribed in the wiki. The daemon is running when i type ./run_hlstats status everything is fine. I used the port 50052 because my gamehoster said i have only 4 other ports where i can communicate outside the server, so 50052 is one of that.
In HLSW sourcemod and metamod is also shown as activated. For ranking there is shown hlstatsx:ce.
No Error nothing, it seems to be working. When i type ingame chat hlx or /hlx the hlstatsx menu pops up with top 10 statsme, rank, awards and so on. When i chose one of this, nothing happend....
Ingame when we play on the server there is also nothing shown like got 2 points for killing john doe, but when i open the ingame console there stay something like me was killing from with 80hp rest, got 3 points bla bla. But not in the ingame chat.
also the hlstats webpage shows everytime 0/0 players no rankings. nothing.
here is a short tag from my hlstats log:
Code:
2014-01-28 23:44:35: - MYSQL: Connecting to MySQL database '******' on 'valve-media.de' as user '*******' ... connected ok
2014-01-28 23:44:35: - CONFIG: Reading database config...
2014-01-28 23:44:35: - CONFIG: I have found the following server configs in database:
2014-01-28 23:44:35: - S_CONFIG: 80.241.215.14:27067
2014-01-28 23:44:35: - ERROR: GeoIP method set to binary file lookup but Geo::IP::PurePerl module NOT FOUND
2014-01-28 23:44:35: - HLSTATSX: HLstatsX:CE 1.6.19 starting...
2014-01-28 23:44:35: - UDP: Opening UDP listen socket on port 50052 ... ok
2014-01-28 23:44:35: - HLSTATSX: Tracking Trend of the stats are enabled
2014-01-28 23:44:35: - HLSTATSX: Maximum Skill Change on all servers are 25 points
2014-01-28 23:44:35: - HLSTATSX: Minimum Skill Change on all servers are 2 points
2014-01-28 23:44:35: - HLSTATSX: Minimum Players Kills on all servers are 50 kills
2014-01-28 23:44:35: - HLSTATSX: Players chat logging is enabled
2014-01-28 23:44:35: - HLSTATSX: Broadcasting public chat is disabled
2014-01-28 23:44:35: - HLSTATSX: Event queue size is set to 10
2014-01-28 23:44:35: - HLSTATSX: HLstatsX:CE is now running (Normal mode, debug level 1)
Here when is start/restart daemon
Code:
scripts$ ./run_hlstats restart
HLstatsX:CE daemon control
http://www.hlxce.com
---------------------------
Attempting graceful shutdown of HLstatsX:CE daemon on port 50052 1
Attempting to start HLstatsX:CE daemon on port 50052...
Daemon successfully restarted on port 50052
Hlstats.conf
Code:
##
## Database Settings
##
# DBHost - Database server "address" or "address:port". Address can be an IP or
# a hostname. The default MySQL port is 3306 (tcp).
DBHost "valve-media.de"
# DBUsername - User to connect to the database as.
DBUsername "******"
# DBPassword - Password for the database user.
DBPassword "*******"
# DBName - Name of the database to use.
DBName "*****"
##
## 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 ""
# Port - Port to listen on for log data from the game servers. this is also valid for proxy-daemon.pl
Port 50052
##
## Cpanel hack
##
## Set this to 1 if you use cpanel and need to use a user-installed Perl module
CpanelHack 0
##
## Event Queue
##
## Number of each type of events to queue before inserting events of that type
## (larger installs may try raising this for better performance
EventQueueSize 10
# DebugLevel - Set this to 1 to have debugging information printed on stdout.
# Set higher for even more debugging information. Set to 0 for
# quiet operation. It is recommended that you set this to 1 when
# first configuring HLstats, to help diagnose any problems.
DebugLevel 1
config.php
Code:
// DB_ADDR - The address of the database server, in host:port format.
// (You might also try setting this to e.g. ":/tmp/mysql.sock" to
// use a Unix domain socket, if your mysqld is on the same box as
// your web server.)
define("DB_ADDR", "valve-media.de");
// DB_USER - The username to connect to the database as
define("DB_USER", "******");
// DB_PASS - The password for DB_USER
define("DB_PASS", "*******");
// DB_NAME - The name of the database
define("DB_NAME", "********");
// DB_TYPE - The database server type. Only "mysql" is supported currently
define("DB_TYPE", "mysql");
// DB_PCONNECT - Set to 1 to use persistent database connections. Persistent
// connections can give better performance, but may overload
// the database server. Set to 0 to use non-persistent
// connections.
define("DB_PCONNECT", 1);
// INCLUDE_PATH - Filesystem path to the includes directory, relative to hlstats.php. This must be specified
// as a relative path.
//
// Under Windows, make sure you use forward slash (/) instead
// of back slash (\) and use absolute paths if you are having any issue.
define("INCLUDE_PATH", "./includes");
// PAGE_PATH - Filesystem path to the pages directory, relative to hlstats.php. This must be specified
// as a relative path.
//
// Under Windows, make sure you use forward slash (/) instead
// of back slash (\) and use absolute paths if you are having any issue.
define("PAGE_PATH", "./pages");
// PAGE_PATH - Filesystem path to the hlstatsimg directory, relative to hlstats.php. This must be specified
// as a relative path.
//
// Under Windows, make sure you use forward slash (/) instead
// of back slash (\) and use absolute paths if you are having any issue.
//
// Note: the progress directory under hlstatsimg must be writable!!
define("IMAGE_PATH", "./hlstatsimg");
// How often dynamicly generated images are updated (in seconds)
define("IMAGE_UPDATE_INTERVAL", 300);
//define("DB_DEBUG", true);
here is the link to the web part
www.valve-media.de/hlstats/web
The scripts folder is not executable from the web... like said in the wiki
i Hope somebody can help me, that shit messed me up!