AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HLstatsX:CE (https://forums.alliedmods.net/forumdisplay.php?f=156)
-   -   Stats page showing 0/0 players (https://forums.alliedmods.net/showthread.php?t=237071)

Phaiz 03-17-2014 09:52

Stats page showing 0/0 players
 
I have recently moved my website to a dedicated server with cpanel and it has allowed me to get sourcebans to finally work however I am still having issues with hlstats. I don't see any errors anywhere in either the console log or any of the other error logs.

This is from my config.php

define("DB_ADDR", "server.skvrs.com");

// DB_USER - The username to connect to the database as
define("DB_USER", "serversk_hlstats");

// DB_PASS - The password for DB_USER
define("DB_PASS", "***");

// DB_NAME - The name of the database
define("DB_NAME", "serversk_hlstats");

This is from my hlstats.conf

DBHost "server.skvrs.com"

# DBUsername - User to connect to the database as.
DBUsername "serversk_hlstats"

# DBPassword - Password for the database user.
DBPassword "****"

# DBName - Name of the database to use.
DBName "serversk_hlstats"

I followed this install guide to the letter
http://tutorial.mooash.com/2011/07/2...unity-edition/

The only thing I have not done is initiate the
log on logaddress_add IP:PORT

because I'm not sure what to use.

WildCard65 03-17-2014 11:47

Re: Stats page showing 0/0 players
 
I think the daemon is not recieving the log from the gameserver.
So in server.cfg of the gameserver put this:
logaddress_add <ip of server running the daemon here>:<port the daemon is listening on here>

Phaiz 03-17-2014 13:35

Re: Stats page showing 0/0 players
 
Quote:

Originally Posted by WildCard65 (Post 2112659)
I think the daemon is not recieving the log from the gameserver.
So in server.cfg of the gameserver put this:
logaddress_add <ip of server running the daemon here>:<port the daemon is listening on here>

Still showing 0/0

Phaiz 03-17-2014 13:38

Re: Stats page showing 0/0 players
 
I first had logaddress_add 199.19.212.86:27500
then I changed it to logaddress_add 199.19.212.86:2087
This is the IP of my website/server which im assuming is where the daemon is running?

DruGzOG 03-17-2014 13:38

Re: Stats page showing 0/0 players
 
Did you place it in amxx.cfg and reboot the server?

Phaiz 03-17-2014 13:40

Re: Stats page showing 0/0 players
 
Quote:

Originally Posted by DruGzOG (Post 2112703)
Did you place it in amxx.cfg and reboot the server?

I don't know what amxx.cfg is but I do have server.cfg

Phaiz 03-17-2014 13:41

Re: Stats page showing 0/0 players
 
I also noticed this in my scripts folder log
./run_hlstats: line 186: ./hlstats.pl: Permission denied

sixten_8_9@ 03-17-2014 15:53

Re: Stats page showing 0/0 players
 
Help other people with this problem
after they have
ex:check port open not mysql or host port but perl port.

showing 0/0 players

what i did was i add logaddress_add ip:port

manual in server rcon "logaddress_add ip:port"
then "changelevel <MAP>"

and then it did work, most have add in server.cfg but it did not register
but when i did create file autoexec.cfg it work!!..

WildCard65 03-17-2014 18:25

Re: Stats page showing 0/0 players
 
Quote:

Originally Posted by DruGzOG (Post 2112703)
Did you place it in amxx.cfg and reboot the server?

Um, original poster didn't say what game this is for.

Quote:

Originally Posted by Phaiz (Post 2112702)
I first had logaddress_add 199.19.212.86:27500
then I changed it to logaddress_add 199.19.212.86:2087
This is the IP of my website/server which im assuming is where the daemon is running?

The daemon's ip is the machine's ip where you installed the hlstats:ce daemon(as instructed in the install instructions) and started via the command also in the install instructions.

YamiKaitou 03-17-2014 18:30

Re: Stats page showing 0/0 players
 
Quote:

Originally Posted by Phaiz (Post 2112707)
I also noticed this in my scripts folder log
./run_hlstats: line 186: ./hlstats.pl: Permission denied

chmod +x hlstats.pl

Or, add Execute permission for that file


All times are GMT -4. The time now is 07:26.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.