Forum QuickConnect Same user joining twice[SimpleUsers]

Discussion and help relating to PlayerIO's QuickConnect feature, including Facebook Connect and Kongregate Connect.

Same user joining twice[SimpleUsers]

Postby batiali » August 22nd, 2010, 7:27 pm

Hey there,

Same username&password can be used to join the game more than once. Is there a way to prevent that?

Thanks.
batiali
 
Posts: 29
Joined: August 11th, 2010, 2:53 pm

Re: Same user joining twice[SimpleUsers]

Postby Oliver » August 24th, 2010, 11:16 am

Hey,

In the multiplayer room you can check if there is already a user with that ConnectUserId and not allow the join to complete. Have a look at AllowUserJoin: http://playerio.com/documentation/refer ... owUserJoin

If you want to ensure that the player is only connected to ONE of your rooms at a time, you can store that information in BigDB.

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am


Return to QuickConnect



cron