cpp-android-basic-samples icon indicating copy to clipboard operation
cpp-android-basic-samples copied to clipboard

WaitingRoomUIResponse with too few participants.

Open stolk opened this issue 8 years ago • 3 comments

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 avatar Aug 06 '17 00:08 stolk

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

stolk avatar Aug 06 '17 00:08 stolk

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.

stolk avatar Aug 06 '17 17:08 stolk

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

SanyamPunia avatar Apr 02 '18 15:04 SanyamPunia