We are adding playfab to go cross platform. In our current setup we have two types of match making. We have a "custom game" setup kind of like ARK server list where players can see basic info on a big list of servers, then click join and kick off a peer to peer connection.
Then we have quick match, for players who just want to get into game quickly. Custom match players are in this pool of players too. Custom match hosts cannot connect to other custom match hosts.
So is there away to get a list of these players in match making? With some basic info attached?
Thanks,
Jay
,We are adding playfab to go cross platform. In our current setup we have two types of match making. We have a "custom game" setup kind of like ARK server list where players can see basic info on a big list of servers, then click join and kick off a peer to peer connection.
Then we have quick match, for players who just want to get into game quickly. Custom match players are in this pool of players too. Custom match hosts cannot connect to other custom match hosts.
So is there away to get a list of these players in match making? With some basic info attached?
Thanks,
Jay
Answer by Gosen Gao · Apr 27 at 05:16 AM
For the matchmaking that needs a server list, you can implement it with PlayFab Lobby. Since your game is based on peer to peer connection, when a player choose to become a host, a lobby should be created with necessary info to represent an ongoing game, so that other players can search for those lobbies and join the game.
For quick match, if you want to prevent the hosts match with each other, then you can call API CreateServerBackfillTicket in the host to use server backfill ticket to match with other players. The server backfill tickets won’t match against each other which is by design.
Answer by jaymales · Jun 29 at 06:50 AM
Hi Gosen Gao,
So that's what I have done(the first one), but the issue is that lobbies with two players (since that is the max amount of players we allow atm) are still showing up in the list of lobbies.
We want to stop that.
If the user or host then leaves the match, the host should go back to the server list menu and other people should be allowed to join again.
It's a weird flow but the designer insists this is the way it needs to be....
so I don't want to shutdown the lobby incase they have an invite coming in.
Also would be nice to know what we can do with the filter option since there isn't a lot of documentation on the subject.
Thanks
Direct Challenges,Direct Challenges (via FB) 2 Answers
Matchmake and StartGame returning 500 Internal Server Error 1 Answer
Servers not starting 1 Answer
What happens when a client calls ClientAPI.Matchmake then does not connect to a returned server? 2 Answers
Am I correct in understanding that SessionCookie will always be blank for matchmade games? 1 Answer