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 Alan Gaspar · Apr 07 at 05:57 PM · Matchmakingmultiplayer

Backfill tickets on requested multiplayer servers

I'm using Unity + Mirror.

I'm having troubles with the backfill ticket when creating a match using "RequestMultiplayerServer", when I request a server like that I try to create a backfill ticket and it never appears and no players can join after that, but if I try to create a backfill ticket on a server requested via matchmaking the backfill ticket works fine and more users can join.

Here's is how I'm requesting a server:

public void CreateMultiplayerServer()
{
   RequestMultiplayerServerRequest requestData = new RequestMultiplayerServerRequest
   {
      BuildId = buildId,
      PreferredRegions = new List<string>() { RegionEastUS },
      SessionId = Guid.NewGuid().ToString()
   };

   PlayFabMultiplayerAPI.RequestMultiplayerServer(requestData, OnRequestMultiplayerServerSuccess, Debug.LogError);
}

private void OnRequestMultiplayerServerSuccess(RequestMultiplayerServerResponse response)
{
   OnJoinRoom?.Invoke(response.IPV4Address, response.Ports[0].Num);
}

It is possible for the backfill tickets to work on requested servers?

Also, is there any way I can send a UnityLog to be shown on the server logs?

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 SethDu · Apr 08 at 07:38 AM

>>is there any way I can send a UnityLog to be shown on the server logs?

Yes, you can use GSDK to add customized logs in your sever, please refer to -- Integrating game servers with the PlayFab Game Server SDK (GSDK) - PlayFab | Microsoft Docs

>> in terms of backfill ticket.

I don't think creating backfill ticket in such an instance is a good scenario because if the server instance is requested manually through API, there is no conditions for players to join this instance, and players are not restricted by any rules that is defined in the Queue. It is unfair for anyone to join via subsequent matchmaking. Meanwhile if it is to find a match with friends, a player can call CreateMatchmakingTicket API, then rest of them call JoinMatchmakingTicket.

Please also note that it is necessary to input the "member" property in the request of CreateServerBackfillTicket API call.

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 Alan Gaspar · Apr 08 at 12:29 PM 0
Share

Thank you for your response,we are seeking to achieve a game lobby experience, we want to achieve two things:
1- When a player is looking for a match and no one can be found we want for that player to create a match so others can join him later

2- A player should be able to create a private match, invite his friends and after that open the match for anyone to join

Is this achievable trough PlayFab?

avatar image SethDu ♦ Alan Gaspar · Apr 12 at 01:39 AM 0
Share

It is not supported by matchmaking, but Lobby is more suitable according to your description, please refer to Azure PlayFab Lobby overview - PlayFab | Microsoft Docs.

PlayFab multiplayer server cost is metered via VM cores computing hours and if a player can create private instance without limitation, this instance can keep running for a long time. It is suggested to follow a specific gaming procedure when the server is running. Even backfill tickets should be time limited. We highly recommend having an intermediary place to help players group up and only initiate the server when the team is ready.

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

    12 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 avatar image

    Related Questions

    Connecting multiple clients to the same server! ,Connecting multiple clients to one playfab server 1 Answer

    Trouble with Backfill tickets 1 Answer

    Clients wont connect to Playfab server 1 Answer

    Players cant connect to the server! 0 Answers

    Simple process to auto connect and scale the servers? 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