Go to file
Bara 5f14073af1
Set _GLIBCXX_USE_CXX11_ABI to 0
Fix for builds against souremod 1.10 and csgo(?) linux servers.

Build loads fine without any cxx11 errors like before.
2019-06-02 11:07:26 +02:00
.gitignore Update CS:GO gamedata 2016-08-15 23:21:04 +02:00
AMBuilder Support all flavors of VS 2017.X 2018-02-06 15:53:04 +01:00
AMBuildScript Set _GLIBCXX_USE_CXX11_ABI to 0 2019-06-02 11:07:26 +02:00
commonhooks.cpp Fix OnSpectatorChatMessage to not include playername 2016-11-15 21:02:03 -07:00
commonhooks.h Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
configure.py Initial commit of project files 2016-02-29 09:59:09 +01:00
extension.cpp Check if requests for interfaces succeed 2019-04-09 18:00:58 +02:00
extension.h Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
forwards.cpp Add Left 4 Dead 2 support 2016-12-04 21:41:07 -07:00
forwards.h Add Left 4 Dead 2 support 2016-12-04 21:41:07 -07:00
hltvclientwrapper.cpp Lay groundwork for client language property 2018-11-19 07:57:00 -08:00
hltvclientwrapper.h Lay groundwork for client language property 2018-11-19 07:57:00 -08:00
hltvdirectorwrapper.cpp Add natives to force a camera shot 2016-03-01 02:19:19 +01:00
hltvdirectorwrapper.h CSGO: Fix messages and director shot natives 2016-07-28 17:01:58 +02:00
hltvserverwrapper.cpp Don't call IClient::ClientPrintf on the bot twice 2016-12-04 21:51:08 -07:00
hltvserverwrapper.h Check if requests for interfaces succeed 2019-04-09 18:00:58 +02:00
ihltvdemorecorder_csgo.h Fix demo recording support for CS:GO 2016-07-07 16:27:46 +02:00
ihltvdemorecorder.h Add Left 4 Dead 2 support 2016-12-04 21:41:07 -07:00
LICENSE Initial commit 2016-02-29 09:52:26 +01:00
natives.cpp Check if requests for interfaces succeed 2019-04-09 18:00:58 +02:00
natives.h Clean up some SDK calls to use SourceHook directly 2016-03-03 09:13:59 +01:00
PackageScript Initial commit of project files 2016-02-29 09:59:09 +01:00
README.md Update README 2016-11-14 03:43:11 -06:00
smsdk_config.h Add translation support to SourceTV_PrintToChat 2018-11-17 23:09:10 -08:00
sourcetv_test.sp Update include and example plugin to transitional syntax 2016-11-15 23:17:53 -07:00
sourcetvmanager.games.txt Fix CS:GO host_client address gamedata #4 2018-02-06 15:52:09 +01:00
sourcetvmanager.inc Update include and example plugin to transitional syntax 2016-11-15 23:17:53 -07:00

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). Forum thread

API

There are natives and forwards to access

  • Basic SourceTV information (stats, delay, active)
  • Interacting with spectators (chat/console messages, kick, ip, name, tv title)
  • Forcing camera shots on the director
  • Demo recording (filename, recording tick, print message to demo console)

Have a look at the include file.

Steam authentication for spectators

The extension adds a convar tv_force_steamauth (defaults to 0) which lets you enable steam validation on SourceTV clients. Currently when this is enabled SourceTV relays are rejected.

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.