Forum BigDB PreloadPlayerObjects and weird guest name

Discussion and help relating to the PlayerIO database solution, BigDB.

PreloadPlayerObjects and weird guest name

Postby LostBytes » June 6th, 2011, 9:47 pm

I have PreloadPlayerObjects = true in my room, when guest user with certain characters in name joins (for example [ or ]) then I get "Unable to preload PlayerObject in Server" error before I can do anything. Is this problem on my side, is there some limit to what characters are allowed in userid param of PlayerIO.connect or is it something else?
LostBytes
Paid Member
 
Posts: 20
Joined: May 17th, 2011, 7:41 pm

Re: PreloadPlayerObjects and weird guest name

Postby Henrik » June 7th, 2011, 11:55 am

Thanks for the report, we'll look into it.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: PreloadPlayerObjects and weird guest name

Postby Oliver » June 9th, 2011, 10:44 am

I think the problem is that we've limited the set of characters that can be used for BigDB keys, but haven't limited the connectUserIds.

As such, not all connectUserIds are valid BigDB keys.

The only way around it is to limit the set of characters players can use as their guest names.

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


Return to BigDB