Thread
:
SourceTV Manager
View Single Post
Author
Message
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
03-15-2016 , 10:48 SourceTV Manager
#
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.
__________________
SourcePawn .smx disassembler in your browser
Detour any function from your plugin:
DHooks 2 + detours
Tab-autocompletion in SRCDS command line
Bot Mimic
|
SM:CTF
|
SM:Conquest
|
SM:Error Mail
|
Websocket
|
PostgreSQL
Retrogames:
Connect4
|
Tetris
|
Snake
|
Pong
|
Blackjack
Last edited by Peace-Maker; 05-07-2021 at
08:39
. Reason: Added gamedata link
Peace-Maker
View Public Profile
Send a private message to Peace-Maker
Visit Peace-Maker's homepage!
Find More Posts by Peace-Maker