Flexmatch, matching tickets with multiple players

So the behavior we are having is if we have 14 players queued up in the same ticket, it won’t match them even though our rule set is set up to match 7vs7 games

So if 14 players were to queue up individually, they would be matched together, but it won’t work if all 14 were in the same party/ticket.

This was also tried with 1v1, 2v2, 4v4 all having the same behavior.

For 2vs2 for example,
1- a ticket with 4 players won’t match and get into a game
2- 2 tickets with 2 players each would match
3- a ticket with 2 players and 2 others tickets with 1 player each wouldn’t match either

Obviously all these situation where it doesn’t match we want it to match.
Here is the rule

{
“name”: “7v7”,
“ruleLanguageVersion”: “1.0”,
“teams”: [{
“name”: “A”,
“maxPlayers”: 7,
“minPlayers”: 7
}, {
“name”: “B”,
“maxPlayers”: 7,
“minPlayers”: 7
}],
“rules”: [{
“name”: “EqualTeamSizes”,
“description”: “Only launch a game when the number of players in each team matches, e.g. 4v4, 5v5, 6v6, 7v7, 8v8”,
“type”: “comparison”,
“measurements”: [ “count(teams[A].players)” ],
“referenceValue”: “count(teams[B].players)”,
“operation”: “=” // other operations: !=, <, <=, >, >=
}]
}

1 Like

I’m not sure what is causing this but I’m curious to hear what someone from the Game Tech team has to say about this because I am also interested in how GameLift/FlexMatch handles tickets with more than one player and with more players than one team could hold. So I just wanted to add on to this by asking a few questions:

  • Does FlexMatch, by default, try to ensure that all the players in a ticket end up on the same team in a match?
  • If not, can you make a matchmaking request involving multiple players in a way that would force FlexMatch to place those players on the same team in a match?
  • If yes (to the first question), would tickets containing too many players (either more than what one team can hold or more than what the entire game can hold) be rejected automatically?

@Rangarz: Let me know if I summarized your problem correctly.

You are trying to run an x vs x team matchmaking rule and you are seeing:

  1. If you provide all the players for the teams in a single ticket you don’t get a match
  2. A ticket with some of the players for the match is also not matched with single players for other matches

Can I ask about your set-up?

  • Do you have a single matchmaker with expansions ie 14 x 14 wait, then try 7x7 then try 4 x4 etc?
  • Or do you have multiple matchmakers per mode?

Can you also provide matchmaking ticket ids, matchmaking config names etc that show the behaviour raised above?

I do know (from this thread) that:
" If you have all of the players you want for both teams, FlexMatch won’t be able to put the teams together in the same match – you would need to just start your game session by creating it and the player sessions directly."

@chrisgong

  1. If you submit all the players for a team on a single ticket, then the matchmaker will find players for the other team. So I believe by default it should respect your existing team.
  2. I am unsure what happens when you submit a ‘team’ ticket with more players than the team can hold, I’ll see if I can find out.
1 Like