Commit Graph
100 Commits
Author SHA1 Message Date
Arkshine 41f6932b68 Remove some SourceMod namespace. 2014-08-10 22:25:14 +02:00
Arkshine 1ae40316a8 Fix nvault issues.
This includes an original one leading to a crash at mapchange if empty key or value are saved.
2014-08-10 22:11:40 +02:00
Arkshine 3dace577fe Remove svn_version.h reference from project files. 2014-08-10 19:08:50 +02:00
Arkshine 1395b42692 Update wincsx project files. 2014-08-10 19:06:21 +02:00
Arkshine c0a132e039 Update tsx module project files. 2014-08-10 18:53:13 +02:00
Arkshine 9b6110edc6 Update tsfun module projects files. 2014-08-10 18:47:02 +02:00
Arkshine 2b64ee21b3 Update tfcx module project files. 2014-08-10 18:42:04 +02:00
Arkshine a290f7d299 Update sockets module project files. 2014-08-10 18:38:24 +02:00
Arkshine a8e6cfe5cf Update regex module project files. 2014-08-10 18:29:55 +02:00
Arkshine 9d53d48552 Update ns module project files and use AMTL. 2014-08-10 18:29:55 +02:00
Arkshine 3f6ad29f55 Update sqlite module project files and use AMTL. 2014-08-10 18:29:38 +02:00
Arkshine ab16be08f5 Update nvault module project files and use AMTL. 2014-08-10 18:29:19 +02:00
Arkshine 3ba84fb283 Update mysql module project files and use AMTL. 2014-08-10 18:29:10 +02:00
Arkshine 4f3d335ab4 Update hamsandwich module project files and use AMTL. 2014-08-10 18:28:56 +02:00
Arkshine 4f776ee56b Update geoip module project files. 2014-08-09 20:59:21 +02:00
Arkshine 40313929eb Update fun module project files. 2014-08-09 20:54:20 +02:00
Arkshine c76509fe41 Update fakemeta module project files and use AMTL. 2014-08-09 20:50:45 +02:00
Arkshine 889ad7c3eb Update engine module project files and use AMTL. 2014-08-09 20:32:10 +02:00
Arkshine d59f4cf199 Update dodx module project files. 2014-08-09 19:56:34 +02:00
Arkshine dc9c2897fd Update dodfunc module project files. 2014-08-09 19:53:37 +02:00
Arkshine b17c624c81 Update csx module project files. 2014-08-09 19:47:31 +02:00
Arkshine 9dee60934f Update cstrike module project files. 2014-08-09 19:33:04 +02:00
Arkshine bc856740f2 Update AMBuildScript and renamed the generic moduleconfig.h file to avoid conflict. 2014-08-09 18:27:55 +02:00
Arkshine c497d478ce Move out base sdk folder into public directory. 2014-08-09 17:35:08 +02:00
Vincent Herbet 17683249fd Merge pull request #111 from Arkshine/fix-array-bcomp
Fix missing backward compatibility for some Array natives.
2014-08-09 15:31:03 +02:00
Arkshine 2c146f564e Fix missing backward compatibility for some Array natives. 2014-08-09 15:22:18 +02:00
Vincent Herbet fc1732e758 Fix possible compatibility issue,
Unfortunately some plugin doesn't explicit max length, resulting a compilation error with AMXX 1.8.3 compiler.
2014-08-09 13:09:53 +02:00
Vincent Herbet 486fa99602 Trigger a build. 2014-08-08 21:26:44 +02:00
Vincent Herbet 570c9cfc6b Merge pull request #110 from Arkshine/replace-more-snprintf
Replace more snprintf by UTIL_Format.
2014-08-08 20:38:38 +02:00
Vincent Herbet 02bed88835 Merge pull request #109 from Arkshine/update-project-files
Update project files.
2014-08-08 20:38:17 +02:00
Arkshine 62eac5d91c Replace _snprintf too. 2014-08-08 13:23:38 +02:00
Arkshine b47aa6871d Replace more snprintf by UTIL_Format. 2014-08-08 12:47:15 +02:00
Arkshine eeb4ecd109 Update project files. 2014-08-08 11:27:40 +02:00
Vincent Herbet c22bb12c1e Merge pull request #108 from Nextra/inc-doc
Update include documentation (mainly amxmodx.inc)
2014-08-08 01:25:56 +02:00
Vincent Herbet a7d94a4859 Merge pull request #107 from Arkshine/Fix-array-compatibility-issue
Fix a compatibility issue with the "reserved" parameter.
2014-08-07 21:38:51 +02:00
Arkshine 72b514cdde Make sure reserved parameter is a not a negative value. 2014-08-07 21:31:53 +02:00
Arkshine aa4e60ae27 Fix a compatibility issue with the "reserved" parameter. 2014-08-07 20:40:07 +02:00
Vincent Herbet 6a24935777 Merge pull request #106 from Arkshine/fix-fallback-language
Use server language as fallback if client's "lang" key is not defined.
2014-08-07 19:42:52 +02:00
Arkshine c03271c856 Use server language as fallback if client's "lang" key is not defined. 2014-08-07 14:20:29 +02:00
Vincent Herbet 8c591bf065 Merge pull request #105 from Arkshine/kill-snprintf
Replace all snprintf with UTIL_Format.
2014-08-07 08:38:21 +02:00
Arkshine 69c46aff80 Replace all snprintf with UTIL_Format. 2014-08-07 01:42:58 +02:00
Vincent Herbet d3bc58d80b Merge pull request #101 from Arkshine/textparsers
Introduce TextParser API
2014-08-07 01:24:51 +02:00
Vincent Herbet c72d130fde Merge pull request #104 from Arkshine/add-change_level
Add change_level() native.
2014-08-07 01:24:36 +02:00
Arkshine 58b6f9f353 fix the documentation. How it's possible to not see a double comma! 2014-08-07 01:26:05 +02:00
Arkshine e9eaae4dd1 Fix documentation. 2014-08-07 01:21:22 +02:00
Arkshine 29eb4e4647 Fix documentation. 2014-08-07 01:18:45 +02:00
Arkshine 6b5387f428 Fix documentation. 2014-08-07 01:16:44 +02:00
Arkshine a0852adf18 Fix wrong log error message. 2014-08-07 00:53:15 +02:00
Arkshine 6da2078067 Replace snprintf by UTIL_Format. 2014-08-07 00:51:01 +02:00
Arkshine 8d2770f2f2 Put back original SM headers. 2014-08-07 00:43:29 +02:00
Vincent Herbet fb4d05fd60 Fix documentation. 2014-08-06 19:39:19 +02:00
Arkshine 3369f6d115 Update license in pawn includes and add them in project files. 2014-08-06 09:24:09 +02:00
Arkshine 4b652198f0 Fix compilation. 2014-08-06 09:17:54 +02:00
Arkshine 2d07189e38 Fix few issues. 2014-08-06 09:17:53 +02:00
Arkshine b97093a778 Add more debug in plugin. 2014-08-06 09:17:51 +02:00
Arkshine 287cc1a0e8 Update MakeFile. 2014-08-06 09:17:50 +02:00
Arkshine 7317f1d233 Update PackageScript. 2014-08-06 09:17:48 +02:00
Arkshine 037af0aec2 Split INI/SMC API. 2014-08-06 09:17:47 +02:00
Arkshine 0cf5a2e12f Expose ParseFile_INI to API.
Some minor changes have been made in parser:

- Added ReadINI_ParseStart and ReadINI_ParseEnd call.
- Function returns SMCResult instead of bool. To avoid unecessary complexity and duplicating natives, this feels more appropriate to let these functions to share some SMCResult and SMCParse constants. Since properly documented, this should be ok.
- Made sure curtok is set to 0 when ptr_val is null, otherwise unexpected value would be passed into the forward.
2014-08-06 09:17:45 +02:00
Arkshine 9af7931a79 Introduce TextParser API. 2014-08-06 09:17:43 +02:00
Vincent Herbet 5fbc5c074d Merge pull request #99 from Arkshine/geoip-update-bis
Update Geoip module.
2014-08-05 23:26:27 +02:00
Arkshine 023c1e3baf Geoip: Fix missing continent id and fix indentation. 2014-08-05 23:00:00 +02:00
Arkshine adde73123f Geoip: Update license headers.
Hope this won't break merging.
2014-08-05 20:14:22 +02:00
Arkshine 178608c5f8 Geoip: Make some natives UTF-8 safe. 2014-08-05 20:12:26 +02:00
Arkshine 6babcafbec Geoip: Add a fallback to default language (en) in case of unsuccessful lookup with user's language. 2014-08-05 20:12:24 +02:00
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
Arkshine c9ea68d1d3 Fix typo in documentation. 2014-08-05 11:41:55 +02:00
Arkshine 10d5c8e9ad Add change_level() native. 2014-08-05 09:49:32 +02: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
Vincent Herbet 26d1449ac3 Merge pull request #98 from alliedmodders/vsgen
Tweak build scripts so the vs build frontend will work.
2014-08-02 22:15:24 +02:00
Vincent Herbet 5ddd37eb77 Merge pull request #97 from Arkshine/expose-set_amxstring_utf8
Expose set_amxstring_utf8 to AMXX API
2014-08-02 21:11:23 +02:00
Vincent Herbet 30b0585447 Fix missing cellstack.inc file. 2014-08-02 18:42:18 +02:00
Arkshine fc48579776 Update AMXX SDK in all modules. 2014-08-02 18:30:53 +02:00
Vincent Herbet 69371d6d6d Merge pull request #96 from xPaw/inc
Fix some comments
2014-08-02 18:18:27 +02:00
Vincent Herbet 102f88674b Merge pull request #95 from Arkshine/update-project-files
Update project files.
2014-08-02 13:53:18 +02:00
Arkshine 3b6726e0c7 Update project files. 2014-08-02 13:51:17 +02:00
Arkshine f43570c964 Fix typo and remove unecessary line. 2014-08-02 13:45:31 +02:00