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

WaitingRoomUIResponse with too few participants. #51

Open
stolk opened this issue Aug 6, 2017 · 3 comments
Open

WaitingRoomUIResponse with too few participants. #51

stolk opened this issue Aug 6, 2017 · 3 comments

Comments

@stolk
Copy link

stolk commented Aug 6, 2017

I have observed that occasionally, my WaitingRoomUIResponse comes back as Succes, yet when checking the room participants, there is only 1 participant.
Whereas I specified the minimum number of participants to be 2.

I show the room as follows (numplayers is 2):

            StateManager::game_services_->RealTimeMultiplayer().ShowWaitingRoomUI
            (
                    StateManager::room_,
                    numplayers,
                    showcallback
            );

Most of the times it works, but yet, sometimes I see just one participant.

I also have a 2vs2 version of my online matches, where I supply a minimum of players of 4.

Is it to be expected to have the show waiting room callback return success, yet not have enough players?

@stolk
Copy link
Author

stolk commented Aug 6, 2017

Oh, and when this happens, the room's status is still 'auto_matching' by the way.

@stolk
Copy link
Author

stolk commented Aug 6, 2017

In 4 player games, I've also seen successful ShowWaitingRoomUI results, with just 3 participants.
The room is then in status 'inviting.'
Minimum players passed to ShowWaitingRoomUI was 4 in this case.

@SanyamPunia
Copy link

Make it happen with "numplayers = 5" for the each turn u play.
or else try a permanent fix by using bool

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