How to prevent player join rooms at different clients
Options
My game use userID get from web server as the AuthenticationValues.userId for PUN.
When a player login at two different devices, he can still join two different rooms in same lobby from two devices. How to detect and prevent its happen?
Thanks for help.
When a player login at two different devices, he can still join two different rooms in same lobby from two devices. How to detect and prevent its happen?
Thanks for help.
0
Comments
-
Anybody help?0
-
Do you mean two devices with same internet connecting different room? Another one creating room instead of join?
If it is try to check development build in build setting. Otherwise you are not in development try to connect same region both clients.0 -
Do you mean two devices with same internet connecting different room? Another one creating room instead of join?
If it is try to check development build in build setting. Otherwise you are not in development try to connect same region both clients.
, but they can separately join two rooms, which I want to prevent
0 -
Try the WebHooks since each Join/ Leave room can determine who is in room or not.0
-
@ThomasKao_XRSpace
@JohnTube
Are you saying that WebHooks can be used to prevent joining a room? If not, is there a way to do that?0 -
Create , JoinOrCreate, Rejoin, Join room can be Rejected per @JohnTube.
https://forum.photonengine.com/discussion/17385/setproperties-webhook-with-webflags#latest0 -
This is possible only in some situations which require room state loading (room does not exist on server memory, not alive, not created yet).0