Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lobby start #68

Open
Mrfull opened this issue Jun 27, 2021 · 1 comment
Open

Lobby start #68

Mrfull opened this issue Jun 27, 2021 · 1 comment

Comments

@Mrfull
Copy link

Mrfull commented Jun 27, 2021

How to launch game when all players connect to teams?

@Mrfull Mrfull mentioned this issue Jul 5, 2021
@DEV-ONI
Copy link

DEV-ONI commented Jul 12, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants