Commit Graph
100 Commits
Author SHA1 Message Date
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
Vincent Herbet fb4d05fd60 Fix documentation. 2014-08-06 19:39:19 +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
Arkshine b5fe5d29c9 Add MF_SetAmxStringUTF8Char and MF_SetAmxStringUTF8Cell. 2014-08-02 13:42:14 +02:00
Vincent Herbet 3ac76914bd Merge pull request #94 from Arkshine/adt-stack
Introduce API to create Stack structures
2014-08-01 23:49:56 +02:00
Arkshine c3c5149fa0 Add new line at the end of file. 2014-08-01 23:20:29 +02:00
Arkshine e7b7506efa Introduce API to create Stack structures 2014-08-01 23:14:44 +02:00
Vincent Herbet 0bfcaa85b6 Merge pull request #93 from Arkshine/atcprintf-new-parameters
Add new special format specifiers.
2014-08-01 22:34:57 +02:00
Arkshine 4ab559ceef Fix various issues. 2014-08-01 22:08:45 +02:00
Vincent Herbet 5689be448c Merge pull request #35 from Freeman-AM/master
hlsdk_const.inc : Add iuser1 constants
2014-08-01 19:12:16 +02:00
Arkshine bbc83291ef Add new format parameters. 2014-08-01 18:55:07 +02:00
Vincent Herbet 47dc226393 Merge pull request #76 from Arkshine/improve-cellarray
Update dynamic Array.
2014-08-01 18:03:53 +02:00
Arkshine eabafd4eed Fix typo, documention and others issues. 2014-08-01 09:21:26 +02:00
Vincent Herbet c255191a2a Merge pull request #91 from skyrim/bug/possible-buffer-overflow
Fix of a possible buffer overflow
2014-07-31 08:27:43 +02:00
Vincent Herbet 2b1b400e37 Merge pull request #90 from Arkshine/fix-compilation
Fix compilation.
2014-07-30 10:20:28 +02:00
Arkshine 6040dbfbb9 Fix compilation. 2014-07-30 10:19:41 +02:00
Vincent Herbet 2b93228076 Merge pull request #89 from skyrim/code/charsmax-magic-nums
Replaced sizeof(str)-1 and magic nums with charsmax
2014-07-30 10:07:07 +02:00
Vincent Herbet f1e07caca4 Fix compilation. 2014-07-29 12:22:32 +02:00
Vincent Herbet 0365676262 Merge pull request #88 from xPaw/client-cmd-be-g
Remove some client_cmd
2014-07-29 12:15:20 +02:00
Vincent Herbet b4365e3fb9 Merge pull request #87 from xPaw/what-is-this
Instead of assigning FCVAR_PROTECTED to cvars after startup, register cv...
2014-07-28 23:41:40 +02:00
Vincent Herbet 4c1dac3cd5 Merge pull request #86 from xPaw/amx-ban
Trim target in amx_ban to prevent bypassing equali checks
2014-07-28 23:02:25 +02:00
Vincent Herbet 919af60ca9 Merge pull request #85 from xPaw/missing-tr
Add missing [tr] translations
2014-07-28 21:45:14 +02:00
Vincent Herbet 16d19097c5 Merge pull request #84 from xPaw/amx-help
Replace hardcoded defines in adminhelp with cvars
2014-07-27 15:05:44 +02:00
Vincent Herbet 580eb24546 Fix compilation warning. 2014-07-27 13:48:05 +02:00
Vincent Herbet 8d719e1191 Merge pull request #83 from xPaw/leet-speek-can-go-to-hell
Remove leet speak
2014-07-27 13:09:44 +02:00
Vincent Herbet d2595b8b92 Merge pull request #31 from xPaw/burn-baby-burn
Remove compatibility stuff from the core
2014-07-27 12:07:58 +02:00
Vincent Herbet 88042ce5a9 Merge pull request #82 from xPaw/ml-plugin-update
Multilingual plugin update
2014-07-27 11:57:51 +02:00
Vincent Herbet 87c0be470b Merge pull request #80 from xPaw/package-script
Package script fixes
2014-07-27 11:44:56 +02:00
Vincent Herbet 3241e91e84 Merge pull request #81 from xPaw/messing-with-copyrights
Update copyright year
2014-07-27 11:42:08 +02:00
Vincent Herbet c97312ba41 Merge pull request #79 from Arkshine/remove-debug
Remove old debug lines.
2014-07-26 23:19:06 +02:00
Arkshine e440663ea3 Remove old debug lines. 2014-07-26 23:19:28 +02:00
Vincent Herbet a77b946ce2 Merge pull request #78 from 9iky6/patch-9
Update statsx.sma
2014-07-26 18:39:23 +02:00
Arkshine 42fa547cb4 Improve CellArray. 2014-07-25 21:28:23 +02:00
Vincent Herbet 0b7bc23a30 Merge pull request #73 from Arkshine/maxclients
Add some generic constants - part 2
2014-07-25 09:56:08 +02:00
Arkshine a2b564eaaa Fix another potantial bug. 2014-07-20 17:48:05 +02:00
Arkshine 0347571ee9 Fix some typos and possible bugs. 2014-07-20 17:31:43 +02:00
Arkshine da63bcb24b Fix redefinition of constant. 2014-07-20 17:14:05 +02:00
Arkshine 1fe80667a2 Fix definitively unused variable warning. 2014-07-20 15:25:37 +02:00
Arkshine ee2ae84d7a Remove MAX_PLAYERS define assocaited to get_players. 2014-07-20 15:15:45 +02:00
Arkshine 7b96b4df22 Remove unecessary variable. 2014-07-20 12:56:59 +02:00
Arkshine 07534edfcd Use the new constants in various place. 2014-07-20 12:27:02 +02:00
Arkshine e84653571c Fix stupid compiler warning on unused wariable. 2014-07-20 10:27:58 +02:00
Vincent Herbet 19c8b007b2 Merge pull request #72 from Arkshine/add-constants
Add some generic constants
2014-07-19 21:02:59 +02:00
Arkshine ee99ee93e4 Add 👍 to MAX_PLAYERS for the sake of convenience. 2014-07-19 19:58:22 +02:00
Arkshine 8cef1af95d Move check out the loop. 2014-07-19 19:54:57 +02:00
Arkshine 2c4e99fe8d Add some generic constants to amxconst.inc file. 2014-07-19 19:46:40 +02:00
Vincent Herbet 3a5cb29e67 Merge pull request #69 from Arkshine/update-regex
Update regex module
2014-07-18 18:14:56 +02:00
Arkshine 5aba776da5 Regex: Recompile libpcre.a with -mmacosx-version-min=10.5. 2014-07-18 18:02:13 +02:00
Arkshine 1c9febfd22 Regex: Fix documention. 2014-07-18 18:02:12 +02:00
Vincent Herbet b4359d0f53 Merge pull request #71 from Arkshine/fix-set_ent_rendering
Fix typo in set_ent_rendering native.
2014-07-18 17:04:54 +02:00
Vincent Herbet a078064497 Merge pull request #70 from Arkshine/bug-6171
Add entity_intersects native (bug 6171)
2014-07-18 17:04:35 +02:00
Arkshine 14f2a95205 Fix typo in set_ent_rendering native. 2014-07-18 16:49:39 +02:00
Arkshine dbe95c849b Engine: Add entity_intersects native. 2014-07-18 16:37:32 +02:00
Arkshine 752f95e913 Regex: Fix plugin title. 2014-07-18 13:50:41 +02:00
Arkshine ce92ef745c Regex: Fix compilation under OSX
Lib has been recompiled to target i386.
2014-07-18 13:45:29 +02:00
Arkshine 0ec65bef5b Regex: Fix compilation. 2014-07-18 12:42:13 +02:00
Vincent Herbet 7d69a78d06 Merge pull request #68 from Arkshine/feature-improve-client-buy
Improve client buy forward
2014-07-18 10:00:10 +02:00
Vincent Herbet b2bb919c83 Merge pull request #67 from Arkshine/Fix-lang
Fix some translations.
2014-07-17 16:53:24 +02:00
Vincent Herbet face80aa3f Merge pull request #66 from patrig/patch-26
Update statscfg.txt
2014-07-17 15:35:41 +02:00