View Single Post
Author Message
claudiuhks
Yam InsideŽ™℠
Join Date: Jan 2010
Location: Living Randomly
Old 08-01-2015 , 15:32   [ANY] Hattrick's GeoIP Resolver Jun. 17 2023 +Plug-ins (4) +Multi-threading
Reply With Quote #1

[ANY] Hattrick's GeoIP Resolver Jun. 17 2023 +Plug-ins (4) +Multi-threading

Github /ClaudiuHKS/SMAny-GeoResolver-Extension

This extension is intended to resolve Geographical Information,
by the IP Address (IPv4 Only),
and does only work on Windows and Linux.

It uses two free C libraries and databases at the same time
(MaxMindŽ's GeoLite2-City & GeoLiteCity),
in order to Improve the scanning process,
ensuring that there are Less Chances To Fail retrieving a record.

Furthermore, you can also Run In The Same Time,
up to eight MaxMindŽ databases (GeoLite2-City, GeoIP2-City, GeoLiteCity,
GeoIPCity, GeoLiteISP, GeoIPISP, GeoLite2-ASN & GeoIP2-ISP), if you own them.

How It Works

It starts scanning by using the free databases, to see if a result is retrieved,
then it goes on scanning, by using the other databases,
Completing The Missing Fields, that appear as N/ A.

The Features

It supports Updating the databases While The Game Server Is Running,
Without manually restarting it. Read the instructions inside the zipped file.

The Pictures

The Game Server's Console

Spoiler

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

Linux Needs

PHP Code:
libm.so.6 libpthread.so.0 libc.so.6
GLIBC_2.0 GLIBC_2.1.3 GLIBC_2.1
SSE 
(Streaming SIMD Extensions CPU
Windows Needs

PHP Code:
Visual Studio LATEST (x86Redistributable
AVX2 
(Advanced Vector Extensions 2 CPU
Or

PHP Code:
Visual Studio LATEST (x86Redistributable
SSE2 
(Streaming SIMD Extensions 2 CPU
Browse Windows Needs, or download Windows Needs.

Here you can download the databases.
You can also sign up on MaxMindŽ,
to download from their servers.

Source code on GitHub,
it also includes information about how to build it on Linux and Windows.
See extension.cpp.
Attached Files
File Type: zip SMAny-GeoResolver-Extension-1.0.zip (1.07 MB, 129 views)
__________________

Last edited by claudiuhks; 06-18-2023 at 18:08. Reason: Added GeoLite2 ASN DB Support & Multi-Threading
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks