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

GeoIP module?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 11-27-2017 , 03:14   GeoIP module?
Reply With Quote #1

What is this error in console?
In modules.ini I have "geoip" activated.
I use GeoLite Country from:
https://dev.maxmind.com/geoip/legacy/geolite/

Code:
L 11/27/2017 - 09:33:46: [AMXX] Plugin "pingfaker.amxx" failed to load: Plugin uses an unknown function (name "geoip_code2") - check your modules.ini.
L 11/27/2017 - 09:34:48: [GEOIP] Could not find GeoIP2 databases. Disabled natives.

Last edited by smiley92; 11-27-2017 at 03:43.
smiley92 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-27-2017 , 06:07   Re: GeoIP module?
Reply With Quote #2

It means what it says. It can't find the database.

Long short story, you did not upgrade properly to amxx dev version and forgot to upload data/GeoLite2-Country.mmdb which is the new file used. You can download the latest version here http://geolite.maxmind.com/download/...Country.tar.gz.

On a side note, if you need to use all the available natives, you have to download the city database: http://geolite.maxmind.com/download/...e2-City.tar.gz.
__________________
Arkshine is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 11-27-2017 , 07:10   Re: GeoIP module?
Reply With Quote #3

To understand I used that GeoIP Country old?Version 1.0 of the database?

Don't must to update and that file with which comes server default?
smiley92 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-27-2017 , 07:39   Re: GeoIP module?
Reply With Quote #4

I don't understand what you're trying to ask.

You need either GeoLite2-Country.mmdb (which is provided by default, or downloadable) or GeoLite2-City.mmdb (downloadable) if you want to use all the natives.
__________________
Arkshine is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 11-27-2017 , 07:49   Re: GeoIP module?
Reply With Quote #5

"GeoLite2-Country.mmdb" is not provided by default, by default dedicated server it's coming with GeoIP.dat, something old version like that:
https://dev.maxmind.com/geoip/legacy/geolite/


If I'm wrong, please correct me.

Last edited by smiley92; 11-27-2017 at 07:55.
smiley92 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-27-2017 , 08:17   Re: GeoIP module?
Reply With Quote #6

__________________
Arkshine is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 11-27-2017 , 08:29   Re: GeoIP module?
Reply With Quote #7

Aa, on AMX-X 1.8.3 beta.I use 1.8.2 because is stable, more bugs on version 1.8.3.
On AMX-X 1.8.2 comes with another version of GeoIP-Country.

Last edited by smiley92; 11-27-2017 at 08:32.
smiley92 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-27-2017 , 08:35   Re: GeoIP module?
Reply With Quote #8

This "Could not find GeoIP2 databases. Disabled natives" message is from the dev version. You should have said that you're using GeoIP+ module (https://forums.alliedmods.net/showthread.php?t=95665). And even here, it says what file to download...
__________________
Arkshine is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 11-27-2017 , 08:46   Re: GeoIP module?
Reply With Quote #9

AMX-X 1.8.3 doesn't require to install metamod(v1.21.1-am) like AMX-X 1.8.2?

Last edited by smiley92; 11-27-2017 at 08:48.
smiley92 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 03:30.


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