Search found 22649 matches

by Lapo
12 Dec 2007, 07:01
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Structure concept : RED5 vs SFS
Replies: 3
Views: 7083

Your questions would require more of a "dedicated" consulting than a quick forum response. :) These architectural issues can't be solved overnight. You should invest a bit of time in reading the docs and following the tutorials, they will respond to 90% of your questions Additionally we ha...
by Lapo
12 Dec 2007, 06:55
Forum: Server Side Extension Development
Topic: how reliable is SFS's ghost connection sweeper?
Replies: 3
Views: 6552

<MaxUserIdleTime> is set to as low as 10 seconds

This value should be always > 1 minute
by Lapo
12 Dec 2007, 06:54
Forum: Server Side Extension Development
Topic: how reliable is SFS's ghost connection sweeper?
Replies: 3
Views: 6552

It's seems that is specifically in these cases that the server has a hard time getting rid of these orphaned user objects, even some minutes after the client application has been shut down.


Question:
Are you using 1.5.9? Many of nasty ghost connection issues has been solved there.
by Lapo
12 Dec 2007, 06:52
Forum: Server Side Extension Development
Topic: room variables when room starts (the zombie issue)
Replies: 5
Views: 8482

I have a hard time understanding your example. In your code the just-created room is called r and you say: The trace log from roomVars.py, the third line is the trace for the thisRoom.getName() and the last line is the trace for thisRoom.getVariables(): where is thisRoom coming from? and why don't y...
by Lapo
12 Dec 2007, 06:46
Forum: Server Side Extension Development
Topic: Creating room with variables does not work :(
Replies: 2
Views: 5821

AJCGames: properties and RoomVariables are not the same thing. If you want to read variables from a Room object you should use Room.getVariable(varName) or Room.getVariables() properties are custom values that exist only on the server side, you can manipulate them as you want and br...
by Lapo
11 Dec 2007, 22:22
Forum: Server Side Extension Development
Topic: Using multiple AS classes
Replies: 1
Views: 3909

Yes you can. Classes in AS are prototype based and you can store them in one or more external files which can be imported in the main extension file using the #include "filename.as" directive, just like in Flash using AS 1.0 Additionally you can also use Java classes which can be easily ac...
by Lapo
11 Dec 2007, 22:19
Forum: Server Side Extension Development
Topic: Custom data objects between ActionScript & Java extensio
Replies: 2
Views: 5684

I am not sure if I get the question... but the ActionscriptObject is a class that "emulates" an AS object on the Java server side, to help sending data from Java to AS and viceversa. The ASObject however accepts only a limited number of properties which map to the respective types in AS: s...
by Lapo
11 Dec 2007, 07:33
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Big Error
Replies: 1
Views: 7592

Hi, you are using the wrong java runtime. We only recommend and support the Sun Java Runtime. You can download it from -> http://www.java.com Alternatively: SmartFoxServer Basic and PRO (Linux version) already come with an embedded JRE out of the box. They both come for free with a 20 users license....
by Lapo
11 Dec 2007, 07:27
Forum: SmartFoxServer 1.x Discussions and Help
Topic: *UPDATED* FreeBSD Install issue -
Replies: 3
Views: 5843

Hi,
I am sorry but you will need to install the Sun Java Runtime, that's the only JRE we recommend for SmartFoxServer.
by Lapo
10 Dec 2007, 14:58
Forum: SmartFoxServer 1.x Discussions and Help
Topic: *UPDATED* FreeBSD Install issue -
Replies: 3
Views: 5843

Hi, this is a problem related with a "native" problem... probably due to an incompatibility between the JRE and the environment in which it is executed.
What OS do you use?
How much RAM does the server have and how much of it is free when launching the installer?
by Lapo
10 Dec 2007, 14:54
Forum: SmartFoxServer 1.x Discussions and Help
Topic: No </body> tag on VerChk
Replies: 1
Views: 7368

You can't use the AS3 API with SFS Lite, thery are not supported.
Download SFS PRO (or BASIC) instead
by Lapo
10 Dec 2007, 13:00
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Matchmaking application
Replies: 9
Views: 10911

The problem lies in the fact that by default game rooms don't listen for room updates.
Simply use a normal room for the Matchmaking room.
by Lapo
10 Dec 2007, 10:17
Forum: SmartFoxServer 1.x Discussions and Help
Topic: getVariables Boolean always true :(
Replies: 6
Views: 8862

Yes, I see... this is actually the best workaround we can provide as of now :)
The problem will be fixed in the next release.

HTH
by Lapo
10 Dec 2007, 07:58
Forum: Server Side Extension Development
Topic: autoJoin property
Replies: 1
Views: 4023

You can call this method on the Zone object:

Code: Select all

zone.setAutoJoinRoom(id)

where id is the id of the autojoin room
by Lapo
10 Dec 2007, 07:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: getVariables Boolean always true :(
Replies: 6
Views: 8862

There seem to be a problem with the documentation/examples. Booleans should be declared as 1 (true) or 0 (false) in the static list of variables. This is because internally the server uses this representation in order to save protocol bandwidth. To summarize: Static Room Variable declaration in the ...

Go to advanced search