question

abdulmunim2005 avatar image
abdulmunim2005 asked

Managing more than 2 Players in external Server

First of all I want to Thank @Brendan on the support on my previous issue.

So, here how I manage my server and clients

When the Number player connected rises more than 2 or equal to 2, an object of in list of games is created having those two players But if I do this Playfab will never know how are the games or what players are in this particular game.

But

The way Playfab manages is by the "inctance" of the server running. Which will probably fry up my old and rusty computer I got just for the hard drives.

So my question is How do I do it my way without losing all the FANCY GUI controls.

Thanks in advance.

unity3dCustom Game Servers
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

When using external game server hosting (https://api.playfab.com/docs/tutorials/external-game-servers), you normally have each player call Matchmake, and then send the matchmaker ticket to the server, which uses RedeemMatchmakerTicket to join the session. That process explicitly tells the PlayFab service that the player joined the session.

Alternately, if you prefer to use your own matchmaker, you could use our Matchmaker API (https://api.playfab.com/documentation/matchmaker), in which case you would tell us that players joined the session via PlayerJoined, once you've run through your own logic to make sure it's valid for that player to join the session in question.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.