Search found 57 matches

by Fishypants
09 May 2015, 18:57
Forum: SFS2X Questions
Topic: GetAllUsersButOne ?
Replies: 2
Views: 1114

Re: GetAllUsersButOne ?

Hmmm, that is way simpler than what I currently have. Thanks for the tip Lapo! :D
by Fishypants
09 May 2015, 03:20
Forum: SFS2X Questions
Topic: GetAllUsersButOne ?
Replies: 2
Views: 1114

GetAllUsersButOne ?

Hey! So I was using Smartfox Server 1.6x and there was a handy function (it might have been undocumented) called getAllUsersButOne(int userIndex) which was a nice convenient way of getting a list of users in a room but excluding one of the users (usually the user who sent the extension request) so y...
by Fishypants
12 Feb 2015, 18:44
Forum: SFS2X Questions
Topic: SFS2X User Properties Confusion
Replies: 3
Views: 1076

Re: SFS2X User Properties Confusion

Ahhhh, ok thank you for clearing that up for me Lapo! I have to say, switching to SFS2X . . . I'm loving it. :D Theres so many great features. Great work!
by Fishypants
11 Feb 2015, 16:25
Forum: SFS2X Questions
Topic: SFS2X User Properties Confusion
Replies: 3
Views: 1076

SFS2X User Properties Confusion

So, I am migrating my project from Smartfox 1.x to Smartfox 2x. I was using user properties a lot (I like them) to store custom data on the user objects. I noticed on this page of the documentation: http://docs2x.smartfoxserver.com/Overview/zones-room-architecture Under Room Variables and User Varia...
by Fishypants
18 Sep 2012, 20:42
Forum: SFS2X Questions
Topic: SmartFox 2X vs SmartFox 1.6.x
Replies: 4
Views: 1146

Re: SmartFox 2X vs SmartFox 1.6.x

Thanks Lapo!
by Fishypants
18 Sep 2012, 17:39
Forum: SFS2X Questions
Topic: SmartFox 2X vs SmartFox 1.6.x
Replies: 4
Views: 1146

Re: SmartFox 2X vs SmartFox 1.6.x

Hey Lapo, yep I was unclear about it but thank you for the response. So just to clarify, the binary protocol would send data more compressed than raw string method, correct? I was hoping it would but just want to make sure before we make the jump and switch to SmartFox 2X.
by Fishypants
17 Sep 2012, 22:59
Forum: SFS2X Questions
Topic: SmartFox 2X vs SmartFox 1.6.x
Replies: 4
Views: 1146

SmartFox 2X vs SmartFox 1.6.x

Hey guys, I am at the point in our project where the groundwork is in place and I have a question. Forgive me if this is a dumb question, but we are using SmartFox 1.6 and sending messages as pure string values like so: x:120:70:45 We then tokenize the string on each end based on the ":" c...
by Fishypants
09 Apr 2012, 00:34
Forum: Server Side Extension Development
Topic: Iterate through room properties
Replies: 2
Views: 1864

Re: Iterate through room properties

Interesting, well thank you for the code example rjgtav. I have since reworked my code, so instead of individual properties for say "enemyLocationA", "enemyLocationB", etc, I just have an "enemyLocations" array property. Then I just get that property and iterate through...
by Fishypants
08 Apr 2012, 18:03
Forum: Server Side Extension Development
Topic: Iterate through room properties
Replies: 2
Views: 1864

Iterate through room properties

Hey everyone, I am using Smartfox 1.x with Actionscript and I am wondering how to go about iterating through all the room properties I have set up. I can see the size of the properties array by using Room.properties.size(), but as far as iterating through these values I don't know the correct syntax...
by Fishypants
09 Nov 2011, 02:52
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Variable Update issue . . .
Replies: 4
Views: 2585

The Room class is used internally by the SmartFoxClient object to store the properties of each room. :shock: Well so it does. Bah, I don't know how I overlooked that. Thanks for the insight rjgtav. I wish the documentation was a little more clearer on this subject, or maybe there is information som...
by Fishypants
09 Nov 2011, 02:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Variable Update issue . . .
Replies: 4
Views: 2585

Wait, really? How have I missed that? I thought room.getVariable() requested the variables from the server . . . IF not then that's excellent news! :D I need to read up more on that. Do you happen to know where in the documentation it mentions the variables being stored in the client?
by Fishypants
08 Nov 2011, 20:50
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Variable Update issue . . .
Replies: 4
Views: 2585

Hmmm upon further thinking, I suppose if there was data that you only wanted a select group of people to receive, then the current implementation would be ideal, since theres less data going to people who don't need it. But unfortunately, this is not my case. Every variable in the room is a variable...
by Fishypants
08 Nov 2011, 20:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Variable Update issue . . .
Replies: 4
Views: 2585

Room Variable Update issue . . .

Hey everyone. I have everything working correctly, my question is more of a design question of the server. This is what the docs say about when room variables update: The event is fired when room variables are updated in a certain room. A client receives these notifications only from the room(s) whe...
by Fishypants
08 Mar 2011, 20:37
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Limbo room and user variables question
Replies: 1
Views: 1049

Limbo room and user variables question

Hey guys, so I have a "Login" limbo room, where the user can log in, pick a character and a bunch of user variables get set then it joins the main "Lobby" room and loads a new scene. I have read some things about limbo rooms and setting user variables, and some weirdness with it....
by Fishypants
04 Mar 2011, 16:11
Forum: SmartFoxServer 1.x Discussions and Help
Topic: HELP! uCount, AutoJoin, questions everywhere!
Replies: 5
Views: 1903

uCount reads normally, i think the problem is I wasn't understanding how SmartFox handled guest users. From what I can tell, anytime you log in without a custom login and you do not supply a user name / password SmartFox will create a "guest_#" name. I thought the # would change to each ac...

Go to advanced search