- Code: Select all
var sampleDic:Dictionary = new Dictionary ();
sampleDic["register"] = "true";
sampleDic["username"] = "shithead";
sampleDic["password"] = "Password1";
sampleDic["email"] = "user@gtgfd.com";
sampleDic["gender"] = "female";
sampleDic["birthdate"] = "2014-04-22";
PlayerIO.authenticate(stage,
"mjack-dev-jxmuuaa4j0ofwnvniaq","simple",
sampleDic, null, onFinishedAuthenticating, onErrorAuthenticating);
I start the development server locally and run this. There are no errors and onFinishedAuthenticating gets called. The first time it traces out a success message, but after that I get the message “user already registered”. However, I don't see anything about this user in any of the bigDB tables. Do I need to manually get the myPlayerObject and update it with this stuff? Why? And if you need to do that then what is the point of calling the register function in the
first place??