Kyle Sanderson
5d234bb9d6
Fix OnPlayerRunCmd crashing with invalid CUserCmd ptr. ( #693 )
2017-09-23 23:27:32 -07:00
peace-maker
1351df4260
Add OnPlayerRunCmdPost forward ( #591 )
...
* Add OnPlayerRunCmdPost forward
Allow plugins to catch the values that are actually used by the game
after some eventual changes by other plugins.
* Add |const| qualifier to arrays in OnPlayerRunCmdPost forward
2017-05-09 15:16:05 +01: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
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
Kyle Sanderson
72edc74e8b
Use present netchannel instead of cached netchannel in CHookManager::SendFile.
2015-11-07 12:51:13 -08:00
Kyle Sanderson
274e7bd329
Add FileTransfer Hooks to SDKTools (r=Drifter).
2015-09-12 13:01:33 -07:00
Kyle Sanderson
38bbb8580f
Move PlayerRunCmd to a global VTable Hook (bug 6051, r=psychonic).
2014-03-01 14:25:35 -07:00
Nicholas Hastings
3e15966c3e
Add support for Source SDK Base 2013 (bug 5917, r=asherkin).
2013-10-13 14:14:51 -04:00
GoD-Tony
d866c061a3
Added logged error when PlayerRunCommand offset lookup fails (bug 5535, r=psychonic).
2013-03-18 19:53:30 -04:00
Kyle Sanderson
ef6c454137
Replace usages of deprecated Sourcehook Add/Remove macros (bug 5631, r=dvander).
2013-03-16 22:15:25 -04:00
Tony
74f49ec38f
Added more parameters to PlayerRunCommand forward (bug 5346, r=asherkin).
2012-08-21 00:42:46 -04:00
Nicholas Hastings
8015d1827c
Backed out changeset: 9007dacc012d
2011-07-08 07:53:31 -04:00
Nicholas Hastings
7e87f56699
Fixed nonzero maxClients startup crash in SDKTools (bug 5010, r=bee).
2011-07-07 19:51:05 -04:00
Nicholas Hastings
be2bbec526
Fixed PlayerRunCmd being hooked when not used. (bug 3990, r=fyren)
2010-07-18 15:43:56 -04:00
David Anderson
0708e7f8f6
Fixed accidental hook against garbage offset (bug 4231, r=fyren).
2010-01-20 04:03:46 -08:00
Matt Woodrow
58d98f8454
Fixed crash on client disconnect
2009-05-19 15:16:25 +12:00
Matt Woodrow
7b6f2863a9
Added PlayerRunCmd hook to sdktools (bug 3289, r=dvander)
2009-05-12 13:54:06 +12:00