Search found 57 matches
- 09 May 2015, 18:57
- Forum: SFS2X Questions
- Topic: GetAllUsersButOne ?
- Replies: 2
- Views: 4997
Re: GetAllUsersButOne ?
Hmmm, that is way simpler than what I currently have. Thanks for the tip Lapo!
- 09 May 2015, 03:20
- Forum: SFS2X Questions
- Topic: GetAllUsersButOne ?
- Replies: 2
- Views: 4997
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...
- 12 Feb 2015, 18:44
- Forum: SFS2X Questions
- Topic: SFS2X User Properties Confusion
- Replies: 3
- Views: 5594
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. Theres so many great features. Great work!
- 11 Feb 2015, 16:25
- Forum: SFS2X Questions
- Topic: SFS2X User Properties Confusion
- Replies: 3
- Views: 5594
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...
- 18 Sep 2012, 20:42
- Forum: SFS2X Questions
- Topic: SmartFox 2X vs SmartFox 1.6.x
- Replies: 4
- Views: 6072
Re: SmartFox 2X vs SmartFox 1.6.x
Thanks Lapo!
- 18 Sep 2012, 17:39
- Forum: SFS2X Questions
- Topic: SmartFox 2X vs SmartFox 1.6.x
- Replies: 4
- Views: 6072
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.
- 17 Sep 2012, 22:59
- Forum: SFS2X Questions
- Topic: SmartFox 2X vs SmartFox 1.6.x
- Replies: 4
- Views: 6072
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...
- 09 Apr 2012, 00:34
- Forum: Server Side Extension Development
- Topic: Iterate through room properties
- Replies: 2
- Views: 6138
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...
- 08 Apr 2012, 18:03
- Forum: Server Side Extension Development
- Topic: Iterate through room properties
- Replies: 2
- Views: 6138
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...
- 09 Nov 2011, 02:52
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Room Variable Update issue . . .
- Replies: 4
- Views: 8332
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...
- 09 Nov 2011, 02:44
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Room Variable Update issue . . .
- Replies: 4
- Views: 8332
- 08 Nov 2011, 20:50
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Room Variable Update issue . . .
- Replies: 4
- Views: 8332
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...
- 08 Nov 2011, 20:46
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Room Variable Update issue . . .
- Replies: 4
- Views: 8332
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...
- 08 Mar 2011, 20:37
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Limbo room and user variables question
- Replies: 1
- Views: 4235
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....
- 04 Mar 2011, 16:11
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: HELP! uCount, AutoJoin, questions everywhere!
- Replies: 5
- Views: 7847