Reset room and PlayerNr
Options
Fakov
✭
Hi everyone.
Sorry for rude english, and I also hope post this thread right.
I need help - yo can see my problem here in gif: https://media.giphy.com/media/KyIchXJOFpSw5vOzAd/giphy.gif
As y may see - One of player join to host, may chatting, and then - can leave host. That works correctly.
But! if this left player try to re-join to the host again - it all crushed! Player will have NEW actorNr in the host room. As if there are 4 player in the room but not 3.
How I can clear actorNr list for current room?
Use Photon at Construct2.
Sorry for rude english, and I also hope post this thread right.
I need help - yo can see my problem here in gif: https://media.giphy.com/media/KyIchXJOFpSw5vOzAd/giphy.gif
As y may see - One of player join to host, may chatting, and then - can leave host. That works correctly.
But! if this left player try to re-join to the host again - it all crushed! Player will have NEW actorNr in the host room. As if there are 4 player in the room but not 3.
How I can clear actorNr list for current room?
Use Photon at Construct2.
0
Comments
-
Hi,
How do you leave and rejoin? Use "suspend room" and "join room" with Rejoin parameter set to Yes. It's important to join with the same user id. If rejoining client is the same as leaving, user id is preserved automatically.
If client has lost connection to game server for any reason, it can rejoin as after suspending.
0