Commit Graph

715 Commits

Author SHA1 Message Date
Nicholas Hastings
fef5583d42 Separate out DOI build. (#718) 2017-11-03 21:57:37 -04:00
Nicholas Hastings
342d3ea936 Fix TF2IgnitePlayer not working after game update (fixes #713). 2017-10-28 19:06:41 -04:00
JRiipinen
c1bd1fa5f9 Update TF2_IsPlayerInCondition (#712)
* Update TF2_IsPlayerInCondition

* Update conditions too
2017-10-27 07:30:55 -04:00
Nicholas Hastings
afcd94a5dd Fix MakeBleed native call (add damage custom param).. 2017-10-22 11:13:24 -04:00
Ruben Gonzalez
cf633f74a4 Add support for CreateItemEntityByName for CS:GO 2017-09-08 08:50:28 -04:00
Ruben Gonzalez
c62a3b724b Merge pull request #671 from alliedmodders/csgo-weaponpricefix
Fix CS_GetWeaponPrice returning incorrect weapon prices.
2017-09-08 08:45:55 -04:00
Ruben Gonzalez
494f83395f Fix cstrike extension natives/forwards due to update
Fix using Q_strcpy instead of Q_strncpy

Fix CS:S build

Fix trying to use signature function for WeaponIDToAlias on linux.
2017-08-24 09:16:21 -04:00
Ruben Gonzalez
ea73bb0b69 Fix Handle buy call 2017-08-18 15:21:55 -04:00
Ruben Gonzalez
69948955d1 Fix HandleCommand_Buy_Internal param order. 2017-08-18 15:19:16 -04:00
Asher Baker
445891b2cb Include function name in cstrike ext error messages 2017-08-18 13:10:12 +01:00
Ruben Gonzalez
d41911e05b Use the same weapon drop function in CS:GO as in CS:S 2017-06-16 09:02:09 -04:00
ErikMinekus
a01224d63e Add support for compiling with VS2015+ (#613) 2017-05-27 14:06:07 +01:00
peace-maker
761cbf9a8a Fix crash when accessing gamerules during mapchange (#593)
If the gamerules proxy entity doesn't exist, don't try to generate the
reference for it.
2017-04-29 19:43:02 -04:00
peace-maker
c11b58072b Fix case of not calling OnMapTimeLeftChanged in CS:GO (#563)
Round end reasons in CS:GO are +1 from the ones in CS:S. The
CSRoundEnd_GameStart reason for when the OnMapTimeLeftChanged forward
should be called should be one higher than in CS:S.
2017-04-29 19:41:12 -04:00
Nicholas Hastings
63261b9cea Fix CS:GO OnGetWeaponPrice forward on Linux. 2016-11-29 11:06:07 -05:00
Nicholas Hastings
5642e4b9ee Semi-tested fix for CS:GO GetWeaponPrice on Linux. 2016-11-29 10:53:20 -05:00
Nicholas Hastings
99481bee6f Use VSERVERTOOLS003 in Nuclear Dawn if server has it available. 2016-06-08 12:32:45 -04:00
Nicholas Hastings
90e1e54fb2 Fixed varint sendprops being treated improperly in CS:GO. 2016-06-05 11:03:44 -04:00
Nicholas Hastings
31928e6282 Fix late/incorrect calls to TR_GetEntityIndex potentially causing crash. (#513) 2016-05-21 14:44:00 -04:00
Nicholas Hastings
5edc46c994 Don't enable FileExists hook (SendFile forward) on TF2 servers with Replay. (#512)
It will crash. See PR #493 for details.
2016-05-19 19:11:28 -04:00
Kyle Sanderson
57c6e09fcf Merge pull request #493 from alliedmodders/tfreplaycrash
Only hook IBaseFileSystem::FileExists if we're also hooking INetChannel
2016-05-19 15:23:05 -07:00
Nicholas Hastings
40f2512317 Remove support for Source 1 Dota 2. (#496) 2016-04-26 23:18:47 -04:00
akowald
283bdad552 Makes sending the change the default behavior with the GameRules_Set* natives. 2016-03-25 00:43:39 -04:00
Kyle Sanderson
8924a9744e Only hook IBaseFileSystem::FileExists if we're also hooking INetChannel::SendFile or INetChannel::ProcessPacket.
This works around a TF Replay SourceHook crash that Johns was seeing when using 1.8.
SourceHook is not thread-safe at the time of this writing.
2016-03-20 14:07:08 -07:00
Nicholas Hastings
b65de29c92 Add initial version of safety checks for CS:GO to attempt to avoid user GSLT bans. 2016-03-02 15:25:01 -05:00
Ruben Gonzalez
803c6b0a82 Update TerminateRound detour comment's 2016-02-18 11:15:39 -05:00
akowald
7fbc9869bd Fix for crashes related to the GameRules_Set* natives. 2016-02-03 16:20:31 -05:00
Kristian Klausen
4cba1925fd Allow plugins to suppress entity outputs (fix 5515). 2015-12-30 17:51:57 +01:00
Nicholas Hastings
7fbcb81916 Merge pull request #456 from alliedmodders/canbeautobalanced
Add support for hooking CanBeAutobalanced to SDKHooks.
2015-12-29 15:56:24 -05:00
Kyle Sanderson
2812f227b7 Change SDKHooks CanBeAutoBalanced to only MRES_SUPERCEDE if the return changes. 2015-12-29 12:44:03 -08:00
Nicholas Hastings
23f9a1a524 Typo fix fix. 2015-12-22 16:18:53 -05:00
Nicholas Hastings
26b056d2c4 Typo fix. 2015-12-22 09:58:57 -05:00
Nicholas Hastings
bd9fd43b76 Fix for Black Mesa's different GiveNamedItem prototype. 2015-12-22 09:55:15 -05:00
Nicholas Hastings
184ad9083c Fix for varint gamerules sendprops being treated improperly in Black Mesa. 2015-12-22 09:54:55 -05:00
Nicholas Hastings
c5a81d7c6f Adjust for hl2sdk-bms updates. 2015-12-22 09:53:05 -05:00
Nicholas Hastings
818e1e4e18 Add support for hooking CanBeAutobalanced to SDKHooks. 2015-11-26 10:35:00 -05:00
Fyren
cf4f500eda And use it in sdktools, too. 2015-11-18 01:37:15 +00:00
Fyren
fec2fa3bf0 Update SP and use BlamePluginError in sdkhooks. 2015-11-18 01:24:31 +00:00
Nicholas Hastings
a4d06e1077 Update CTakeDamageInfoHack in SDK Hooks for semi-recent game/SDK updates. 2015-11-11 13:12:04 -05:00
David Anderson
e2b399b8d3 Update to the latest AMTL - Rename Ref to RefPtr. 2015-11-08 13:14:57 -08:00
Kyle Sanderson
72edc74e8b Use present netchannel instead of cached netchannel in CHookManager::SendFile. 2015-11-07 12:51:13 -08:00
Asher Baker
0387c45995 Fix Mac build. 2015-11-04 16:28:45 +00:00
Asher Baker
2ea3d9023b Fix libcurl build on Clang 3.5. 2015-11-04 15:21:13 +00:00
Ross Bemrose
f4adf33b4e Renumber holidays
Add CommunityUpdate holiday
2015-10-07 09:40:06 -04:00
David Anderson
c66d14605a Merge pull request #397 from alliedmodders/rm-old-mms
Remove code that handles long-dead Metamod:Source versions.
2015-09-18 14:38:52 -07:00
Ruben Gonzalez
6268abe2c3 Untab #ifdef's 2015-09-16 19:21:58 -04:00
Ruben Gonzalez
c86a6abdc5 Add shim for TerminateRound for CS:GO 2015-09-16 19:03:40 -04:00
thordin
3a59baab2c Added IsFree() edict check to FindEntityByNetClass. 2015-09-13 13:49:31 -07:00
Kyle Sanderson
274e7bd329 Add FileTransfer Hooks to SDKTools (r=Drifter). 2015-09-12 13:01:33 -07:00
David Anderson
df672dd8ce Remove the ability to compile against Metamod:Source versions lower than 1.8. 2015-09-09 18:54:43 -07:00