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
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
e4ff6853dd
Cstrike: Convert code to use CDetour and MemoryUtils.
2014-05-29 00:40:37 +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
Scott Ehlert
568bec17fc
Fixed building with newly updated SDK.
...
Former-commit-id: bf0455aea7c54493b2b921a2fef52120163e0959
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: f77f6430a288cbe1200bae05c64494f6a0030bc6
2013-09-03 17:56:27 -05:00
Scott Ehlert
40c1fee55a
Added support for Mac OS X and building with clang (bug 5601, r=dvander).
2013-02-13 01:14:37 -06:00
David Anderson
639db5846e
workaround for msvc optimizing away stack usage on detour
2007-08-16 16:30:16 +00:00
David Anderson
16f6048d74
updated comment so future bail doesn't ask "which one is right"
2007-08-10 07:17:40 +00:00
David Anderson
e2c1bad224
fixed a serious bug in the ClientCommand detour for cstrike, crashing on cl_autobuy
2007-08-10 07:12:04 +00:00
David Anderson
710cd548a9
added linux support to CS_InternalCmd
2007-04-26 20:07:31 +00:00
David Anderson
0377715cdc
added CS hook to catch internal bot commands and rebuy commands for players
2007-04-26 19:18:55 +00:00