question

services-3 avatar image
services-3 asked

How to make an IO game server?

Hi,

I'm looking to make an IO game server like agar.io . It should be connecting and disconnecting players all the time.
Players should be able to connect to any in progress game anywhere.


Is it possible to make that with the PlayFab Matchmaking service ?

If not, is there any way we could do that with Lobbies ?

Thanks

Matchmaking
10 |1200

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

Gosen Gao avatar image
Gosen Gao answered

You can do it with Matchmaking. When the player clicks to start the game, you can add the player to the Matchmaking queue. When the Matchmaking is over, you can connect the matched player to the server. After that, when players leave, you can use the CreateServerBackfillTicket to add new players. In this way, when a player clicks to start the game, he may join a brand new game, or he may join an existing game. It is kind like the game you show us.

For more info about Matchmaking, please refer to Matchmaking Overview.

2 comments
10 |1200

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

services-3 avatar image services-3 commented ·

We thought of that but what about this:


https://community.playfab.com/questions/42692/how-to-server-matchmaking-to-match-against-player.html

As we understand from the post, creating a backfill ticket all the time does not prevent heavy fragmentation: users get matched more often with each other rather than with the backfill tickets.


Is there any workaround to that?
Maybe using Azure Functions?
Or should we use our custom matchmaking service?


0 Likes 0 ·
Gosen Gao avatar image Gosen Gao services-3 commented ·

If you want server vacancies to be filled first before players start new servers, then custom matchmaking logic may be more suitable for you.

0 Likes 0 ·
info-26 avatar image
info-26 answered

hello if you are having problems nice mod servers available example https://agario.boston

1 comment
10 |1200

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

info-26 avatar image info-26 commented ·
0 Likes 0 ·

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.