ValvePython / dota2

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

Cannot update lobby without creating a new one #40

Closed aramwram closed 5 years ago

aramwram commented 6 years ago

Hello,

When I try to update current lobby (say, via config_practice_lobby) I get None in the response. As far as I can see the reason is in that the Dota2Client.lobby object is empty while Dota2Client.lobby.lobby_id and Dota2Client.lobby.leader_id are required for updating a lobby. If a lobby is created first everything works well since after the lobby creation the Dota2Client.lobby object gets initialized.

Do we have a way to obtain lobby_id and leader_id (and/or other current lobby details) provided account_id/login/password?

rossengeorgiev commented 6 years ago

The lobby property is set automatically when you are in a lobby. You are either not connected or not in a lobby when you are trying to configure.

rossengeorgiev commented 5 years ago

Closing due to inactivity