ValvePython / dota2

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

KeyError: 'custom_game_auto_created_lobby' #71

Closed knkitten closed 2 years ago

knkitten commented 3 years ago

File dota2/protobufs/dota_gcmessages_common_match_management.proto has a line

408 optional bool custom_game_auto_created_lobby = 77;

However, when specifying it in the lobby creation options, an error occurs: KeyError: 'custom_game_auto_created_lobby'

knkitten commented 3 years ago

Key all_members this will throw an identical error too KeyError: 'all_members'

FedorAronov commented 3 years ago

@knkitten this message you are talking about is server-to-client. CMsgPracticeLobbySetDetails is the correct one.

knkitten commented 3 years ago

@Fedya2009 what does the key 'custom_game_penalties' mean?

FedorAronov commented 3 years ago

If custom_game_penalties is set to True, players who leave from game receive 1 hour matchmaking ban (without it, game is safe to leave). Also, there is a bug which starts 5 minute leaver countdown for all players when the match begins. Check Dota 12v12 for more information.