Open mapleray opened 4 years ago
Looks like a bug. Those changes came from PR, and looking at the history I don't think that method ever worked. Needs to be investigated
I want to ask .... leagueid that you are using in settings is the tournament ID you can find when you go to https://www.dota2.com/league/0/list ?
I want to ask .... leagueid that you are using in settings is the tournament ID you can find when you go to https://www.dota2.com/league/0/list ?
yes
Can you tell me what value did you use when trying to host a league game for 'tournament_game_id' ?
Is there a way to get this ID before the game is hosted, so it can be passed down to the bot, so he can create a league game?
Version: dota2==1.0.0 steam==1.0.1
Hi, I use
create_tournament_lobby
method to create a tournament lobby. But I get error messageI look into the source code, find https://github.com/ValvePython/dota2/blob/master/dota2/features/lobby.py#L99 with a dictionary
command
. When I remove the keytournament_game
with valueTrue
, still get error message:KeyError: 'tournament_game_id
, guess some error with proto fields?Update: Maybe key needs update.... I use
create_practice_lobby
andconfig_practice_lobby
methods to bypass upon error. Withconfig_practice_lobby
, use key withleagueid
, nottournament_game_id
.