AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved GeoIP's funcions not found? (https://forums.alliedmods.net/showthread.php?t=335992)

Shadows Adi 01-19-2022 13:17

GeoIP's funcions not found?
 
Hello,
I am trying to use geoip's functions in my plugin and this is what I get:
PHP Code:

Plugin uses an unknown function (name "geoip_city") - check your modules.ini.
Plugin uses an unknown function (name "geoip_country_ex") - check your modules.ini

Natives exists:
https://github.com/alliedmodders/amx....cpp#L273-L274

Module is loaded:
Code:
amxx modules Currently loaded modules:       name                    version     author               status  [ 1] MySQL                   1.9.0.5271  AMX Mod X Dev Team   running
 [ 2] GeoIP                   1.9.0.5294  AMX Mod X Dev Team   running
 [ 3] CURL AMXX               1.1.1       Polarhigh            running  [ 4] nVault                  1.9.0.5271  AMX Mod X Dev Team   running  [ 5] ReAPI                   5.21.0.248  Asmodai & s1lent     running  [ 6] CStrike                 1.9.0.5271  AMX Mod X Dev Team   running  [ 7] Ham Sandwich            1.9.0.5271  AMX Mod X Dev Team   running  [ 8] CSX                     1.9.0.5271  AMX Mod X Dev Team   running  [ 9] FakeMeta                1.9.0.5271  AMX Mod X Dev Team   running  [10] ReAimDetector           0.2.2       ReHLDS Team          running 10 modules, 10 correct

P.S.: Server used here is on windows.

OciXCrom 01-19-2022 13:25

Re: GeoIP's funcions not found?
 
How is your GeoIP a newer version from your AMXX? Are you sure you did everything right? I'd try redownloading AMXX.

Shadows Adi 01-19-2022 14:08

Re: GeoIP's funcions not found?
 
Quote:

Originally Posted by OciXCrom (Post 2768836)
How is your GeoIP a newer version from your AMXX? Are you sure you did everything right? I'd try redownloading AMXX.

Yea, now it works. Thanks, missed that.
Got the GeoIP from here: https://www.amxmodx.org/downloads-new.php, didn't updated the rest of the files tho.


All times are GMT -4. The time now is 22:00.

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