sneak-it / PlayerAnalytics

Fork of Dr. McKay's Player Analytics plugin with additional CS:GO support
GNU General Public License v3.0
9 stars 1 forks source link

Update GeoIPCity for GeoIP2 #4

Closed crashzk closed 5 years ago

crashzk commented 5 years ago

I would like to know if you want to upgrade GeoIPCity to the new version, GeoIP2.

I ask because I currently have the following error when I use the plugin:

[20] <FAILED> file" geoipcity.ext.so ": Failed to open: / home / clients / OGP_User_Files / whmcs / 504 / csgo / addons / sourcemod / configs / geoip / GeoIPCity.dat

I searched to download GeoIPCity.dat but it no longer exists.

Or would you have some correction for this error?

sneak-it commented 5 years ago

Maxmind has dropped support of the initial GeoIP and GeoIP versions in favor of GeoIP2. Official GeoIP2 support via Sourcemod is a work in progress: https://github.com/alliedmodders/sourcemod/pull/914

Here is the last known GeoIPCityLite database that I was able to find: https://forums.alliedmods.net/showpost.php?p=2645935&postcount=102

crashzk commented 5 years ago

Here is the last known GeoIPCityLite database that I was able to find: https://forums.alliedmods.net/showpost.php?p=2645935&postcount=102

Yes, I downloaded this version too, but here comes a file with nEnrtl name, while the right one would be a GeoIPCity.dat file. I would have some way / setting that I should do with this download file.

nEnrtl.zip

sneak-it commented 5 years ago

Apologies, fixed the zip file: https://share.snksrv.com/f/ypA7GK.zip

crashzk commented 5 years ago

Thank you very much, I will be testing there, anything will return the contact, thanks again!

sneak-it commented 4 years ago

@crashzk Went ahead and created a new branch with GeoIP2 support: https://github.com/sneak-it/PlayerAnalytics/tree/geoip2

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