Commit Graph

1245 Commits

Author SHA1 Message Date
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
Arkshine
201a3003d9 Regex: Update compiled libraries. 2014-07-05 00:32:40 +02:00
Arkshine
c2c78f6724 Cstrike: Random cleanup. 2014-07-05 00:04:20 +02:00
Arkshine
7cb004c728 Cstrike: Fix forwards [un]loading at map change. 2014-07-04 23:52:47 +02:00
Arkshine
58774361bb Cstrike: Make sure to execute forwards on alive players. 2014-07-04 16:57:40 +02:00
Arkshine
6c4cb27d3e Cstrike: Implement CS_OnBuyAttempt forward. 2014-07-04 10:41:13 +02:00
Arkshine
0728fee706 Cstrike: Make CS_OnBuy forward more reliable - part 4
Added support for shield , which is a special case.
Moved hashmap creation to OnPluginsLoaded.
2014-07-04 00:17:55 +02:00
Arkshine
884c5e9643 Cstrike: Make CS_OnBuy forward more reliable - part 3
Remove unused hooks.
2014-07-03 21:14:11 +02:00
Arkshine
0cf39307e0 Cstrike: Make CS_OnBuy forward more reliable - part 2
Purpose is to have the forward be called only on actual buying.
This has been requested on the forum.
2014-07-03 21:10:53 +02:00
Arkshine
6e50a0effd Cstrike: Make CS_OnBuy forward more reliable - part 1
Purpose is to have the forward be called only on actual buying.
This has been requested on the forum.
2014-07-03 13:40:05 +02:00
Arkshine
de73007922 Sync AMTL. 2014-07-03 11:26:50 +02:00
xPaw
9b1f4e01c7 🔥 Remove backwards compatible RadiusDamage 2014-06-05 23:20:06 +03:00
xPaw
2696f0af0e 🔥 Remove compatibility stuff from the core 2014-06-05 23:00:47 +03:00
Vincent Herbet
08378eed4b Merge pull request #25 from Arkshine/feature-client_buy-forward
Implement CS_OnBuy forward + Do some clean up (bug 5906)
2014-06-03 10:20:13 +02:00
Arkshine
2595fbe764 Cstrike: Remove unused defines and fix typo. 2014-06-03 10:05:56 +02:00
Arkshine
d2f2748e9e Cstrike: Enable/Disable detours whether CS_OnBuy and CS_InternalCommand are used in plugins + Add more check for safety. 2014-06-01 22:24:52 +02:00
Arkshine
f1e206fde6 Cstrike: Refactor code to seperate detours for readability/maintainability + Fix OSX symbols. 2014-06-01 19:00:37 +02:00
Arkshine
c96456503c Cstrike: Fix ResolveSymbol misuse under linux/osx. 2014-05-31 20:06:26 +02:00
Scott Ehlert
423eb0499b Align stack on 16 byte boundary in hamsandwich trampolines. 2014-05-31 06:34:52 -05:00
Scott Ehlert
3987085572 Combine prologue and epilogue code for void and non-void functions in hamsandwich trampolines. 2014-05-31 04:00:25 -05:00
Scott Ehlert
fe52f1eeac Don't bother saving and restoring eax in hamsandwich trampolines. 2014-05-31 03:09:17 -05:00
Arkshine
f08a4f5a66 Cstrike: Fix typo under OSX. 2014-05-31 09:14:00 +02:00
Arkshine
a984c85ffc Cstrike: Define "UseBotArgs" and "BotArgs" symbols in game data file. 2014-05-30 22:53:27 +02:00
Arkshine
f130a8ea89 Cstrike: Implement CS_OnBuy forward. 2014-05-30 16:54:36 +02:00
Arkshine
38e2e3e393 Cstrike: Move utility stuff in its own file. 2014-05-29 01:19:52 +02:00
Arkshine
e4ff6853dd Cstrike: Convert code to use CDetour and MemoryUtils. 2014-05-29 00:40:37 +02:00
Arkshine
d7b3b47aa4 Cstrike: Import some memory tools from SourceMod 2014-05-28 22:51:14 +02:00
Arkshine
62cf10f0c3 Cstrike: Move game datas in its own file. 2014-05-26 21:19:18 +02:00
Arkshine
f08e22db95 Cstrike: Rename cstrike.cpp to CstrikeNatives.cpp 2014-05-26 18:50:39 +02:00
Arkshine
88c489d393 Cstrike: Move AMXX API in a new file. 2014-05-26 18:08:41 +02:00
Arkshine
db76fc7b66 Fix cs_set_user_team issue on spectator 2014-05-12 14:41:08 +02:00
Arkshine
d3f22d2089 Add support for bot without "player" classname in Hamsandwich (bug 6111, r=ds) 2014-05-01 10:21:46 +02:00
Arkshine
c99a518ba4 Oh come one. 2014-04-18 22:31:14 +02:00
Arkshine
512e3ff61c Fix some typo and fix mac. 2014-04-18 22:22:09 +02:00
Arkshine
3d732bbbb6 Added SQL_SetCharset native to (re)set character set (bug 5999, r=ds). 2014-04-18 22:04:32 +02:00
Arkshine
d6d4badbda Fix crash in Hamsandwich with hooked function without return (hopefully last time) 2014-04-14 13:37:09 +02:00
Arkshine
0f890ce7f1 Fix crash in Hamsandwich with hooked function without return. 2014-04-14 11:39:08 +02:00
Arkshine
1a7daad657 Update globally Hamsandwich module (bug 5611, r=sawce) 2014-04-09 16:44:02 +02:00
DynamicBits
1503a6571f Fix TFC_PC_CIVILIAN value (bug 6042, r=arkshine) 2014-03-22 16:59:15 +01:00
David Anderson
d61abc5a18 Fix Windows build. 2014-02-13 00:13:43 -08:00
David Anderson
f0f319a418 Add WinCSX to AMBuild scripts.
Former-commit-id: eca50829ae
2014-02-08 21:16:41 -08:00
David Anderson
1f15fdd6cb Update versioning for AMBuild and git.
Former-commit-id: ea473061ef
2014-02-08 20:37:33 -08:00
David Anderson
59c3e271db Remove all files related to SVN versioning.
Former-commit-id: 57a320bfe9
2014-02-08 16:26:40 -08:00
David Anderson
922b4802f1 Port AMBuild scripts to Windows.
Former-commit-id: 9af9b5f205
2014-02-08 16:09:29 -08:00
David Anderson
90b2860fd2 Get parity with makefile flags.
Former-commit-id: d1ee3b0780
2014-02-08 14:49:03 -08:00
David Anderson
c4e90ce865 Initial import of AMBuild infrastructure for C++ projects.
Former-commit-id: 53baa4f8c2
2014-02-08 01:14:15 -08:00
Scott Ehlert
bc57a4e74f Triggering a build.
Former-commit-id: 45b67bd4fc
2014-01-22 20:03:52 -06:00
Scott Ehlert
568bec17fc Fixed building with newly updated SDK.
Former-commit-id: bf0455aea7
2013-09-05 19:51:52 -05:00
Scott Ehlert
2a458530b7 Fixed cstrike module crash on OS X (r=dvander).
Valve now compiles OS X binaries with -fvisibility=hidden, so dlsym no longer works with non-exported symbols.


