Search found 22666 matches

by Lapo
06 Jul 2007, 09:08
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Flash / Flex integration doubts
Replies: 1
Views: 4063

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

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

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

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

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

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

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

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

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

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

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

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

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
by Lapo
03 Jul 2007, 06:52
Forum: Server Side Extension Development
Topic: Serverside errorcodes
Replies: 14
Views: 18593

Really? I've double checked and no, there's no initial white space.
Sounds odd
by Lapo
03 Jul 2007, 06:50
Forum: Server Side Extension Development
Topic: Possible to debug at runtime?
Replies: 11
Views: 16330

Thanks Zood, very useful tip :) For that it would be great to "runtime" debug the extensions. Its a hell compiling and copying files to the server all the time. You guys can relieve the pain using Ant which usually comes embedded with Eclipse. With Ant you can automate the entire process o...

Go to advanced search