Raised This Month: $51 Target: $400
 12% 

Stats page showing 0/0 players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 03-17-2014 , 09:52   Stats page showing 0/0 players
Reply With Quote #1

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 IPORT

because I'm not sure what to use.
Phaiz is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 03-17-2014 , 11:47   Re: Stats page showing 0/0 players
Reply With Quote #2

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>
WildCard65 is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 03-17-2014 , 13:35   Re: Stats page showing 0/0 players
Reply With Quote #3

Quote:
Originally Posted by WildCard65 View Post
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 is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 03-17-2014 , 13:38   Re: Stats page showing 0/0 players
Reply With Quote #4

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?
Phaiz is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 03-17-2014 , 13:38   Re: Stats page showing 0/0 players
Reply With Quote #5

Did you place it in amxx.cfg and reboot the server?
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 03-17-2014 , 13:40   Re: Stats page showing 0/0 players
Reply With Quote #6

Quote:
Originally Posted by DruGzOG View Post
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 is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 03-17-2014 , 13:41   Re: Stats page showing 0/0 players
Reply With Quote #7

I also noticed this in my scripts folder log
./run_hlstats: line 186: ./hlstats.pl: Permission denied
Phaiz is offline
sixten_8_9@
Senior Member
Join Date: Jun 2009
Location: Sweden
Old 03-17-2014 , 15:53   Re: Stats page showing 0/0 players
Reply With Quote #8

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!!..
__________________
My Nick name is Nouton^
i have played cs for around 12years+
have build servers for about 12years
my website and my servers are: http://Nouton.se

i host at home did build my own server station for around 1300$.

Last edited by sixten_8_9@; 03-17-2014 at 15:54.
sixten_8_9@ is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 03-17-2014 , 18:25   Re: Stats page showing 0/0 players
Reply With Quote #9

Quote:
Originally Posted by DruGzOG View Post
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 View Post
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.

Last edited by WildCard65; 03-17-2014 at 18:26.
WildCard65 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-17-2014 , 18:30   Re: Stats page showing 0/0 players
Reply With Quote #10

Quote:
Originally Posted by Phaiz View Post
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
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:37.


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