SourceTV Manager
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
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:
Download Nightly build Sourcecode Gamedata Look here for examples how to use the natives. Thanks to GoD-Tony and asherkin. |
Re: SourceTV Manager
Looks good, absolutely useful :bacon:
Φ ϴ
|
Re: SourceTV Manager
Nice one. Goign to check it out later :)
|
Re: SourceTV Manager
The extension appears to be calling the SourceTV_OnSpectatorPutInServer forward multiple times for the same SourceTV client, an additional one per connect.
It also doesn't seem to be calling SourceTV_OnSpectatorDisconnect or the disconnected variation. Edit: This is occurring on Team Fortress 2. Here's some server console spew from the test plugin. Client "Pikachu on LSD" connected (*:27005). SourceTV client 1 connected. (isconnected 1) SourceTV spectator is connecting! Name: Pikachu on LSD, pw: *, ip: * *:27005:reconnect Dropped Pikachu on LSD from server (Connection closing) Client "Pikachu on LSD" connected (*:27005). SourceTV client 1 connected. (isconnected 1) SourceTV client 1 put in server. SourceTV client 1 put in server. SourceTV client 1 put in server. SourceTV client 1 put in server. SourceTV client 1 put in server. SourceTV client 1 put in server. [omitted a bunch more] Dropped Pikachu on LSD from server (Disconnect by user.) sm plugins unload sourcetv_test [SM] Plugin sourcetv_test.smx unloaded successfully. Awesome work though; I've been wanting some SourceTV support. |
Re: SourceTV Manager
1 Attachment(s)
Quote:
EDIT: Try the attached version including this change. It's all been about not catching spectator disconnects, so they weren't unhooked. The extension added another hook on the same cached hltvclient instance when a new spectator joined on the same slot, so OnSpectatorPutInServer was called multiple times. |
Re: SourceTV Manager
Yeah, forgot to mention I'm on Linux. New one works as expected; thanks!
|
Re: SourceTV Manager
My Server keeps crashing, whenever im trying to start to record a demo.
Game: CS:GO Sourcemod Version: 1.7 Root: Debian 8 Crashreport: https://crash.limetech.org/oomotcfsdgud Would be nice if you could take a look at it. |
Re: SourceTV Manager
I haven't tried this yet, but I can say it would save alot of time...
Is there any possibility to cut demo? I would love to see this extension cooperating with this plugin https://forums.alliedmods.net/showthread.php?t=279296 |
Re: SourceTV Manager
Quote:
I'll have a look at the crash later. |
Re: SourceTV Manager
Quote:
So main thing that "MAIN" demo should not be stopped because other player can be banned like after few mins. I bet 100% would love this feature! :) |
All times are GMT -4. The time now is 13:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.