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

SourceTV for Dota 2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vbearn
Junior Member
Join Date: Jan 2014
Old 01-15-2014 , 12:11   SourceTV for Dota 2
Reply With Quote #1

SourceTV for Dota 2


Here is the guide to enable SourceTV feauture on Dota2 local srcds server. (for instructions to setup dota 2 local servers, see https://github.com/Matheus28/SourceM...a-local-server )

SourceTV's advantages over Spectator Mode:
  • a customizable delay (in seconds) for watchers
  • ability to restrict watcher's chat, voice message, ... with currently playing users
  • record games for later reviews
  • ...

Instructions:

1. Put these lines in your server.cfg file (\dota\cfg\server.cfg)

Code:
sv_hibernate_when_empty 0
tv_maxclients 16 // max source tv clients
tv_name YourSourceTVName
tv_delay 20 // delay in seconds for watching the game
tv_port 27020 // source tv port
tv_autorecord 1 // automatically records every game
tv_secret_code 0
2. Start srcds.exe with these command line arguments (order is important)

Code:
srcds.exe -console -game dota +maxplayers 10 +exec server.cfg +tv_enable 1 +map dota
3. Check tv status by typing this command into server:

Code:
tv_status
4. Connect Dota2 Clients to your server by using:
Code:
connect [serverip]:27020
for those who want a complete introduction to SourceTV, here's a good starting point:
https://developer.valvesoftware.com/wiki/SourceTV
vbearn is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-15-2014 , 14:40   Re: SourceTV for Dota 2
Reply With Quote #2

This is quite clearly not a Metamod:Source Plugin.
__________________
asherkin is offline
NewbieJavaCoder
Junior Member
Join Date: Jan 2014
Old 01-18-2014 , 06:40   Re: SourceTV for Dota 2
Reply With Quote #3

Thanks a lot :d
NewbieJavaCoder is offline
vbearn
Junior Member
Join Date: Jan 2014
Old 01-22-2014 , 17:11   Re: SourceTV for Dota 2
Reply With Quote #4

I'm not able to setup Commentator (Caster) feature for Source TV. any one can help? I dedicated another thread to it : https://forums.alliedmods.net/showthread.php?t=233738
vbearn is offline
CyberStars
Senior Member
Join Date: May 2013
Old 04-08-2014 , 04:49   Re: SourceTV for Dota 2
Reply With Quote #5

Is it possible to set tv_maxclients to 1000?

I know that the max. value is 255. But I need more watchers to connect.
CyberStars is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-08-2014 , 04:53   Re: SourceTV for Dota 2
Reply With Quote #6

Quote:
Originally Posted by CyberStars View Post
I know that the max. value is 255. But I need more watchers to connect.
Use multiple relays.
__________________
asherkin is offline
CyberStars
Senior Member
Join Date: May 2013
Old 04-08-2014 , 06:16   Re: SourceTV for Dota 2
Reply With Quote #7

Quote:
Originally Posted by asherkin View Post
Use multiple relays.
I tried. But when someone tries to connect to "outer" relay server, it kicks players by 'bad relay password' message.
CyberStars is offline
CyberStars
Senior Member
Join Date: May 2013
Old 04-08-2014 , 06:34   Re: SourceTV for Dota 2
Reply With Quote #8

Quote:
Originally Posted by CyberStars View Post
I tried. But when someone tries to connect to "outer" relay server, it kicks players by 'bad relay password' message.
Fixed.
Just wrote
Code:
tv_relay_secret_code 0
in server.cfg
CyberStars is offline
DragonbornEngineer
Junior Member
Join Date: Mar 2013
Old 04-29-2014 , 03:39   Re: SourceTV for Dota 2
Reply With Quote #9

Is STV looks like spectator mode at the spectating dota 2 client? Could this be used to create a dota 2 replay file?
DragonbornEngineer is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-29-2014 , 09:08   Re: SourceTV for Dota 2
Reply With Quote #10

Quote:
Originally Posted by DragonbornEngineer View Post
Is STV looks like spectator mode at the spectating dota 2 client? Could this be used to create a dota 2 replay file?
Yes and yes.
psychonic is offline
Reply



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 23:56.


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