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

perl hlstats.pl?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
reid123455
Junior Member
Join Date: May 2015
Old 05-24-2015 , 15:01   perl hlstats.pl?
Reply With Quote #1

Hi everyone
I don't have any concepts about MySQL, web server... etc
Im sorry for that and I cant even understand official wiki tutorial completely

Fortunately, I found this guide from other web
(here is what I found: http://goo.gl/NaJGNx)
And I just did it step by step to establish my website
Everything was fine, but I stuck in step.8
When I clicked hlstats.pl and the cmd window just show up for a second and disappear immediately
I couldn't even know what just happened then
So I skipped the step.8 and finished all tutorial

Now,
I have 3 problems
1.When I see the HLstatsX from google chrome
HLstatsX isnt tracing my game server


2.In my game server
When I say rank or top10 and nothing happen but hlx_menu is working

3.Though hlx_menu is working well, but any options you choose just let the menu disappear

If anyone need more information from me, just tell me
And sorry for my bad English
reid123455 is offline
reid123455
Junior Member
Join Date: May 2015
Old 05-25-2015 , 20:52   Re: perl hlstats.pl?
Reply With Quote #2

I think i know what is perl a little bit
Just use perl package manager to install "MySQL DBI // DBD" and "Geo-IP PurePerl"
But I still have the same problem
I type "rank" or "top10" in my game server and nothing happen
Here is log in daemon


I type "logaddress_add 127.0.0.1:27500" in server.cfg and autoexec.cfg
And daemon still didnt receive the data from my game server
how to fix the data problem?
help me plz
reid123455 is offline
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 05-26-2015 , 07:04   Re: perl hlstats.pl?
Reply With Quote #3

1. did you put the plugin on the server?
2. did you restart the daemon?
Doulos is offline
reid123455
Junior Member
Join Date: May 2015
Old 05-26-2015 , 07:45   Re: perl hlstats.pl?
Reply With Quote #4

Yes, I did it
I think the problem is "logaddress_add 127.0.0.1:27500"
Because HLstatsX web is hosting on localhost
So I type 127.0.0.1:27500, is that wrong?
I dont know what to do now
Plz somebody help me
reid123455 is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-26-2015 , 09:08   Re: perl hlstats.pl?
Reply With Quote #5

Ok, the next thing I would check is if the daemon is receiving logs from the server and then check what address the server is sending them through and compare it what the daemon is looking for(the non-public ip entry when adding servers to the database via webpanel)
__________________
WildCard65 is offline
reid123455
Junior Member
Join Date: May 2015
Old 05-26-2015 , 10:30   Re: perl hlstats.pl?
Reply With Quote #6

Quote:
Originally Posted by WildCard65 View Post
if the daemon is receiving logs from the server
Nope, just show "HLSTATSX: No data since 120 seconds"

Quote:
Originally Posted by WildCard65 View Post
then check what address the server is sending them through
Did u mean WAN IP? I check it from IP Checker on internet (My IP is 106.105.187.5)
So... I guess my game server is sending through 106.105.187.5

Quote:
Originally Posted by WildCard65 View Post
compare it what the daemon is looking for(the non-public ip entry when adding servers to the database via webpanel)
the daemon is tracing 106.105.187.5 I guess
but the problem is my game server seems to not send data for daemon
reid123455 is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-26-2015 , 10:47   Re: perl hlstats.pl?
Reply With Quote #7

Quote:
Originally Posted by reid123455 View Post
Nope, just show "HLSTATSX: No data since 120 seconds"
That means the daemon isn't receiving any logs so you do the follow steps:
A) Make sure the game server is even logging anything(make sure you have "log on" somewhere)
B) Make sure it's sending logs to the correct ip + port(If daemon and game server are on same machine, send the logs through localhost/127.0.0.1 or via the machine's LAN ip)
C) After Step B is done, recheck if daemon is receiving logs now.
__________________
WildCard65 is offline
reid123455
Junior Member
Join Date: May 2015
Old 05-27-2015 , 18:11   Re: perl hlstats.pl?
Reply With Quote #8

I type "log on" and "logaddress_add 127.0.0.1:27500" in server.cfg and autoexec.cfg
Daemon still show "HLSTATSX: No data since 120 seconds"
I even type "log on" and "logaddress_add 127.0.0.1:27500" through game server console

Still no luck
I really dont know how to let daemon receive game server data
Is 127.0.0.1 not a correct IP? But daemon and game server are on the same computer
reid123455 is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-28-2015 , 06:42   Re: perl hlstats.pl?
Reply With Quote #9

Make sure no firewalls are blocking communication between the game server and daemon. I can't remember but I think I recall Linux being a bit different on how it handles listening on ports. I would try making the game server feedback logs onto itself VIA it's LAN IP.
__________________
WildCard65 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 00:58.


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