question

Michael Urvan avatar image
Michael Urvan asked

matchmaking with read only data

I wanted to store ELORating in user's Read Only Data and have the Matchmaking tickets match on that. Is it possible? Is there anywhere else read-only that I can have my server store each user's elo rating and have matchmaking match based on the value? I tried using Player Entity and ELORating, with a key named ELORating in the user read only data but it seemed to still match the tickets together. Maybe the Difference Rule is not correct? I set all the values to take 600 seconds before ignoring etc but they still matched.. 6849-matchmaking-elorating.png

Matchmaking
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

·
Xiao Zha avatar image
Xiao Zha answered

The attributes can be specified in two ways, either within the create and join ticket request or in the player’s entity. You could refer to https://learn.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/config-queues#common-rule-elements:~:text=Attribute%20Source%20%2D%20Rules,the%20SetObjects%20API .

If you want to store ELORating in user's Read Only Data and have the Matchmaking tickets match on that, you may specify the Attribute source in the rule to User and manually set the attribute within the API request when create or join ticket.

If you want to set the Attribute source to Player Entity, which is more secure, you should refer to https://learn.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/ticket-attributes#specifying-through-player-entities to set the attribute in the player’s entity object.

Also, the Difference rule should meet your requirements. You could refer to configuration example of using Difference rule: https://learn.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/config-examples#skill-based-free-for-all-game-with-expansion .

10 |1200

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

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.