question

Wanchai Khonthai avatar image
Wanchai Khonthai asked

Can I allow player to play Matchmaking alone?

I intend to use Matchmaking to create a cooperative instance dungeon. The player can create the dungeon and play solo or play with their party or other players can join later. But Matchmaking must have 2 players as a minimum match size. Does this mean I can't let player to play solo? Is there any work around if it is?

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

·
eswitzer07 avatar image
eswitzer07 answered

You can use SetGameServerInstanceState (https://api.playfab.com/documentation/server/method/SetGameServerInstanceState) to force the server to be closed / open without relying on the gamemode to automatically do it. Might be a work around here?

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.

Wanchai Khonthai avatar image Wanchai Khonthai commented ·

Hi. Sorry for late reply, I was assigned to look at other problem instead. Currently, I'm looking at this tutorial.

https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/quickstart If I understand correctly, this is Matchmaking flow.

- Create Matchmaking ticket and get the ticket id

- Poll the ticket until the ticket status is changed to matched and get the match id

- Call GetMatch and connect players to target server IP and port

But that API you mentioned requires lobby id which I don't know how and when to use it in the flow above because there is no lobby id.

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.