Search found 22650 matches

by Lapo
17 Feb 2006, 07:11
Forum: SmartFoxServer 1.x Discussions and Help
Topic: can I get other rooms variables in client ?
Replies: 1
Views: 4920

The problem with cross-room operation is related with the fact that you don't have an updated list of users for all rooms on the client side. This is obviously done to avoid sending tons of data to the client When you join a room you will receive its user list (filled with User objects). Only that r...
by Lapo
17 Feb 2006, 07:05
Forum: Server Side Extension Development
Topic: email
Replies: 7
Views: 14358

At the moment no.
I will add these features to the todo list ... :)

Of course on the extensions side you could implement your own mailer system, maybe based on the javamail package or similar

:)
by Lapo
17 Feb 2006, 07:02
Forum: Server Side Extension Development
Topic: dynamic room generation
Replies: 2
Views: 7406

Question: I guess you're using of the last betas... which version? The problem with the admin tool has been solved in the latest beta. (1.4.0beta3) You will find an extra checkbox that forces the login of the admin even if another admin connection is alive. If you need to download the latest beta ch...
by Lapo
17 Feb 2006, 06:54
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How can i put the user that are conected to al my server??
Replies: 7
Views: 12081

Nice idea :)
Maybe instead of writing to a file on each user event I would suggest to update the count based on a fixed interval... like 20 or 30 seconds.
I know this is not as precise, but if you're running a lot of users it may be a resource waste to constantly write to a file...
by Lapo
15 Feb 2006, 07:01
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How can i put the user that are conected to al my server??
Replies: 7
Views: 12081

You should search for a Flash component that does that.
Check this one >> http://www.osflash.org/fosforo
by Lapo
15 Feb 2006, 06:59
Forum: SmartFoxServer 1.x Discussions and Help
Topic: onPublicMessage() - How can I know from which joined room?
Replies: 1
Views: 4810

Hi, this is the signature of the onPublicMessage() method: public function onPublicMessage(msg:String, user:User, sourceRoom:Number) So the third paramater is what you need to identify the room where the message is coming from. We didn't realize that this last parameter was not in the docs. ...
by Lapo
14 Feb 2006, 20:13
Forum: Features Wish List
Topic: how about a search in the online docs?
Replies: 1
Views: 6053

coming very soon :)
by Lapo
13 Feb 2006, 06:53
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How can i put the user that are conected to al my server??
Replies: 7
Views: 12081

the list of all rooms in a Zone is sent by the server upon connection or by requesting it with a getRoomList() yeah, but if somebody create an extra room? I don't understand... when the web page is loaded your little flash counter will connect, get the number of users and disconnect. If a room is cr...
by Lapo
13 Feb 2006, 06:34
Forum: Server Side Extension Development
Topic: Disconnect Failed Login
Replies: 4
Views: 11569

I have also noticed that sometimes the extension is unable to login a user because the channel is undefined. This might be caused by unstable client connections, that are dropped right after the login message... However it's interesting that you get an "undefined". It would have expected a "null" i...
by Lapo
12 Feb 2006, 21:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SFS on Linux stopped wroking...
Replies: 1
Views: 4613

You have probably used a password with less than 6 characters. For security reasons you should use passwords longer than 6 chars. In order to check what problem prevents the server from starting, check the wrapper.log file inside the runAsService/ folder. Additionally have a look at the log files in...
by Lapo
12 Feb 2006, 15:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How can i put the user that are conected to al my server??
Replies: 7
Views: 12081

A simple way could be this:

- create a small swf that connects to the server
- once you get the list of rooms cycle through it and sum the number of users in each room.
- then show it in a textfield inside the SWF
by Lapo
12 Feb 2006, 15:42
Forum: Server Side Extension Development
Topic: Disconnect Failed Login
Replies: 4
Views: 11569

Hi, Example: My sfsAdmin says 47 users online, but shows 71 sockets connected. The "disconnector task" related with MaxUserIdleTime property has been tested extensively and we have never found problems with it. I believe this may depend on how your application work... For example in our tutorials ea...
by Lapo
12 Feb 2006, 15:36
Forum: Server Side Extension Development
Topic: _server.sendResponse "str" adds one parameter to t
Replies: 1
Views: 6938

Yep it is.
Your data start at position 2.
The reason is because the first 2 positions are occupied by the name of the command and the source room id

You should check the "Realtime Maze" tutorial to see the "str" format in action.
by Lapo
11 Feb 2006, 17:43
Forum: Server Side Extension Development
Topic: Size difference: Room Variables or Raw String format?
Replies: 2
Views: 7104

In terms of bandwidth usage the "str" format is way more efficient.

User/Room Variables use an already optimized XML to serialize data, but they can't compete with the raw-protocol.

If you need to save every bit of bandwidth that's the way to go :)
by Lapo
11 Feb 2006, 10:10
Forum: Features Wish List
Topic: Delete Rooms
Replies: 2
Views: 8590

Yup! It's in the to-do list for the final 1.4.0 We're thinking about something like this: _server.destroyRoom(roomObj, force) Where force is a flag that forces room destruction even with connected users inside. This might be useful for advanced admin-only features. More in general the destroyRoom me...

Go to advanced search