userVariablesUpdate docs

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
omnivibe
Posts: 91
Joined: 05 Oct 2010, 09:23
Contact:

userVariablesUpdate docs

Postby omnivibe » 13 Apr 2011, 13:44

Seems to be an error for changedVars... says it changes room vars when it should be user vars?
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 15 Apr 2011, 09:28

Sorry your comment is not very clear to me.
Can you please quote the text in question and point me to what should be corrected? Also clarify where? :) (Server API? Client API? Which language?)
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 15 Apr 2011, 12:55

I think omnivibe is referring to AS3 API. Thank you for reporting, we will fix it.
Paolo Bax
The SmartFoxServer Team
User avatar
omnivibe
Posts: 91
Joined: 05 Oct 2010, 09:23
Contact:

Postby omnivibe » 26 Apr 2011, 06:16

Yep 8)
COB
Posts: 68
Joined: 28 Dec 2010, 08:54

Postby COB » 16 May 2011, 16:15

In fact this bug still exists in the example concerning setting user variables in documentation:

Code: Select all

List<UserVariable> userVars = new List<UserVariable>();
[b]roomVars[/b].Add( new SFSUserVariable("avatarType", "SwedishCook") );
[b]roomVars[/b].Add( new SFSUserVariable("country", "Sweden") );
[b]roomVars[/b].Add( new SFSUserVariable("x", 10) );
[b]roomVars[/b].Add( new SFSUserVariable("y", 5) );

smartFox.Send ( new SetUserVariablesRequest(userVars) );
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 17 May 2011, 07:49

COB, can you please post the link to the wrong documentation?
Paolo Bax
The SmartFoxServer Team
COB
Posts: 68
Joined: 28 Dec 2010, 08:54

Postby COB » 18 May 2011, 04:29

User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 18 May 2011, 07:20

Thanks for reporting.
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Thomasea and 62 guests