Commit Graph

4180 Commits

Author SHA1 Message Date
Arkshine
ec3ff1deb9 Geoip: Add command to get database metadata and to dump all data of an IP address for debugging purposes.
And for some reason some project files were not pushed.
2014-08-05 20:12:23 +02:00
Arkshine
67bfe6bb36 Geoip: Fix possible buffer overflow. 2014-08-05 20:12:21 +02:00
Arkshine
17e0ab99e6 Geoip: Update documentation. 2014-08-05 20:12:20 +02:00
Arkshine
674600bab2 Geoip: Reorganize and update project files. 2014-08-05 20:11:31 +02:00
Arkshine
52543481dd Geoip: Increase buffer and fix potential overflow crash. 2014-08-05 20:09:18 +02:00
Arkshine
d2ed9e70cd Geoip: Add an optional parameter in some natves to get a result in player's language.
This is new with Geoip2 database where some entries, like country, city, etc, are translated in several languages.
So far: de, en, es, fr, ru, pt-BR, zh-CN.
2014-08-05 20:09:16 +02:00
Arkshine
210cba53b9 Geoip: Fix stripPort typo. 2014-08-05 20:08:31 +02:00
Arkshine
abaee9f4a3 Geoip: Add geoip_continent_name() native. 2014-08-05 20:08:30 +02:00
Arkshine
fc19f53ea9 Geoip: Add geoip_continent_code() native. 2014-08-05 20:08:28 +02:00
Arkshine
81d56dfdc0 Geoip: Add geoip_distance() native. 2014-08-05 20:08:27 +02:00
Arkshine
6941e406f4 Geoip: Add geoip_latitude() and geoip_longitude() natives. 2014-08-05 20:08:25 +02:00
Arkshine
b439753ac5 Geoip: Add geoip_timezone() native. 2014-08-05 20:08:24 +02:00
Arkshine
c11f721ad4 Geoip: Add geoip_region_name() native. 2014-08-05 20:08:22 +02:00
Arkshine
b61ed9fa3e Geoip: Add geoip_region_code() native. 2014-08-05 20:08:20 +02:00
Arkshine
95bc1703a6 Geoip: Add geoip_city() native. 2014-08-05 20:08:19 +02:00
Arkshine
0d59209e4c Geoip: Replace GeoIP.dat by GeoLite2-Country.mmdb. 2014-08-05 20:08:17 +02:00
Arkshine
7dd1ea3719 Geoip: Convert code to libmaxminddb API. 2014-08-05 20:08:16 +02:00
Arkshine
9d59de41a2 Geoip: Fix compilation #4. 2014-08-05 20:07:10 +02:00
Arkshine
6916eb8613 Geoip: Module should clear memory at mapchange. 2014-08-05 20:07:08 +02:00
Arkshine
94552e5503 Geoip: Fix compilation #3
Update project files.
2014-08-05 20:04:55 +02:00
Arkshine
936d4f4f6d Geoip: Fix compilation #2
A trick to bypass issue where variable creaton was required at the top of function.
2014-08-05 20:04:54 +02:00
Arkshine
526a70a6d7 Geoip: Fix compilation #1
MSVC doesn't fully implement C99, ssize_t, stdbool.h, etc have to be provided manually.
Most of fixes are casting type and unpacking structure.
2014-08-05 20:04:52 +02:00
Arkshine
58a64597e8 Geoip: Import libmaxminddb library which supports Geoip2 databases. 2014-08-05 20:04:50 +02:00
Arkshine
209f46a235 Geoip: Remove GeoIP library. 2014-08-05 20:04:49 +02:00
Scott Ehlert
b2dd2661d0 Merge pull request #103 from alliedmodders/gpl3-deux
Update amxx gpl command and ship license files.
2014-08-04 14:49:29 -05:00
Scott Ehlert
d1122b982c Ship license files with builds. 2014-08-04 14:40:01 -05:00
Scott Ehlert
9c08b11a75 Update 'amxx gpl' server command with new license text. 2014-08-04 14:31:28 -05:00
Scott Ehlert
4733155583 Merge pull request #102 from alliedmodders/gpl3
Add license files for GPL2+/GPL3+ and update headers.
2014-08-04 13:43:21 -05:00
Scott Ehlert
2a18a264d4 Update date for license and GPLv2 exception. 2014-08-04 13:18:42 -05:00
Scott Ehlert
f787db1be5 Update license headers for plugins and includes. 2014-08-04 13:18:41 -05:00
Scott Ehlert
d113b1b646 Update license headers for ts modules. 2014-08-04 13:18:40 -05:00
Scott Ehlert
8be13a4ecc Update license headers for tfcx module. 2014-08-04 13:18:40 -05:00
Scott Ehlert
12775d0627 Update license headers for sqlite module. 2014-08-04 13:18:39 -05:00
Scott Ehlert
5ec6cc0d5e Update license headers for socket module. 2014-08-04 13:18:38 -05:00
Scott Ehlert
edeb44b0b8 Update license headers for regex module. 2014-08-04 13:18:37 -05:00
Scott Ehlert
bf30d1d3ce Update license headers for nvault module. 2014-08-04 13:18:36 -05:00
Scott Ehlert
1fc2e8cc6f Update license headers for ns module. 2014-08-04 13:18:35 -05:00
Scott Ehlert
4be6ca834a Update license headers for mysql module. 2014-08-04 13:18:35 -05:00
Scott Ehlert
7274beebed Update license headers for hamsandwich module. 2014-08-04 13:18:34 -05:00
Scott Ehlert
b7c205baf0 Update license headers for geoip module. 2014-08-04 13:18:33 -05:00
Scott Ehlert
c41219ae79 Update license headers for fun module. 2014-08-04 13:18:32 -05:00
Scott Ehlert
96a8fc5700 Update license headers for fakemeta module. 2014-08-04 13:18:31 -05:00
Scott Ehlert
caf0dbb341 Update license headers for engine module. 2014-08-04 13:18:31 -05:00
Scott Ehlert
82784a6169 Update license headers for dod modules. 2014-08-04 13:18:30 -05:00
Scott Ehlert
b6103a1916 Update license headers for cstrike modules. 2014-08-04 13:18:29 -05:00
Scott Ehlert
1cff91ced5 Update license headers for compiler. 2014-08-04 13:18:28 -05:00
Scott Ehlert
1bb54f839e Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
Scott Ehlert
45ea164270 Add licenses for GPLv2 and GPLv3. 2014-08-03 17:25:18 -05:00
Scott Ehlert
82371fea3b Add new GPLv3 license text and acknowledgements. 2014-08-03 17:24:27 -05:00
Vincent Herbet
69fc7eeabe Merge pull request #100 from xPaw/xs
Remove XS__LIBRELEASE and tabs so docgen can catch the stocks
2014-08-03 22:25:42 +02:00