PDA

View Full Version : [News] IpToCountry masterserver update 17/11/2008


AnthraX
17th November, 2008, 01:12 PM
It's been a while since the last update and a lot of IP ranges have been reassigned so I just updated the IpToCountry masterserver with a new database.

For people who were already using the utgl masterserver for countryflags nothing will change (except that identification of players will be more accurate), for people who weren't using the utgl masterserver but wish to do so now: open the IpToCountry.ini file in your server's system folder and change the ConfQueryServers[0] line so it reads: "ConfQueryServers[0]=85.236.100.16,utgl.unrealadmin.org/iptocountry13.php"

Here's a link to the masterserver scripts and the new database:
http://utgl.unrealadmin.org/IpToCountry/20081117/IpToCountry-Masterserver-20081117.zip

Last GeoIP update on the utgl masterserver: april 2009

adminthis
17th November, 2008, 04:16 PM
I still rely on my own masterserver which I manually update every month :P The server provided by unrealadmin.org seems to be "returning bad data" a little too many times for me to be using it. I'm also not a big fan of returning countrynames in ALL CAPS so that had to change and while we're at it, why not increase the cache of IpToCountry to 1024 entries since IP address space re-allocation doesn't happen *that* often and lookups are awfully slow [oh and I got rid of the dependecy on the AOL extension :]]. Other than that IpToCountry is one hell of an add-on. Wow.

2399Skillz
17th November, 2008, 06:11 PM
I still rely on my own masterserver which I manually update every month :P The server provided by unrealadmin.org seems to be "returning bad data" a little too many times for me to be using it. I'm also not a big fan of returning countrynames in ALL CAPS so that had to change and while we're at it, why not increase the cache of IpToCountry to 1024 entries since IP address space re-allocation doesn't happen *that* often and lookups are awfully slow [oh and I got rid of the dependecy on the AOL extension :]]. Other than that IpToCountry is one hell of an add-on. Wow.

Share your server with the rest of us? Maybe? :D

[ZSZ]Evil_Dragon
17th November, 2008, 06:27 PM
Not sure where to post this, but I think it would be great to have IPtoCountry somehow connected to AKA, so in the AKA..log.ini you see the player's IP, ASC-ID and the hostname.

Reason is that many players nowadays change IP and ID more frequently than others their underwear, plus with new ID the old one just gets overwritten, so a real identification is barely possible anymore.

Seeing the hostnames would be a big help here, also if you want to add a hostname ban and before doing that want to check who you might ban then without wanting it.

Would that be possible?

[ZSZ]Evil_Dragon
26th November, 2008, 08:29 PM
Well, if not, then maybe another question:

There is room for 255 entries in my IPToCountry.ini, but it keeps getting cleared at about 10 or so.

Can someone tell me what to set where in the .ini please to make it fill up all 255?

Matthew
2nd January, 2009, 08:26 PM
http://utgl.unrealadmin.org/iptocountry-ut.php?ip=74.125.95.17,74.125.95.104

^^ The hosted script throws a PHP error when more than one IP is set to be resolved, thought I'd let you know ;)

2399Skillz
2nd January, 2009, 08:30 PM
http://utgl.unrealadmin.org/iptocountry-ut.php?ip=74.125.95.17,74.125.95.104

^^ The hosted script throws a PHP error when more than one IP is set to be resolved, thought I'd let you know ;)

http://utgl.unrealadmin.org/iptocountry13.php?ip=74.125.95.17,74.125.95.104

Worked fine for me.

SoNY_scarface
2nd January, 2009, 08:38 PM
Worked fine for me too..

Matthew
2nd January, 2009, 08:51 PM
Ah sorry I confused myself... I'm working with the IpToCountry source and blindly copied the URL from the default value in the source code, which is very very old :P

2399Skillz
3rd January, 2009, 12:55 AM
Ah sorry I confused myself... I'm working with the IpToCountry source and blindly copied the URL from the default value in the source code, which is very very old :P

It happens to the best of us. :thumbup: