Arcana / node-dota2

A node-steam plugin for Dota 2.
MIT License
542 stars 191 forks source link

SourceTV address #57

Closed uside closed 9 years ago

uside commented 9 years ago

I receive "connect" field when launch practice lobby. I think it contains game address. Anyone knows how I can get source tv address to view this game as spectator?

uside commented 9 years ago

However, i think that's impossible. Can I join to game as spectator? I really need record a demo files for games which i create

SimpleCold commented 9 years ago

Yes of course you can. If DotaTV is enabled, tv_status console command will give you the info you need.

RE-Roger commented 9 years ago

You can get the game id when launch the lobby, and get the replay by it.

uside commented 9 years ago

But this is private game and I doubt that Valve will save replay for it

paralin commented 9 years ago

Run watch_server "server id" where the server ID is the steam3 ID of the server.

Joining and parsing in realtime as a spectator hasn't been done successfully in a few months afaik

uside commented 9 years ago

In original idea I want save a replay, but spectator receives not all of events