Skip to content

Lobby start #68

Description

@Mrfull

How to launch game when all players connect to teams?

Activity

  1. DEV-ONI commented on Jul 12, 2021

    @DEV-ONI

    It is in the documentation:
    https://dota2.readthedocs.io/en/stable/dota2.features.lobby.html#dota2.features.lobby.Lobby.launch_practice_lobby

    As for checking if all players have joined, you have to implement that yourself, perhaps by checking the all_members repeated
    proto field on the a lobby events:

    repeated dota.CSODOTALobbyMember all_members = 120;

    I suggest printing out or logging the proto messages you get so you can see what information they carry as you experiment with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions