ValvePython / dota2

🐸 Python package for interacting with Dota 2 Game Coordinator
http://dota2.readthedocs.io
201 stars 32 forks source link

Broadcast slot for bot? #26

Closed LadaBr closed 7 years ago

LadaBr commented 7 years ago

Is it possible to launch lobby game with bot in broadcast slot somehow? I always get connection failure because bot couldn't load in.

I would like to get realtime info about match from GC.

rossengeorgiev commented 7 years ago

I suspect broadcast slots require the clients to connect to the game server, which is something out of the scope of this project. However, for realtime stats there is a HTTP api that can provide you with ingame stats.

https://api.steampowered.com/IDOTA2MatchStats_570/GetRealtimeStats/v1?server_steam_id=

The lobby SO should have the server_steam_id once the game has started.

rossengeorgiev commented 7 years ago

Closing this as it appears resolved