Sign in to follow this  
rafoka

GeoIP expansion to City

Recommended Posts

Hello people,

 

I think can be very useful if have a src mod that extend the support to GeoIP City! Actually, it's only GeoIP Country.

 

The maxmind have a API, I downloaded it but my knowledges is not enough to integrate the API on rAthena or just adapt the acual rA code to read city database.

 

http://dev.maxmind.com/geoip/geolite

 

I think we can use, for example, to determine if people are using multiple accounts when "invite a player and win a reward", "v4p" and so many anti-fraud features. Also I can imagine something funny with that... a event that separates people by city/states/regions something like that could be funny.

 

I looked at the actual rA code, but I could not adapt it to read the cities because there are some constants that do not know what values ​​should be, among other things.

Share this post


Link to post
Share on other sites

Download New Geo IP database (GeoIP.dat) and replace in trunk\db???

Share this post


Link to post
Share on other sites

No, it's needed to change the rAthena that handle the geoIP database.

 

I thought right and it's silly to spend time on it, there is an API for PHP that can solve it more easily, the C API they have is very comprehensive and difficult to install Linux and Windows at the same time.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this