question

Weslley Xavier avatar image
Weslley Xavier asked

Check if the created game is still running

I'm creating a turn based game where the player can leave the game, and I'm looking for a way when the player tries to join another game, it looks for the previous match that belongs to that player something similar to what league of legends does

Custom Game ServersPlayer Inventorygame manager
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

·
Gosen Gao avatar image
Gosen Gao answered

If you are using Matchmaking and Multiplayer Servers, you can store the server details obtain from the GetMatch result when the matchmaking is done, then you can reconnect to the server with that info after the player is disconnected. If the connection is failed then you will know that the server has been shut down.

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.