Search found 21332 matches

by Lapo
17 Feb 2006, 15:33
Forum: Server Side Extension Development
Topic: Notification of messages in Zone Extension
Replies: 5
Views: 5894

I suspect that an interpreted script stresses the server much more than native sendPublicMessage command... Probably it will stress a little bit more... but I wouldn't bet. The script is not interpreted ... surprise! :) The script is compiled 8) When the extension is loaded by the server it is comp...
by Lapo
17 Feb 2006, 15:09
Forum: Server Side Extension Development
Topic: Notification of messages in Zone Extension
Replies: 5
Views: 5894

Is there a way to intercept the onPublicMessage() issued by clients in an extension? At the moment no. Dispatching events on every single public message could affect the server peformance, especially with many hundreds of rooms and many thousands of clients connected. Maybe you can just replace the...
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: 2415

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: 7328

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: 3849

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: 5528

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: 5528

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: 2207

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: 3446

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: 5528

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: 6138

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: 2062

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: 5528

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: 6138

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: 4179

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.

Go to advanced search