When the number of players whose player session status is TIMEDOUT, COMPLETED reaches maxPlayers count, the player can no longer participate in that session. How can I fix it?

0

Like the title, if a player as much as the maxplayer count specified in the matchmaking rule set tries startmatchmaking and all players' status becomes TIMEDOUT, or if one player calls startmatchmaking and RemovePlayerSession as much as maxplayer count in one session, matchmaking is no longer available.

My Matchmaking settings are set as follows.

I set queue timeout 30 sec, Alias routing type is Simple, FlexMatch mode is Managed, Matchmaking config's request timeout is 10 sec, Backfill mode is Automatic, Additional player count is 10.

The status of the session is as shown in image below. Enter image description here

Here is my matchmaking rule set. Enter image description here

and Matchmaker Data is as below image Enter image description here

How can I fix it??

The matchmaking flow I think is as follows. Is there anything impossible here?

  1. When the player requests startmatchmaking, they will participate in the session with the largest number of active people.
  2. When the game starts, change the PlayerSessionCreationPolicy to 'DENY_ALL' using update_game_session api.
  3. When the game is over, change the PlayerSessionCreationPolicy for the session to 'ACCEPT_ALL' to allow new players to enter.
  4. When the number of sessions reaches zero, remove the session.
demandé il y a un an272 vues
1 réponse
0

When the number of players whose player session status is TIMEDOUT, COMPLETED reaches maxPlayers count, the player can no longer participate in that session. How can I fix it?

Use RemovePlayerSession() to remove a player from a game session.

When the game is over, change the PlayerSessionCreationPolicy for the session to ‘ACCEPT_ALL’ to allow new players to enter.

Are you trying to reuse a game session for multiple matches? We suggest that one game session per match, that's how FlexMatch is designed with.

répondu il y a un an
  • Thanks for your answer! After changing the player status of Reserved status to Active through AcceptPlayerSession(), RemovePlayerSession() is being called when the player's session is disconnected. If I call RemovePlayerSession(), is it correct that the Player status is changed to COMPLETED without any additional work, and a new player can enter Matchmaking in the empty slot? Even if I call RemovePlayerSession() and change the player status to COMPLETED, Matchmaking will no longer put it in the vacancy.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions