Coder Social home page Coder Social logo

justzerooo / sourcetvmanager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peace-maker/sourcetvmanager

0.0 0.0 1.0 178 KB

Interface to interact with the SourceTV server from SourcePawn.

Home Page: https://forums.alliedmods.net/showthread.php?t=280402

License: GNU General Public License v3.0

C++ 65.35% Python 12.64% C 2.79% SourcePawn 19.22%

sourcetvmanager's Introduction

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.

sourcetvmanager's People

Contributors

awillinger avatar bara avatar justzerooo avatar kenzzer avatar nosoop avatar peace-maker avatar sapphonie avatar shqke avatar

Forkers

levgitcode

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.