Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Benjamin Golinvaux · Aug 23, 2021 at 10:47 AM · Matchmaking

General architecture of two-stage matchmaking with teammate lobby

Hello

We have a running preversion of our Unreal Engine game (on LAN) where clients enter the IP/port of a server, then connect.

They all thus enter a lobby level in the game where they choose equipment, etc. before being traveled to the real game level.

I am currently designing the architecture for running this on PlayFab. I already integrated the GSDK and it works fine: I can manually provision and launch servers, retrieve the IP (manually, in Game Manager) and clients connect to it.

I would like to implement the following "player journey" for our game where matches contain two teams of 3 or 4 players.

1. players launch the game and login with PlayFab (custom ID at the moment to make it simple)

2. A "leader player" decides to gather a party of teammates (*not* including the opponents) and send invites. He then enters a freshly created lobby.

3. The other teammates see the invite and, if they accept, they join the same lobby (I would also like the ability to share a "lobby ID" in an external chat/discord for invites)

4. All teammates meet in the lobby where they can see each other, choose equipment, change their name.... and when done, they click the ready button

5. When everybody is ready, I would like to look for another group of people who have matching characteristics such as skill level and who are also looking for an opponent team.

6. Once PlayFab can match these two teams, a dedicated server is launched and all clients receive the IP address + port to connect to.

In the current LAN game, a server is already required at the lobby stage, and the lobby contains ALL match members (from both teams), and Unreal network replication is used to that everyone sees the name+equipment of other players.

I would like to change this and use PlayFab to exchange info between teammates and only start the dedicated server once both teams are complete and ready to play.

I am bit lost in the PlayFab documentation between matchmaking (can it be used for 1), 2) and 3) in my journey?, or can it only be used once teams are complete?) , Social, Party... Can Playfab Party OSS plugin for Unreal be used to replicate Unreal objects between teammates?

Should I use Party to exchange the information about equipment/etc in the lobby?

Could some expert guide me on the very high-level way of doing this and what areas of the API I should learn first? (I can write C++ and do not have to use Blueprint)

Thanks a whole lot in advance!

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Rick Chen · Aug 24, 2021 at 10:07 AM

The PlayFab Matchmaking offers a simple and powerful system to help your users find each other. But the matchmaking and the Multiplayer service 2.0 cannot serve as a lobby system, as there is no such feature that allows player to search for a match. Currently, the PlayFab’s Lobby feature is On-Deck, this will be a new feature that allows for temporary grouping of players for the purpose of orchestrating multiplayer experiences, including searching for available lobbies to join. It includes member properties, as well as lobby and search properties to use for gameplay coordination. Please stay tuned and check our Blog Post for the latest released feature.

Comment

People who like this

0 Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SethDu ♦ · Aug 25, 2021 at 05:40 AM 0
Share

@Benjamin Golinvaux, if you are interested in lobby feature, please also refer to the workaround solution from Building Lobbies with Azure PlayFab

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    8 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    Custom game server instance (unity) does not start 1 Answer

    Does Playfab provide geolocation data that can be used for matchmakin 5 Answers

    Is there any documentation on how to matchmake (v2) with parties? 1 Answer

    Question about Matchmaking and some bits about CloudScript 1 Answer

    Prevent being matched agains the same opponent twice 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges