question

Philip Alexander Prates Machado avatar image
Philip Alexander Prates Machado asked

How does party and lobby handle "dirty" disconnects?

I was having a chat with one of your developers Brendan and he asked me to post this on the forums since its information of general interest.

How does exactly party and lobbies handle dirty disconnects, like a power outage or a cable pull? Do you guys have a heartbeat like in the server? do you ping the players before an action?

Thank in advance.

multiplayer
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

·
Rick Chen avatar image
Rick Chen answered

If the party gets disconnected ungracefully, no related state changes will be generated, and there could be some errors. Please refer to this document: https://learn.microsoft.com/en-us/gaming/playfab/features/multiplayer/networking/reference/classes/partynetwork/methods/partynetwork_disconnectchatcontrol.

It is better to call the disconnect method to disconnect the party.

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.