Search found 77 matches

by Democre
20 Jan 2011, 04:40
Forum: SFS2X Questions
Topic: Join room triggered an exception
Replies: 3
Views: 6772

Are you setting an uservariables directly, and not through the API?

The stack trace indicates something wrong with the user variables.
by Democre
20 Jan 2011, 02:04
Forum: SFS2X Questions
Topic: SFSExtension - How do I handle multiple extension requests?
Replies: 6
Views: 9286

You would have two different extension classes. One is attached to the zone through the configurator. The room is attached at room create time. CreateSFSGameSettings gameSettings = new CreateSFSGameSettings(); CreateRoomSettings.RoomExtensionSettings roomExt = new CreateRoomSettings.RoomExte...
by Democre
19 Jan 2011, 18:54
Forum: The Gallery
Topic: [BETA] Starfall Frontier
Replies: 1
Views: 10361

Starfall Frontier is also now available on Kongregate.

http://www.kongregate.com/games/Democre ... l-frontier

Enjoy
by Democre
19 Jan 2011, 18:50
Forum: SFS2X Questions
Topic: SFSExtension - How do I handle multiple extension requests?
Replies: 6
Views: 9286

In the client you can create a new extension request with or without a room parameter.

If there is no room parameter, the request goes to the zone extension.
If there is a room parameter, the request goes to the extension attached to that room.

Which client are you using?
by Democre
19 Jan 2011, 18:46
Forum: SFS2X Questions
Topic: Out of memory Permgen space
Replies: 13
Views: 14698

My extension does nothing out of the ordinary. I don't play with class loaders or dynamically creating classes. I don't modify byte code. I don't do anything except what is the normal use case for the server, which is register event and request handlers and handle them. The only thought that I had, ...
by Democre
18 Jan 2011, 17:02
Forum: SFS2X Questions
Topic: Out of memory Permgen space
Replies: 13
Views: 14698

Lapo, I am seeing the same error as posted in my first post. v2.controllers.ExtensionController - java.lang.OutOfMemoryError: PermGen space Unfortunately, the logs I have don't show the error as they have already been rolled off. I am seeing a different error, related to logout. That is the only oth...
by Democre
17 Jan 2011, 21:42
Forum: SFS2X Questions
Topic: Out of memory Permgen space
Replies: 13
Views: 14698

Lapo, I am encountering this problem again. We recently published our game on Kongregate. Now every 600 - 100 connections, the server freezes with the Out of memory permgen space. The only thing that helps is a restart. We are not redeploying any classes, just restarting the server. We have restarte...
by Democre
08 Jan 2011, 03:10
Forum: SFS2X Questions
Topic: executeQuery
Replies: 8
Views: 12207

executeQuery

Hello, I have a problem. I was using a prepared statement before, and tried switch over to use this String sql = "SELECT * FROM users WHERE username=?"; ISFSArray result = db.executeQuery(sql, new Object[]{name}); This now gives me the following error: You have an error i...
by Democre
07 Jan 2011, 23:50
Forum: SFS2X Questions
Topic: Tracing
Replies: 8
Views: 10849

Thanks much!
by Democre
07 Jan 2011, 15:49
Forum: SFS2X Questions
Topic: Tracing
Replies: 8
Views: 10849

As far as I know, the logs are not available in the new admin tool ... yet.

The logs are available in the SFS2X/logs directory. I leave a terminal open and cat the log every so often.
by Democre
28 Dec 2010, 17:34
Forum: SFS2X ActionScript 3 API
Topic: Loading external assets from Server
Replies: 3
Views: 6938

In the SFSObject/SFSArray docs there is a section called Byte Arrays, which mentions briefly that these could be used for external swf files.

Hope this helps...
by Democre
28 Dec 2010, 05:32
Forum: SFS2X Questions
Topic: Web services?
Replies: 2
Views: 4945

Apparently communication with the Smartfox server from a sfs hosted web application is easy and done more or less the same way as it was in sfs 1.x In this thread I would suggest something like: Zone myZone = SmartFoxServer.getInstance().getZoneManager().getZoneByName("MyZon...
by Democre
17 Dec 2010, 22:51
Forum: The Gallery
Topic: Quackbay is Released!
Replies: 2
Views: 13193

First
Should this go into the Gallery forum?

Second
Mute music button does not work.
by Democre
14 Dec 2010, 17:55
Forum: SFS2X Questions
Topic: Out of memory Permgen space
Replies: 13
Views: 14698

Thanks! Although RC1a may have a problem. I haven't done any redeploys in a week and a half, and have even restarted the server since redeployment.
by Democre
14 Dec 2010, 03:59
Forum: SFS2X Questions
Topic: Out of memory Permgen space
Replies: 13
Views: 14698

Out of memory Permgen space

I am running into an out of memory error in RC1a. The server has been up and running for only about a week. 14 Dec 2010 00:11:25,509 WARN [com.smartfoxserver.v2.controllers.ExtensionController-1] v2.controllers.ExtensionController - java.lang.OutOfMemoryError: PermGen space 14 Dec 2010 00:11:26,450 ...

Go to advanced search