Monthly Target: $400 Donations: $23
 5% 

[ANY] Hattrick's Geo Resolver (1.0.0.0) [Aug 2, 2015] +Plug-in


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: At home FFS
Old 08-01-2015 , 15:32   [ANY] Hattrick's Geo Resolver (1.0.0.0) [Aug 2, 2015] +Plug-in
Reply With Quote #1

This extension is intended to resolve geographical information by the IP address and does only work on Windows and Linux.

It uses two C libraries at the same time (MaxMindDb and GeoIP) in order to improve the look-up process ensuring that there are less chances to fail retrieving a record.

This is how a complete record looks like.

Spoiler


This is how the INC file looks like.

Spoiler


This is a test suite plug-in.

Spoiler


This is how to manually install the databases in /addons/sourcemod/data/GeoResolver directory.

Code:
Download and un-zip the next two files:

1.	GeoLite2 City	@	http://dev.maxmind.com/geoip/geoip2/geolite2/
2.	GeoLite City	@	http://dev.maxmind.com/geoip/legacy/geolite/

Their un-zipped names are:

1.	GeoLite2-City.mmdb
2.	GeoLiteCity.dat
Changes-log below.

Code:
1.0.0.0 @ Aug 1, 2015 - Initial release.
1.0.0.0 @ Aug 2, 2015 - Updated INC file and added Connect-Announce plug-in.
Attached Files
File Type: zip [Source Code] GeoResolver.zip (255.0 KB, 3 views)
File Type: zip GeoResolver.zip (279.2 KB, 3 views)

Last edited by claudiuhks; Yesterday at 03:59. Reason: Added Connect-Announce plug-in
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:11.


Powered by vBulletin®
Copyright ©2000 - 2015, vBulletin Solutions, Inc.
Theme made by Freecode