question

mbneto avatar image
mbneto asked

How do I define the server's statistic value for matchmaking?

The MatchMake API call allows the name of a player or character statistic to be specified to find the match that has the closest value to it but there's no documentation on how the match's statistics value is computed.

Is it based on the players connected to the match (average?) or does it need to be set manually (I found no API for that in the docs)?

Leaderboards and StatisticsCustom Game ServersMatchmaking
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Right now, stat-based matchmaking works like so:

The first player into a particular game server instance sets the server's statistic to the value of the player's. It's the use of StatisticName in the Matchmake or StartGame call that causes this to be set. When players search for a game session, the slot they are returned is for the session with a free slot which has a statistic value closest to the searching player.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mbneto avatar image mbneto commented ·

Thanks for the explanation. That works for us.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.