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 /
  • General Discussion /
avatar image
Question by TTen · Feb 12 at 01:51 AM · Matchmaking

How to prevent matchmaking ticket rematches?

My game is a 1v1 game and often times if 2 players complete a match and then enter the queue right away again then they will match against each other as a rematch. While this isn't an issue for a single rematch, it becomes an issue when they match against each other multiple games in a row with no breaks inbetween.

Is there a way to somehow add a blacklist of player id's that a player cannot match against. For example, I could let matchmaking know to not match this player against the last 5 player id's that they played with. Or is there some other way to implement a system like this?

Comment

People who like this

0 Show 1
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 Made Wang · Feb 14 at 09:48 AM 0
Share

I am researching.

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by SethDu · Feb 15 at 06:33 AM

PlayFab does not provide rules for blocking players in matchmaking. But you can store the ids of the last 5 players played in an entity object or attribute and do the following.

First, you can make players wait a random amount of time before the match starts, the range of this random value depends on the number of players currently in the game.

Secondly, when the match is successful, call GetMatch to get the required information, determine whether the other party is among the 5 people, and if so, re-match.

In fact, when you have enough player, the probability of a rematch will be very low.

Comment

People who like this

0 Show 0 · 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

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

    11 People are following this question.

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

    Related Questions

    GetCurrentGameRequest with heartbeat 1 Answer

    How to choose the region at the start of the game? 1 Answer

    How can Players select their teams when matchmaking? 1 Answer

    How can I prevent players from altering game results? 2 Answers

    I need to let the game start with matchmaking 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