Search found 18 matches

by Luc
06 Sep 2011, 15:02
Forum: SFS2X Questions
Topic: Create Room on Extension init
Replies: 10
Views: 6299

I am in the same situation of having to create a large number of rooms and NPCs when the extension starts. The solution I have gone for is to add a listener for SFSEventType.SERVER_READY and create the rooms and NPCs in there, as suggested in the javadoc: http://docs2x.smartfoxserver.com/api-docs/ja...
by Luc
03 Mar 2008, 11:17
Forum: Server Side Extension Development
Topic: [TUTORIAL] Debug Smartfox at runtime
Replies: 32
Views: 57377

I also got the 'Failed to connect to remote VM. Connection refused.' message today. I tried a lot of things to get it to work (check Vista's firewall, run as administrator, change some Eclipse settings) to no avail. I did finally find one way of getting a connection - in wrapper.conf, I changed 'sus...
by Luc
03 Oct 2007, 07:39
Forum: Server Side Extension Development
Topic: [TUTORIAL] Debug Smartfox at runtime
Replies: 32
Views: 57377

Excellent tutorial, went without a problem on Vista. Thanks for posting this Potmo!
by Luc
02 Oct 2007, 10:06
Forum: BlueBox
Topic: What percentage of users need a BlueBox connection?
Replies: 2
Views: 3796

What percentage of users need a BlueBox connection?

What would be a typical percentage of users that cannot connect without BlueBox? I assume this is mainly the office crowd that is affected?
Let's say I have a SFS installation without BlueBox. Is there a simple way of keeping track of the number of users that would benefit from it?

Cheers,
Luc
by Luc
20 Sep 2007, 13:38
Forum: Server Side Extension Development
Topic: setUserVariable doesn't update client
Replies: 5
Views: 3707

Thank you for the reply, that clears things up. I do wonder what the user.setVariable method can be used for then... It has no comments in the javadoc, so I figured wrongly this was the Java way of doing things.
by Luc
20 Sep 2007, 12:25
Forum: Server Side Extension Development
Topic: setUserVariable doesn't update client
Replies: 5
Views: 3707

setUserVariable doesn't update client

In my Java server extension I have: public void handleRequest(String cmd, ActionscriptObject ao, User u, int fromRoom) { if (cmd.equals("try")) { boolean aOK = u.setVariable("TEST", "3", UserVariable.TYPE_NUMBER); } } ...
by Luc
18 Sep 2007, 12:15
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [ARTICLE] ActiveObjects, an interesting ORM!
Replies: 8
Views: 4685

Have you used this on a project? It looks very appealing, but their webpage seems to suggest it is still very unstable and for testing purposes only.
by Luc
12 Sep 2007, 20:10
Forum: SmartFoxServer 1.x Discussions and Help
Topic: setUserVariables and Objects
Replies: 1
Views: 1647

Ah, introspection using a for...in loop only works on dynamically added properties, see http://livedocs.adobe.com/labs/flex/3/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=usingas_008_9.html A for..in loop enumerates only dynamically added properties. Declared varia...
by Luc
12 Sep 2007, 16:49
Forum: SmartFoxServer 1.x Discussions and Help
Topic: setUserVariables and Objects
Replies: 1
Views: 1647

setUserVariables and Objects

Hi, This is not really a question about SmartFoxServer, rather it's about how to do something in ActionScript3. I am working in Flex 2.0, and would like to keep my userVariables in nice little classes. So instead of doing: Sfc.setUserVariables({px:100, py:100}); I would like to do:...
by Luc
29 Jun 2007, 10:32
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Building MMO Virtual Worlds
Replies: 10
Views: 18372

That's really cool. I didn't realize just how easy it is to call Java code from Actionscript on the server (as in chapter 6.6 of the documentation). Very nice.
by Luc
29 Jun 2007, 10:03
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SmartMessenger example: setUserVariables fails
Replies: 12
Views: 6856

Argh, you are right, that is it. The sad thing is that I did add that code (see second post), but somehow I rather stupidly must have removed it again, after I crossed it off my list of possible causes.

Apologies for all the effort you had to put into this, and thanks for the help.
by Luc
29 Jun 2007, 08:40
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Building MMO Virtual Worlds
Replies: 10
Views: 18372

This is a great high-level article. I have gotten some good ideas from it. I wonder how hard it would be to integrate an ORM library with Actionscript on the server, though. As far as I can tell there aren't any ready-made interface libraries. It seems that using Java or Python would be a better cho...
by Luc
28 Jun 2007, 12:14
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SmartMessenger example: setUserVariables fails
Replies: 12
Views: 6856

It DOES crash

This is not the expected behaviour. We tested it and we're confident that there aren't problems with regular rooms. What version of the Server and API do you use? Maybe you aren't using the latest version. I am getting tired of this. I am sure there is a perfectly good reason for this crash, but I ...
by Luc
27 Jun 2007, 17:37
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SmartMessenger example: setUserVariables fails
Replies: 12
Views: 6856

The problem is with the limbo attribute of the room. I don't think so, because when I change the room to a non-limbo one in config.xml, the crash still occurs: <Rooms> <Room name="The Garden" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true&...
by Luc
26 Jun 2007, 18:05
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SmartMessenger example: setUserVariables fails
Replies: 12
Views: 6856

Hi Lapo, Thank you for your answer. UserVariables (or any other attempt to interact with the server and other users) should be set AFTER you have joined at least one room. I was afraid you would say that, but that can't be it. The user is joined in a room - after all the messenger zone has this in c...

Go to advanced search