sourcemod/extensions/geoip
Accelerator b0563a493c
Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245)
* Add support for Maxmind GeoIP2 database files (#913).

* Copy/paste error.

* Mark GeoipCode3 as deprecated.

* Fix build when compiling with AMBuild.

* Replace loose libmaxminddb files with submodule.

* Fix Linux build.

* One more hack for submodule.

* Actually fix Linux build.

* GeoIP2 extension to sourcemod

* Update basevotes

When a player leaves during a voteban, he will be banned anyway. Also added a cvar with a ban time setting.

* Update basevotes.sp

* Update AMBuilder

* ke::AString to std::string

* Update extension.cpp

* Update AMBuilder

* Added coordination natives

Added GeoipLatitude, GeoipLongitude, GeoipDistance natives.

* Create osdefs.h

* Update maxminddb_config.h

* Update extension.cpp

* Update extension.cpp

* Added automatic search for database file

* Fix automatic search for database file

* Update extension.cpp

* Update geoip.inc

* .gitmodules revert

* Update geoip.inc

* Update libmaxminddb to version 1.5.2

* Update extension.cpp

* Check language in the DB

* Removed langCount variable

* Determination of the client's language

* Update geoip.inc

* Update geoip.inc

* Update extension.cpp

* Update geoip.inc

* Update extension.cpp

* space instead of tab in .inc

* Update extension.cpp

* Update geoip.inc

* Optimizing length measurement region code

* Update package script to fetch the new GeoLite2 database

This package is the last CC-BY-SA licensed GeoLite2-City database extracted from https://src.fedoraproject.org/rpms/geolite2 from december 2019.

This doubles the download size for SM packages, but it's what we have to deal with atm :(

* Fix potentially returning uninitialized memory in GeoipRegionCode

If the lookup failed, we'd copy back whatever is on the stack in the ccode buffer.

Co-authored-by: Nick Hastings <nshastings@gmail.com>
Co-authored-by: Headline <michaelwflaherty@me.com>
Co-authored-by: Accelerator74 <dmitry@447751-accele74.tmweb.ru>
Co-authored-by: Peace-Maker <peace-maker@wcfan.de>
2021-06-30 13:01:12 +02:00
..
AMBuilder Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
data-pool.c Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
data-pool.h Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
extension.cpp Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
extension.h Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
geoip_util.cpp Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
geoip_util.h Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
maxminddb_config.h Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
maxminddb-compat-util.h Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
maxminddb.c Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
maxminddb.h Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
osdefs.h Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
smsdk_config.h Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
version.rc Overhauled versioning information (bug 5453, r=dvander). 2012-08-26 01:33:54 +01:00