7b79fa4299d11caf8a6f870b55c57482ffaa111b
Multiple inheritance is killing me:( The engine calls CGameClient::Disconnect, but we've only hooked IClient::Disconnect, which uses a seperate vtable. Our own SourceTV_KickClient native calls the IClient variant though, so we need to hook both on linux to catch all cases.
SourceTV Manager
Interface to interact with the SourceTV server from SourcePawn.
This is a SourceMod extension providing an API for plugins to access the SourceTV server instance(s).
API
There are natives and forwards to access
- Basic SourceTV information (stats, delay, active)
- Interacting with spectators (chat/console messages, kick, ip, name)
- Forcing camera shots on the director
- Demo recording (filename, recording tick, print message to demo console)
Have a look at the include file.
status command fixes
There are several quirks around recording the status command output in a SourceTV demo.
While this extension is running, you're going to be able to do
FakeClientCommand(SourceTV_GetBotIndex(), "status");
and have the output recorded in the demo. This can help quickly identifying the players in the demo while playing it back.
Note: Doesn't run on relay proxies yet.
Languages
C++
75.8%
Python
12.6%
SourcePawn
8.8%
C
2.8%