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

Get location info for players


Post New Thread Reply   
 
Thread Tools Display Modes
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: Czech_Republic
Old 01-03-2019 , 13:04   Re: Get location info for players
Reply With Quote #11

Quote:
Originally Posted by g0nz0uk View Post
Hi - I'm using IIS (Windows 2012R2), how do I do this? I will post back the results.

Thanks
You can found hlstats.conf in your HlStatsX daemon (hlstats.pl) folder.
DebugLevel 1, then restart daemon.

Logs are in logs folder (that folder will be created).
__________________

Last edited by NomisCZ; 01-03-2019 at 13:05.
NomisCZ is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-03-2019 , 13:21   Re: Get location info for players
Reply With Quote #12

In 'hlstats.pl', I see 'debug = 1;' already there.

The only log folder/file I can see is 'C:\hlsvr\logs' and a file called 'connection_log_27015.txt'

Is the the correct setting and log file?
g0nz0uk is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-04-2019 , 09:16   Re: Get location info for players
Reply With Quote #13

Stats are only counted when there are 4 or more players on the server. At least this counts for CS1.6, so i guess it is the same for HL1.
__________________

Mordekay is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-04-2019 , 09:34   Re: Get location info for players
Reply With Quote #14

Can this be changed for testing purposes or if I stick some bots on for 10 mins or so?
g0nz0uk is offline
vn_lind
Member
Join Date: Jul 2017
Old 01-20-2019 , 02:59   Re: Get location info for players
Reply With Quote #15

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

they changed it to GeoLite2 City , how to use that ? GeoLiteCity is not supported anymore.
vn_lind is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-20-2019 , 03:12   Re: Get location info for players
Reply With Quote #16

https://forums.alliedmods.net/showthread.php?t=311477

This however replace Sourcemod basic extension, geoip
__________________
Do not Private Message @me

Last edited by Bacardi; 01-22-2019 at 11:16. Reason: this have nothing to do
Bacardi is offline
vn_lind
Member
Join Date: Jul 2017
Old 01-20-2019 , 03:20   Re: Get location info for players
Reply With Quote #17

Quote:
Originally Posted by Bacardi View Post
https://forums.alliedmods.net/showthread.php?t=311477

This however replace Sourcemod basic extension, geoip
thank you ,, i will try it
vn_lind is offline
vn_lind
Member
Join Date: Jul 2017
Old 01-20-2019 , 06:14   Re: Get location info for players
Reply With Quote #18

Quote:
Originally Posted by Bacardi View Post
https://forums.alliedmods.net/showthread.php?t=311477

This however replace Sourcemod basic extension, geoip
i recompiled but i got this :

Code:
//// hlstatsx.sp
//
// D:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\include\loghelper.inc(51) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// hlstatsx.sp(207) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// hlstatsx.sp(208) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// hlstatsx.sp(209) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// hlstatsx.sp(211) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// hlstatsx.sp(212) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// hlstatsx.sp(213) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// hlstatsx.sp(214 -- 215) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// hlstatsx.sp(219) : warning 234: symbol "GuessSDKVersion" is marked as deprecated: See GetEngineVersion()
//
//
// hlstatsx.sp(1300) : error 157: 'char' is a reserved keyword
// hlstatsx.sp(1301) : error 029: invalid expression, assumed zero
// hlstatsx.sp(1301) : error 029: invalid expression, assumed zero
// hlstatsx.sp(1306) : error 029: invalid expression, assumed zero
// hlstatsx.sp(1300) : warning 204: symbol is assigned a value that is never used: "char"
//
// 4 Errors.
//
// Compilation Time: 0.5 sec
// ----------------------------------------
vn_lind is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-22-2019 , 11:05   Re: Get location info for players
Reply With Quote #19

I don't know which version you are compiling.

But I show this version, just for "example"


You maybe can ignore those "warnings"... I have no time to explain how you edit/change those.

But plugin source code is old, and use now keyword "char" on variable, that is problem.
https://bitbucket.org/Maverick_of_UC...statsx.sp-1304

You need replace "char" with other nonsense, example "x"

Last edited by Bacardi; 01-22-2019 at 11:16. Reason: this have nothing to do
Bacardi is offline
vn_lind
Member
Join Date: Jul 2017
Old 01-22-2019 , 11:10   Re: Get location info for players
Reply With Quote #20

Quote:
Originally Posted by Bacardi View Post
I don't know which version you are compiling.

But I show this version, just for "example"


You maybe can ignore those "warnings"... I have no time to explain how you edit/change those.

But plugin source code is old, and use now keyword "char" on variable, that is problem.
https://bitbucket.org/Maverick_of_UC...statsx.sp-1304

You need replace "char" with other nonsense, example "x"
i am trying to compile this version :

Code:
#define VERSION "1.6.19"
#define HLXTAG "HLstatsX:CE"
is not compiling at all on the latest SM , any help ?
vn_lind 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 09:59.


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