Commit Graph

1314 Commits

Author SHA1 Message Date
Vincent Herbet
929d6255fc Merge pull request #153 from Arkshine/fix-ham-specialbot
Fix specialbot not working with [Enable/Disable]HamForward natives
2014-10-26 13:06:38 +01:00
Arkshine
b451fbd1c8 Fix specialbot not working with [Enable/Disable]HamForward natives 2014-10-25 20:44:17 +02:00
Arkshine
cfcd6e9ac9 Allow find_ent_by_owner native to work in client_disconnect forward 2014-10-25 11:08:31 +02:00
Arkshine
850ae540a9 Improve get_map_objectives native. 2014-10-24 12:58:24 +02:00
HttrckCldHKS
e08e140c3c Fixed Switch Statement
Fixed Switch Statement.
2014-10-18 10:10:09 -07:00
Arkshine
d9efe61030 Fix typo in #99 (reported by Hattrick) 2014-09-18 19:24:37 +02:00
Arkshine
19e06100b2 Fix a crash regression in #112 2014-09-15 09:57:38 +02:00
Vincent Herbet
4d454b474c Attempt to fix build 2014-08-23 10:17:47 +02:00
Vincent Herbet
204004b90e Merge pull request #112 from Arkshine/deduplicate-files
Deduplicate a number of files used by modules by moving them to the public directory
2014-08-23 10:00:13 +02:00
Arkshine
9cd90838e1 Remove safety checks as it's not really necessary. 2014-08-19 09:04:09 +02:00
Arkshine
e7d7de870a Block weapon pickup sound if shield is disallowed in CS_OnBuy forward. 2014-08-18 22:02:08 +02:00
Arkshine
0fed80968b Fix OSX compilation #1. 2014-08-10 22:58:38 +02:00
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
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
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
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
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
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
Arkshine
fc48579776 Update AMXX SDK in all modules. 2014-08-02 18:30:53 +02:00
Vincent Herbet
580eb24546 Fix compilation warning. 2014-07-27 13:48:05 +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
Arkshine
e440663ea3 Remove old debug lines. 2014-07-26 23:19:28 +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
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
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
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
xPaw
5eaeaa8dc1 Cstrike: Fix compilation. 2014-07-17 20:28:40 +02:00
Arkshine
9c84c17d5e Regex: Update regex_subtr (Increase buffer and make it UTF-8 safe) 2014-07-17 14:02:21 +02:00
Arkshine
939a724b1a Regex: Add regex_replace native. 2014-07-17 11:21:06 +02:00
Arkshine
287f471ac4 Regex: Remove regex_match_ex and RegexError tag, change regex_match_all to use flags and update documentation.
- regex_match_ex was kind of duplicated.
- regex_match_all uses now integer flags (header like regex_compiler_ex)
- Removed RegexError tag to allow old natives to use these constants without mismatch tag error.
- Made all error params optional
2014-07-08 00:08:35 +02:00
Arkshine
a44d20b26b Regex: Add regex_match_all_c and regex_match_all natives (by Nextra) 2014-07-07 20:49:38 +02:00
Arkshine
ee4f6b8a89 Regex: Use AMTL. 2014-07-06 12:23:22 +02:00
Arkshine
0714354f52 Regex: Update compiled libraries and pcre.h to v8.35. 2014-07-06 12:23:22 +02:00
Arkshine
d1153b8049 Regex: Update pcre.h. 2014-07-05 13:51:08 +02:00
Arkshine
f9503cb98a Regex: Add regex_compile_ex and regex_match_ex natives.
Purpose is to use the PCRE flags and error num directly.
Harcoding flags letters is really not readable and friendly.
Also this makes error params optionnal.
2014-07-05 12:21:36 +02:00