Commit Graph

7 Commits

Author SHA1 Message Date
Peace-Maker
9d07c9d74c Check if requests for interfaces succeed
IBinTools might not be available if we're running on a newer SourceMod version than the extension is compiled against.
2019-04-09 18:00:58 +02:00
Peace-Maker
e5db34a3e3 Add OnSpectatorChatMessage forwards to catch chat
Messages and chatgroups can be changed or blocked.
2016-11-14 01:16:39 -06:00
Peace-Maker
737b2ab1d0 Fix demo recording support for CS:GO
The IDemoRecorder interface was heavily modified.
2016-07-07 16:27:46 +02:00
Peace-Maker
9ae2431375 Fix printing to demo console on CS:S linux
This is getting rediculous.
Our own native calls IClient::ClientPrintf to print stuff to the demo
console.
The engine's Host_Client_Printf uses the CGameClient vtable's
ClientPrintf. To catch the output of the "status" command, we have to
hook both vtables on linux...
Windows casts to IClient in Host_Client_Printf, so no need to do that
there.
2016-03-14 18:47:20 +01:00
Peace-Maker
61f59c5b9b Track spectators for each SourceTV instance seperately 2016-03-06 12:50:07 +01:00
Peace-Maker
10910e8b8e Pass the right SourceTV instance index in forwards 2016-03-06 12:26:45 +01:00
Peace-Maker
fabdbe7d12 Refactor SourceTV instance hooking
Keep the instances in seperate wrappers to clear up the hooks. This
allows for some OnServerStart and OnServerShutdown forwards.

To prepare support for relay servers, CHLTVServer::Shutdown is hooked to
detect shutdown instead of relying on the director unregistering the
instance.
2016-03-06 12:16:38 +01:00