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.
질문됨 일 년 전272회 조회
1개 답변
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.

답변함 일 년 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