Raised This Month: $62 Target: $400
 15% 

Get location info for players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
g0nz0uk
Member
Join Date: Mar 2014
Old 01-02-2019 , 08:33   Get location info for players
Reply With Quote #1

Hello,

I've managed to migrate my HL1 DM server from a Windows 2003 32bit server to a Windows 2012R2 server and all is working thanks to help from NomisCZ.

They old server can get players location in the stats, but the new server isn't, can someone explain how I do this?

Thanks
g0nz0uk is offline
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: $this->Czech_Republic
Old 01-02-2019 , 12:44   Re: Get location info for players
Reply With Quote #2

Hi,
try to install GEO-IP-PUREPERL - https://code.activestate.com/ppm/Geo-IP-PurePerl/

Download latest GeoLiteCity "database" - http://geolite.maxmind.com/download/...iteCity.dat.gz and extract it to <daemon_dir>/scripts/GeoLiteCity/<GeoLiteCity.dat>

In HLStatsX admin -> Settings -> find something like IP lookup method ... -> GeoIP via binary file

Restart daemon.

https://bitbucket.org/Maverick_of_UC...ition/wiki/FAQ
__________________



Steam: NomisCZ
NomisCZ is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-02-2019 , 13:06   Re: Get location info for players
Reply With Quote #3

Trying this now.

Last edited by g0nz0uk; 01-02-2019 at 13:15.
g0nz0uk is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-02-2019 , 13:27   Re: Get location info for players
Reply With Quote #4

Hmm GEO-IP-PUREPERL installed fine, got the dat file and replaced the one there, GeoIP via binary file set to, but no change.

I will restart the server.
g0nz0uk is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-02-2019 , 16:50   Re: Get location info for players
Reply With Quote #5

Seems to work after a reboot!

2 of us just went on the server, but the HLstats website shows nothing under the Players, weapons or the maps tab, have I missed something?

The chat and server tab is ok though.
g0nz0uk is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-02-2019 , 18:14   Re: Get location info for players
Reply With Quote #6

If I set the stats to zero we show up:

https://1drv.ms/u/s!AiDwztGEAbFV_EWsK3YeYsyfWFwK

g0nz0uk is offline
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: $this->Czech_Republic
Old 01-03-2019 , 04:49   Re: Get location info for players
Reply With Quote #7

Yeah, because nobody has more then 0-1 kill.

OK, so everything works?
__________________



Steam: NomisCZ
NomisCZ is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-03-2019 , 11:02   Re: Get location info for players
Reply With Quote #8

No 2 of us went on the server and killed each other many times, but no stats.
g0nz0uk is offline
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: $this->Czech_Republic
Old 01-03-2019 , 12:20   Re: Get location info for players
Reply With Quote #9

Quote:
Originally Posted by g0nz0uk View Post
No 2 of us went on the server and killed each other many times, but no stats.
In daemon config enable debug and check cmd window/log file.
__________________



Steam: NomisCZ
NomisCZ is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-03-2019 , 12:49   Re: Get location info for players
Reply With Quote #10

Hi - I'm using IIS (Windows 2012R2), how do I do this? I will post back the results.

Thanks
g0nz0uk is offline
Reply


Thread Tools
Display Modes

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 02:41.


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