Privet,
As you know, IDE is using a ip2c.dll country database library from ZDaemon, which comes from a free online database,
that however isn't being updated anymore (hasn't been updated since 2010 AFAIK) and the website http://ip-to-country.webhosting.info isn't even working anymore it seems.
As a result, IDE reports unknown or wrong countries for ~1/3 of all servers.
I'd like to suggest a much better database from maxmind.com which is:
- free
- much more precise
- updated every month
- extra easy to implement
It is the database that is used on GV servers on ST, and which Torr Samaho implemented into v1.1:
https://bitbucket.org/Torr_Samaho/zandronum/commits/f59b40146a3225632d103bd76779e41e53ac72c8
To access the database, maxmind.com offers APIs licensed under LGPL (so it should be fine to use them in IDE).
This is basically all the code you need for accessing the database to get the country from an IP in C++:
#include <GeoIP.h>
GeoIP * gi;
gi = GeoIP_new(GEOIP_STANDARD);
FString country;
country = GeoIP_country_code_by_addr ( gi, "/* IP as string here... */");
GeoIP_delete(gi);
Binary database: http://dev.maxmind.com/geoip/geolite
API: http://dev.maxmind.com/geoip/downloadable#Accessing_the_Database-2