question

Nikita Matusevich avatar image
Nikita Matusevich asked

How to choose the region at the start of the game?

How can I identify a region with minimal ping to launch a new game? I do not think that the player will be interested in choosing a region to start or search for a game. There should be a server ping system.

apissdksunrealMatchmaking
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

·
Seth Du avatar image
Seth Du answered

Yes, this should be done by the client app and players don’t need to manually select the region. Please refer to the documentation: https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/using-qos-beacons-to-measure-player-latency-to-azure. Please note that GetQoSResult API can only be contained in C++ SDK, in terms of other platforms/SDKs, you may follow the tutorial in the documentation to create UDP socket.

You may also check “Enable server allocation” in the queue configuration and set Rules for that. When creating a match making ticket, you need to add additional attributes and the format is specified in the Special formats section of this documentation: https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/ticket-attributes. After that, the GetMatch API is called, There will be a RegionPreferences property returned.

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.