Forum QuickConnect Refister having problems

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

Refister having problems

Postby Turbo 3 » November 9th, 2011, 9:51 pm

when i use this code it gives me this error: 1067: Implicit coercion of a value of type Function to an unrelated type String.

PlayerIO.quickConnect.simpleRegister(
stage,
'<your game id goes here>',
username,
password,
email,
null, // captcha key, if captcha is used
null, // captcha value, if captcha is used
{gender:'male',age:99}, // any additional data you want
function(client:Client):void{
//...
}, function(e:PlayerIORegistrationError):void{
trace("Error: ", e)
}
);
Turbo 3
 
Posts: 10
Joined: October 30th, 2011, 2:36 am

Re: Refister having problems

Postby Turbo 3 » November 12th, 2011, 12:08 am

NVM there nobody on the forum!
You guys Know Player io Is kinda useless for some people
i cant even Make a Register forum i will just go back to trying smartfox server atleast they answer your Questions

bye ;)
Turbo 3
 
Posts: 10
Joined: October 30th, 2011, 2:36 am

Re: Refister having problems

Postby Liquidsun » November 12th, 2011, 11:05 am

Same for me... The Community has only the name of "Community" ... Obviously, everyone here is a pro without the intention of sharing his knowlege... A real pity: a so cool Platform with a so crappy Forum...

Byez
Liquidsun
 
Posts: 7
Joined: November 8th, 2011, 10:58 pm

Re: Refister having problems

Postby Liquidsun » November 12th, 2011, 11:25 am

Anyway, Turbo 3 ...

With the intention of being more propositive than the 80% of this Community ... :

In your Example, where you have <your game id goes here>', you must paste the code given when you register your game/application (you can follow the instructions here : http://playerio.com/documentation/getti ... mbopackage - from step 3) ...

Hope it works; let me know!

Byez!
Liquidsun
 
Posts: 7
Joined: November 8th, 2011, 10:58 pm

Re: Refister having problems

Postby Toby » November 12th, 2011, 11:34 am

If you're still interested:
Before your success callback, you need to add another string param.
Code: Select all
PlayerIO.quickConnect.simpleRegister(
stage,
'<your game id goes here>',
username,
password,
email,
null, // captcha key, if captcha is used
null, // captcha value, if captcha is used
{gender:'male',age:99}, // any additional data you want
"", // PartnerPay
function(client:Client):void{
//...
}, function(e:PlayerIORegistrationError):void{
trace("Error: ", e)
}
);

As to the forums, they go through lulls sometimes :3
User avatar
Toby
 
Posts: 86
Joined: January 14th, 2010, 4:01 pm

Re: Refister having problems

Postby Liquidsun » November 12th, 2011, 11:41 am

...The forums kinda go through lulls sometimes


Lol ... whatta nice way to say the Community Support sux :evil:
Liquidsun
 
Posts: 7
Joined: November 8th, 2011, 10:58 pm

Re: Refister having problems

Postby Toby » November 12th, 2011, 11:46 am

Liquidsun wrote:
...The forums kinda go through lulls sometimes


Lol ... whatta nice way to say the Community Support sux :evil:


I didn't mean from the Player.IO team, I mean from other devs. If you look at actual reports about problems with player.io, they respond pretty quickly. But simple syntax errors like these are generally things us devs can help each other out with... and that goes through lulls.
User avatar
Toby
 
Posts: 86
Joined: January 14th, 2010, 4:01 pm

Re: Refister having problems

Postby Liquidsun » November 12th, 2011, 12:21 pm

Idem (i meant same thing), but still thinking the Community doesn't help a lot and some tutorial should be less "fragmented" and a little more "fool-proof"; it should be an interesting added value. Period.
Liquidsun
 
Posts: 7
Joined: November 8th, 2011, 10:58 pm


Return to QuickConnect



cron