Idea

Jay Mattis avatar image
Jay Mattis suggested

Pass QueueName from Matchmaking into GSDK

The MatchId is passed from Matchmaking into the GSDK using the "sessionId" configuration variable but in order to retrieve the ticket details using GetMatch, you also need the QueueName. If using the same build for multiple queues (casual/ranked, 1v1/2v2), this becomes a problem.

Since you already have a "sessionCookie" configuration variable that is unused during matchmaking, this would be a great way to pass in the QueueName so that the server can use GetMatch to successfully retrieve the ticket information. This is vital for making sure players are placed on the team as assigned by the matchmaker.

Matchmaking
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.

Bijian Wu avatar image Bijian Wu commented ·

Yes, please, now is 23_11_2020, I still don't see this feature got added!

0 Likes 0 ·

4 Comments

·
David James avatar image
David James commented

Why is this still not an option? Would like to hear any thoughts from the playfab team regarding this issue.

10 |1200

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

Tudor avatar image
Tudor commented

Absolutely massive miss.
https://learn.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/multiplayer-servers
Even the documentation says you can call GetMatch from server, but how? You don't have the QueueName...

10 |1200

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

kevin-8 avatar image
kevin-8 commented

I think the main reason why they "can't" pass it into the session cookie is because they use it for multiplayer server requests. I personally feel you should be able to call GetMatch only with your sessionId, as - especially for starting games - it's impossible to create different builds for each and every queue if you got multiple gamemodes that you want to support through a single queue.

10 |1200

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

Dimitris Gkanatsios avatar image
Dimitris Gkanatsios commented

Can folks try this preview feature and let us know if it works for you? https://github.com/PlayFab/MpsSamples/blob/main/MatchmakeSample/matchMakingAndMps.md

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 a Comment

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

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.