Former-commit-id: f77f6430a2
2013-09-03 17:56:27 -05:00
DynamicBits
de818ab5ec Update tfcx LINUXOFFSET value (bug 5845, r=arkshine)
Former-commit-id: 0f1908fa74
2013-08-24 00:56:26 +02:00
Vincent Herbet
da30315556 Fix Wno-delete-non-virtual-dtor flag to be passed only for .cpp files.
Former-commit-id: 4f8b31483d
2013-08-10 19:29:28 +02:00
Vincent Herbet
419c8f6ee6 Fix client_death/damage forwards passing alive victims on ClientKill (bug 5812, r=Nextra)
Former-commit-id: 39fadf4302
2013-08-10 19:10:54 +02:00
Vincent Herbet
ddacdb0ab2 Add set_ent_rendering native (bug 5773, r=Nextra)
Former-commit-id: d322cd2e79
2013-08-10 14:16:26 +02:00
Vincent Herbet
ec644cf1a4 Fix unused but set variable compilation error under linux.
Former-commit-id: 1aa4373e3d
2013-08-10 13:01:23 +02:00
Vincent Herbet
0afe87be0a Add get_map_objectives native for CS (bug 5820, r=Nextra)
Former-commit-id: 47487a4aa7
2013-08-08 19:11:12 +02:00
Vincent Herbet
225494b559 Fix tfcstats_pause imcomplete implementation (bug 5836, r=Nextra)
Former-commit-id: ea7b0f56fd
2013-08-07 16:46:40 +02:00
Vincent Herbet
dca0bbcbb1 Fix tfcstats_rankbots not working as expected when disabled (bug 3192, r=Nextra)
Former-commit-id: 2ed695c8bb
2013-08-07 16:44:25 +02:00
Vincent Herbet
3e1c70a887 Allow [g|s]et_pdata_cbase usage at map end whereas player's private datas are still valid (following fakemeta behavior) (bug 5787, r=me)
Former-commit-id: 30394243ff
2013-07-31 17:54:46 +02:00
DynamicBits
2854e70c94 Fix DOD grenade_throw incorrect calling behavior and wrong returned weapon IDs (bug 5785, r=arkshine)
Former-commit-id: 79252c33fb
2013-07-27 23:08:33 +02:00
Vincent Herbet
2f964928ff Fix pfn_spawn metamod return to follow engine behavior (bug 5807, r=me)
Former-commit-id: efe3bda51b
2013-07-27 20:36:33 +02:00
Vincent Herbet
7498f84261 Fix uninitialized variable warning.
Former-commit-id: 65acac2b4f
2013-07-04 20:36:31 +02:00
Vincent Herbet
93339d9be4 Add client_cmdStart forward (bug 5779, r=me)
Former-commit-id: 785ce1ea81
2013-07-03 01:00:52 +02:00
connorr
90e7aa65a1 Fix incorrect behavior of impulse forwards (bug 3243, r=Arkshine)
Former-commit-id: 1aae4c3ec5
2013-07-03 00:19:12 +02:00
Vincent Herbet
1e7a4d2727 Comply to AMXX style for more consistency in 47c47df488e8
Former-commit-id: f9deb552af
2013-07-02 23:31:27 +02:00
Vincent Herbet
83e70d7dd7 Add [Get|Set]ModelCollisionBox and [Get|Set]ModelBoundingBox (bug 3527, r=joropito)
Former-commit-id: 4d174007b1
2013-07-02 20:48:18 +02:00
Vincent Herbet
c0fcf06c96 Add [get|set]_pdata_[bool|byte|short|vector|ehandle] and set_pdata_ent (bug 5770, r=joropito)
Former-commit-id: da3d13a9c0
2013-07-02 16:05:39 +02:00
Nextra
15572e2d61 Fix server crash when nvault is writting to journal file without write permission (bug 3231, r=Arkshine)
Former-commit-id: 6ad9e6bc8c
2013-07-02 10:20:21 +02:00
Vincent HERBET
57dd24a2e0 Fix incomplete implementation of csstats_pause cvar (bug 5755, r=joropito)
Former-commit-id: 4766f84864
2013-06-20 17:53:59 +02:00
Vincent HERBET
d5ce84a9f5 Fix pev_blending not working with set_pev (bug 5758, r=me)
Former-commit-id: 4c3fc7eb97
2013-06-16 22:15:19 +02:00
Scott Ehlert
f6ff4796b2 Fixed Linux and Mac builds.
Former-commit-id: 6f39588049
2013-06-16 12:55:22 -05:00