Search found 13 matches

by alexgenaud
17 Dec 2009, 14:50
Forum: Server Side Extension Development
Topic: Limiting Room List (and asynchronous responses)
Replies: 4
Views: 6281

Hi Lapo, In my case, there is only request A. But request A generates 2 responses (one sendGenericMessage (XML roomlist) followed by sendResponse (STR protocol)). I can guarantee that sendGenericMessage is called before sendResponse (same thread). I just wanted to know if the Queue and socket guaran...
by alexgenaud
16 Dec 2009, 18:30
Forum: Server Side Extension Development
Topic: Limiting Room List (and asynchronous responses)
Replies: 4
Views: 6281

FIFO queue

Hi Lapo, We've got at least 8 cores per machine. We plan to bump the Extension threads to about a dozen threads. In addition, our application spins quite a number of threads. We have a few scheduled tasks, potentially sixty-four parallel threads accessing database partitions (shards), and who knows ...
by alexgenaud
14 Dec 2009, 12:43
Forum: Server Side Extension Development
Topic: Limiting Room List (and asynchronous responses)
Replies: 4
Views: 6281

Limiting Room List (and asynchronous responses)

Older related thread: http://smartfoxserver.com/forums/viewtopic.php?t=6242 Hi, We have potentially thousands of rooms, but only five room types. We want to reduce the amount of XML Room List data we send to all users. We also want to give the users the impression of a small community (and predictab...
by alexgenaud
09 Nov 2009, 22:13
Forum: Server Side Extension Development
Topic: No longer receiving STR requests in Java extension
Replies: 5
Views: 7484

Rooms

Hi Lapo, Thanks for the tip. Our world only has a few room types, but many instances of each. Since, from the perspective of the user, there are few room options, I'd rather not send every client the entire list of hundreds of rooms. I imagine this is a common scenario. I'm considering making new ro...
by alexgenaud
06 Nov 2009, 10:20
Forum: Server Side Extension Development
Topic: No longer receiving STR requests in Java extension
Replies: 5
Views: 7484

User not in room with customLogin="true"

Hi Lapo, The client was not calling "getRoomList()" and "joinRoom()". However, I don't understand why this is necessary. If the server places the user in the limbo room, isn't that sufficient for the client to communicate with the extension? > Limbo does not block extension calls...
by alexgenaud
05 Nov 2009, 19:14
Forum: Server Side Extension Development
Topic: No longer receiving STR requests in Java extension
Replies: 5
Views: 7484

No longer receiving STR requests in Java extension

Hi, I am no longer receiving "str" requests on the server side. I receive internal events (customLogin="true"), but nothing directly from the client via sendXtMessage. Is there something I'm missing (or rather I've removed)? Cheers, Alex Client: smartFox.sendXtMessage("x...
by alexgenaud
02 Nov 2009, 18:29
Forum: SmartFoxServer 1.x Discussions and Help
Topic: port already in use problem
Replies: 9
Views: 16643

Excellent. Thanks Lapo
by alexgenaud
02 Nov 2009, 14:00
Forum: SmartFoxServer 1.x Discussions and Help
Topic: port already in use problem
Replies: 9
Views: 16643

Multiple servers, same machine

Hi, I'd like to run multiple servers on the same machine (for development). I've modified the port for each SFS config.xml, but there is a Bind conflict on port 9009 - the H2 engines. Can that be altered as well?
by alexgenaud
24 Oct 2009, 16:32
Forum: Server Side Extension Development
Topic: Communication between SmartFox Servers
Replies: 3
Views: 5767

Socket connection

Hi Lapo, I've been playing with Terracotta and some fast key/value stores (like the Italian Redis database which screams) and either/both will likely be part of our clustering solution. But just out of curiosity. Couldn't a java app open a socket connection to another server in much the same way as ...
by alexgenaud
22 Oct 2009, 13:55
Forum: Java2SE / Android Client API
Topic: cannot set room variables with Java API
Replies: 12
Views: 29467

Trouble setting variable

Hi, is it possible this has not been fixed or has regressed in 1.6.6. I create two rooms, one in the config.xml named "y" with a variable "type=y", then other room I create in a java Task which I expect to be named "c2" with a variable "type=c". While the &quo...
by alexgenaud
15 Oct 2009, 08:30
Forum: Server Side Extension Development
Topic: Communication between SmartFox Servers
Replies: 3
Views: 5767

Communication between SmartFox Servers

Hello,

From the docs, it seems that SmartFox servers are expected to communicate via a central database. Can't one extension directly call another on different machines?

Cheers,
Alex
by alexgenaud
07 Oct 2009, 16:59
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox errors
Replies: 5
Views: 8511

User cannot be cast to SocketChannel

If SocketChannel were replaced with User in an AbstractExtension, you might get the error reported... public void handleRequest(String cmd, String[] params, User u, int fromRoom) { String r[] = {"1","2","3"}; LinkedList<SocketChannel> recipients =...
by alexgenaud
05 Oct 2009, 13:04
Forum: OpenSpace v1 discussions and help
Topic: OpenSpace and multiple zones
Replies: 1
Views: 5449

OpenSpace and multiple zones

Hi, I have tried to create multiple openspace zones in the config.xml. I've created a few copies of FarWestRanch demo and have modified _SFSZoneConfig and sfsClient.xml appropriately. The only thing in the code that seems relevant is smartFox.login(smartFox.defaultZone... If I use any zone but 'open...

Go to advanced search