Forum QuickConnect Seeing Registered Users

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

Seeing Registered Users

Postby samsonadze » October 29th, 2012, 7:40 pm

Hi,is there any way, to see How many users Game has ,with Script? without seeing it Manually from database
C#
samsonadze
 
Posts: 122
Joined: August 29th, 2012, 2:39 pm

Re: Seeing Registered Users

Postby samsonadze » October 29th, 2012, 8:25 pm

And Also,Is there any way,to Check if user Exists Like, When i enter username in game,To check,if there is username with that name.??
C#
samsonadze
 
Posts: 122
Joined: August 29th, 2012, 2:39 pm

Re: Seeing Registered Users

Postby Benjaminsen » October 30th, 2012, 10:48 am

1: There is no easy way to count how many total users you do have.
2: You can create a unique username system by creating an index on your PlayerObjects. E.g, to check if a username is already registered, simply do a BigDB index load on that username, if an object is returned, the username is already taken.

Alternatively use QuickConnect directly
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark


Return to QuickConnect



cron