Forum BigDB PlayerObject saving bug

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

PlayerObject saving bug

Postby HAnz » March 2nd, 2011, 4:45 pm

First I use: PreloadPlayerObjects = true;
Then I use:
player.PlayerObject.Set("Username", "MyUserName");
player.PlayerObject.Save();

When I do this I get an error somewhere else in the code where I know there is no error. If you instead set "Username" as an Int it works and it also works if "Username" is already created. So the bug seems to be that it bugs out when you try to create a new String this way.
I make games and stuff.
User avatar
HAnz
 
Posts: 46
Joined: August 7th, 2010, 2:59 pm

Re: PlayerObject saving bug

Postby Henrik » March 5th, 2011, 12:12 pm

Weird, we'll look into it.

What error message do you get?
Henrik
.IO
 
Posts: 1855
Joined: January 4th, 2010, 1:53 pm

Re: PlayerObject saving bug

Postby HAnz » March 5th, 2011, 3:52 pm

I moved my saving code and then it worked, so I though that fixed it or that you had fixed the problem. But now that I try my old code that had the saving problem it seems to work as well.

So maybe it was some temporary kink that let me save an int but not a string, because now it seems to work fine. I'm willing to called this resolved, If I ever see the problem again I'll let you know.
I make games and stuff.
User avatar
HAnz
 
Posts: 46
Joined: August 7th, 2010, 2:59 pm


Return to BigDB



cron