Raised This Month: $51 Target: $400
 12% 

SourceTV Manager


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 03-15-2016 , 10:48   SourceTV Manager
Reply With Quote #1

SourceTV Manager

Interface to interact with the SourceTV server from SourcePawn.
https://github.com/peace-maker/sourcetvmanager

Lets you access SourceTV servers and interact with the spectators as well as handle demo recording.

API
There are a few natives and forwards in the include file for
  • 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)

Steam authentication
By default, SourceTV spectators aren't authenticated with Steam. This extension adds a
tv_force_steamauth convar to enable authentication on spectator clients.
Currently this prevents SourceTV relay proxy clients from connecting though

"status" command in demos
There is special effort done in this extension to have the "status" output recorded in SourceTV demos, so you can easily identify players when watching the demo. Just do
PHP Code:
FakeClientCommand(SourceTV_GetBotIndex(), "status"); 
I've only tested this in CS:GO and CS:S, but the TF2 gamedata was the same as CS:S, so odds are good it's working on all OBV games.

Download

Nightly build

Sourcecode
Gamedata

Look here for examples how to use the natives.

Thanks to GoD-Tony and asherkin.
__________________

Last edited by Peace-Maker; 05-07-2021 at 08:39. Reason: Added gamedata link
Peace-Maker is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode