Problem Description
hi
there is two problem :
1 . when you disconnect from the internet some times host or peer (mostly host) dont know they disconnected and disconnect from signalling will not trigger
2. when internet disconnection happens (not closing the browser tab) synced object will destroyed in peer game but they did not actually destroyed in the game
Attach a Capx
you can test this with scirra ghost shooter multiplayer example (but you have to change it and make game dont destroy peer player)
Description of Capx
_
Steps to Reproduce Bug
- Step 1: use multiplayer plugin and sync an object
- Step 2 : join to that game with your phone and your pc (now phone is host and pc is peer)
- Step 3 : disconnect your internet connection in your phone . now you can see the synced objects are destroyed in pc but they actually didn't destroyed in the game and because of disconnection they are destroyed.
but if you insted of disconnection close the phone browser now you can see the object will not destroy
Observed Result
multiplayer plugin doesn't handel internet disconnection well
Expected Result
multiplayer plugin dosent handel internet disconnection well
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
windows 8 and 10
Construct 2 Version ID
r212.2