Re: GeoIP (ISP, Country, City) -
totar - 03.03.2013
Ok works, but the city not accurate. (Debrecen instead of Godollo wrote...)
Re: GeoIP (ISP, Country, City) -
Whitetiger - 03.03.2013
Quote:
City: 79% on a city level for the US within a 25 mile radius.
|
I don't work on the databases, I just port them, there is no info for other countries accuracy.
AW: Re: GeoIP (ISP, Country, City) -
Mr.Homer - 05.03.2013
Quote:
Originally Posted by Richie
I get: Country, ISP, City = unknown.
When i check my IP @ maxmind site all info shows, why?
|
I guess you tried in on a local Server. In case you did, your IP was 127.0.0.1 and the database, of course, can't locate 127.0.0.1. Happened to me too in the first Place.
Little Question: In which Format can I store the Timezone? I've tried to save it as an Integer (gave out 0) and as a string (gave out nothing).
Re: GeoIP (ISP, Country, City) -
dreamboxxl - 19.10.2013
Hello,
someone know what's exactly the code at onplayerconnect, to kick a specified country?
Greets
Re: GeoIP (ISP, Country, City) -
KingHual - 19.10.2013
Quote:
Originally Posted by dreamboxxl
Hello,
someone know what's exactly the code at onplayerconnect, to kick a specified country?
Greets
|
Code:
new IP[16], country[32];
GetPlayerIp(playerid, IP, sizeof(IP));
GetIPCountry(IP, country, 32);
if(!strcmp(country, "country")) Kick(playerid);
Re: GeoIP (ISP, Country, City) -
Whitetiger - 11.02.2015
I've updated the databases to be from Feb 2015.
Download
Re: GeoIP (ISP, Country, City) -
Luis- - 12.02.2015
Thanks for updating the database
Re: GeoIP (ISP, Country, City) -
Anuris - 16.02.2015
Can you please add a GetDistanceBetweenPlayers and GetDistanceBetweenIP?
Re: GeoIP (ISP, Country, City) -
RedFusion - 16.02.2015
Quote:
Originally Posted by Anuris
Can you please add a GetDistanceBetweenPlayers and GetDistanceBetweenIP?
|
GetDistanceBetweenPlayers could easily get confused for the distance between 2 ingame characters. GetDistanceBetweenIP sounds better.
Checking the IP Range should work just as fine for what i'm assuming you're doing..
Re: GeoIP (ISP, Country, City) -
Shady - 16.02.2015
Nice include bro
Re: GeoIP (ISP, Country, City) -
Adi007 - 29.07.2015
Quote:
Originally Posted by Whitetiger
I've updated the databases to be from Feb 2015. Download
|
Hello, you forgot to put "db_close(your_db);" one time and because of this mistake, owners' servers should be bugged. After using "db_open(your_db);" a lot of time, without using db_close, my server was bugged, and these problems appeared:
*SendRconCommand wasn't working.
*My server couldn't open anymore other files/databases from scriptfiles folder.
Actually you've used db_open for 6 times, and db_close for 5 times. Fix your include, others players may have problems because of this.
Sorry for bad english, GL.
Re: GeoIP (ISP, Country, City) -
Emre__ - 24.08.2015
You can always find latest version of GeoLite Databases
here.
Re: GeoIP (ISP, Country, City) -
GuthiX - 30.08.2015
Dude i put the inc and dbs also but there is the sendsclientmessage and no onplayerconnect so how we will get the location and all?
Re: GeoIP (ISP, Country, City) -
SecretBoss - 10.09.2015
Example script's link is dead can anyone upload any example script? thanks
Re: GeoIP (ISP, Country, City) -
N0FeaR - 30.11.2015
I love it!
Re: GeoIP (ISP, Country, City) -
dusk - 18.01.2016
How often do these databases change? Or not frequent enough that a web lookup would make more sense?
Re: GeoIP (ISP, Country, City) -
pawnuser - 28.05.2016
How to translate the country the Russian language?
Re: GeoIP (ISP, Country, City) -
Silicium - 22.07.2016
If you need updated .db - check my signature. Updates will be each month with the release of database from MaxMind.
Sry for my bad eng
Re: GeoIP (ISP, Country, City) -
Diman777 - 24.07.2016
Quote:
Originally Posted by Silicium
Updates will be each month with the release of database from MaxMind.
|
Thank schoolboy!
Re: GeoIP (ISP, Country, City) -
Silicium - 26.07.2016
np m8