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 Canberk Soner · Jan 05, 2021 at 08:56 AM · MatchmakingCustom Game Servers

PlayFab Matchmaking with custom game servers

Hello,

Currently trying to understand how the new matchmaking works. In this link: tutorial There's this section:

Connecting your players together

Once your players have matched, you will want to have them join each other - either through a server, or by peer-to-peer connections.

If you are using a dedicated server, you can rely on the Match ID to uniquely identify the group of players they should be in. If you are using PlayFab's multiplayer servers, GetMatch will provide a server and port for your players to connect to.

We're not using PlayFab Multiplayer, we run our dedicated servers on our own systems. From this paragraph, I understand PlayFab matchmaking only takes me through client tickets and then I have to process that match id and manage game server allocations myself. But this leads me to 2 questions:

1) How would backfill work, in this case?

2) Or, if I use "Create Server Matchmaking Ticket" and "Create Server Backfill Ticket" APIs, will playfab still assign matches to my custom game servers who registered themselves to playfab?

I didn't find any mention of custom game servers other than that one sentence under "Connecting your players together", would be amazing if someone could help me figure this out.

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 Sarah Zhang · Jan 06, 2021 at 07:26 AM

>> 1) How would backfill work, in this case?

Backfill tickets can work with the custom dedicated server. When you call the API CreateServerBackfillTicket, you can fill the IP address and Ports in the its ServreDetails fieldto let thematched players can connect to the corresponding server. This ServerDetails can be the details of PlayFab Multiplayer Server instance, it also can be the details of your own server.

>> 2) Or, if I use "Create Server Matchmaking Ticket" and "Create Server Backfill Ticket" APIs, will playfab still assign matches to my custom game servers who registered themselves to playfab?

The API CreateServerMatchmakingTicket and CreateServerBackfillTicket can be used with your custom game server. The CreateServerMatchmakingTicket is used to create a new matchmaking ticket on server. And the CreateServerBackfillTicket is designed to create a backfill ticket for the ongoing game. After you called the CreateServerMatchmakingTicket on the server, you need to complete the process of “Get Ticket” and “Get Match” on the server too. Then you can get the MatchID then allocate the server for every MatchID on your own. CreateServerBackfillTicket is designed for ongoing games, in other words, it’s designed for the allocated servers. You needn’t allocate new servers for the MatchIDs generated by backfill matchmaking.

Comment

People who like this

0 Show 2 · 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 Canberk Soner · Jan 06, 2021 at 12:55 PM 0
Share

Hey Sarah,

Thanks for the info. Could you give me some examples about "completing the process of Get Ticket and Get Match". It's not exactly clear to me specifically what I need to do to allocate the server for every MatchID on my own. Are there any documentation or online examples about this?

avatar image Sarah Zhang Canberk Soner · Jan 11, 2021 at 08:51 AM 0
Share

You can find the example in this repository -- https://github.com/PlayFab/PlayFab-Samples/tree/066ff3aede91923e0650ee4d8ee3da185ec3f2a7/Samples/Win32/ThunderRumble.

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

    4 People are following this question.

    avatar image avatar image avatar image avatar image

    Related Questions

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

    What is the best way for a player to pass parameters into the server during matchmaking? 1 Answer

    How do you get a QueueName on a game server? 3 Answers

    How do I find the fields to input into RedeemMatchmakerTicket in UE4? 1 Answer

    Check Playfab ID format 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