Search found 22668 matches

by Lapo
06 Jul 2007, 09:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Variables and another odd problem
Replies: 1
Views: 3315

There's a lot of confusion here. It seems you haven't followed our tutorials, especially the initial ones, which demonstrate the basics of joining, setting variables etc... I strongly recommend to take time with them, it will save you a lot of pain. I get "undefined". I have tried getVaria...
by Lapo
06 Jul 2007, 09:15
Forum: Server Side Extension Development
Topic: Extending the User-class
Replies: 19
Views: 24940

Wow... there's a bit of Java confusion here :) Up to Java 1.4 you should use wrapper classes for primitive values. Integer for int Double for double Boolean for boolean etc... These are objects (extending java.lang.Object) so they can be used in any collection Since Java 1.5 the auto-boxing feature ...
by Lapo
06 Jul 2007, 09:08
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Flash / Flex integration doubts
Replies: 1
Views: 4070

Sorry, but your question is quite obscure to me :)
Flash and Flex do not affect the way you connect to a database from SFS.
They are client side technologies.
All you have to do to talk to a database is follow the directions found in our documentation and examples
by Lapo
05 Jul 2007, 16:55
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox Basic/Pro won't install :( Competitor product does
Replies: 6
Views: 10779

SFS up and running :) Can I uninstall the competitor's product? :P :lol: For those interested. If you are running a VPS with low memory, like 256Mb or so, you may encounter problems running the SFS installer. In such case edit the installer file so that it looks like this: ./jre/bin/java -Xmx64m -ja...
by Lapo
05 Jul 2007, 16:21
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox Basic/Pro won't install :( Competitor product does
Replies: 6
Views: 10779

Maybe it's because the competitor product is eating up all the available memory :P

Seriously... I will take a look an let you know.

Stay tuned :)
by Lapo
05 Jul 2007, 06:50
Forum: Server Side Extension Development
Topic: Getting ActionScript UserVariables with Java
Replies: 3
Views: 7525

You're using the wrong code to retrieve the data. Use this instead: Object obj = user.properties.get("MyList") To avoid problems with types in Java, I would recommend using a Java list on the AS side instead of a generic Array. It will save you a lot of headaches. Use an ArrayList ...
by Lapo
05 Jul 2007, 06:41
Forum: Server Side Extension Development
Topic: Infinite WarningsBeforeKick?
Replies: 1
Views: 4842

Re: Infinite WarningsBeforeKick?

I want to use the bad word filter, but I don't want people to ever get kicked out when it's triggered. Is there a way to disable that feature, like how you can disable the warnings? For now I've just got a very high number in WarningsBeforeKick, but that's not ideal. A very high number will do the ...
by Lapo
05 Jul 2007, 06:37
Forum: Server Side Extension Development
Topic: calling sendXtMessage before joining a room
Replies: 2
Views: 5783

As stated all over the docs, you can't just do that :) Main reason: security. If you want people to interact with the server you have to join them in a room. At least create 1 static (or dynamic) room where people will be autojoined and from there you go ahead with your application logic. You probab...
by Lapo
04 Jul 2007, 17:18
Forum: Server Side Extension Development
Topic: How to call serverside scripts in a Python extension
Replies: 1
Views: 4668

Both choices are fine (urllib or java native classes) One important advice: you should spawn a new thread when loading data from an external URL and let it handle the work. Since such request may take from a few ms. to several seconds you may block the server Extension thread for too long resulting ...
by Lapo
04 Jul 2007, 13:22
Forum: Server Side Extension Development
Topic: server to server connection for clustering
Replies: 7
Views: 10221

Handling 15k users in a game extension is probably doable (unless server side logic is veeery heavy) with enough processors in your server. As of today a quad Xeon (dual-core) is affordable if you're "thinking large" and it should provide enough horse-power for such job. Same thing for the...
by Lapo
04 Jul 2007, 09:12
Forum: Server Side Extension Development
Topic: server to server connection for clustering
Replies: 7
Views: 10221

1st of all handling 100k connections requires truckloads of bandwidth
2nd ... even Second Life has never reached that peak
3rd ... you've got to find a veeery stable OS to handle 100k socket connections ;)

Aiming at 30-40k is probably realistic enough

Good luck
by Lapo
04 Jul 2007, 06:04
Forum: SmartFoxServer 1.x Discussions and Help
Topic: sendPrivateMessage
Replies: 2
Views: 5180

You're correct: PMs work in the same Zone.
It is not a limitation, each Zone runs a different application, so they are isolated.

If you need to better understand the server architecture check this tutorial -> http://www.smartfoxserver.com/docs/docP ... ecture.htm
by Lapo
04 Jul 2007, 06:01
Forum: Server Side Extension Development
Topic: Possible to debug at runtime?
Replies: 11
Views: 16341

Yep, because the JVM classloader has to reload those classes
by Lapo
03 Jul 2007, 11:58
Forum: Server Side Extension Development
Topic: Flash to jsp
Replies: 1
Views: 4221

The help you are looking for is very generic and it involves some basic knowledge about how Flash and dynamic webpages work ( LoadVars, http get/post etc... ) You should look for some specific tutorial on the web. Additionally I've already pointed you to some other websites where you can find help -...
by Lapo
03 Jul 2007, 11:49
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to know if a user is connected?
Replies: 3
Views: 5855

you can't. It wastes too many resources to broadcast the client about the status of all other clients.
This of course doesn't many that it can't be done.
It's very easy to perform it in an server side extension. Extensions, in general, give you the best control of the server objects

Go to advanced search