Search found 15 matches

by Stigma
22 May 2012, 16:23
Forum: SFS2X Questions
Topic: BUG: joinRoom forcing me to leave previous room
Replies: 8
Views: 10857

Re: BUG: joinRoom forcing me to leave previous room

Hi,

I have exactly the same problem. When my NPC joins a room, he leaves previous room.

Nothing in the logs and the method call is correct. I tried all method call but unfortunatly it don't work.

requestHandler.getApi().joinRoom(bot, room, null, false, null);

Did you found something about this ...
by Stigma
07 Jun 2011, 09:19
Forum: SFS2X Questions
Topic: How to do unit testing on Client and Server for SmartFox 2x?
Replies: 6
Views: 11656

Here is the class : http://www.tvuilleumier.ch/resources

You can extend the SFSTestCase class for your application tests and override the setUp and tearDown methods to prepare your application for a specific testing environnement. Then you can extend the newly created test case class for all your ...
by Stigma
06 Jun 2011, 12:50
Forum: SFS2X Questions
Topic: How to do unit testing on Client and Server for SmartFox 2x?
Replies: 6
Views: 11656

I did a junit test case for SFS1.6. I'm actually coding a new one for 2X and I can give it to you when I finish it if you want.
That's only for server class testing and it's a test case class with an embedded dummy java client. I make the connection and all necessary work in the constructor. The ...
by Stigma
16 Mar 2011, 14:43
Forum: SFS2X Questions
Topic: [[ NEW ]] BlueBox 2X docs
Replies: 3
Views: 6973

Thx!
by Stigma
10 Mar 2011, 10:08
Forum: SFS2X Questions
Topic: Stopping a user from idle disconnection
Replies: 3
Views: 6882

Lapo wrote:
Would be nice for future versions to include an automatic "ping" interval to keep a user connected. Something like sfs.setPingInterval(10)
Nice idea, it's already in the list :)
I've already implemented mine but a builtin solution could be great!
by Stigma
02 Mar 2011, 14:08
Forum: SFS2X Questions
Topic: BuddyListManager Getter/Setter implementation
Replies: 1
Views: 4308

BuddyListManager Getter/Setter implementation

Hi,

I can't find any documentation about a custom implementation of the buddy list especially the getter/setter method for the BuddyManager in the BuddyStorage interface.
I can't find out if the BuddyManager must be instanciated by myself or I have to use an instance created by the server core.

I ...
by Stigma
08 Feb 2011, 07:08
Forum: SFS2X Questions
Topic: [Solved] SFS2x and OpenJPA
Replies: 5
Views: 9688

With the META-INF folder and the archive with my entities placed in SFS2X\lib my application works fine but if I move the META-INF folder anywhere else including __lib__ it doesn't work.

Regards
by Stigma
07 Feb 2011, 14:47
Forum: SFS2X Questions
Topic: [Solved] SFS2x and OpenJPA
Replies: 5
Views: 9688

Thank you! I had the same problem with JPA and the EclipseLink implementation, now it works fine.

Cya
by Stigma
03 Feb 2011, 17:40
Forum: SFS2X Questions
Topic: problem sfs2x and postgresql
Replies: 11
Views: 24693

same problem
by Stigma
01 Nov 2010, 13:57
Forum: SFS2X Questions
Topic: Multiple sfs2x server instances
Replies: 2
Views: 6046

Thanks for the reply :)
by Stigma
01 Nov 2010, 08:55
Forum: SFS2X Questions
Topic: Multiple sfs2x server instances
Replies: 2
Views: 6046

Multiple sfs2x server instances

Hi,

I can't find in the new server docs or license informations if it's still possible to run multiple server instances on the the same machine with only one license.

Thank you very much for your answer.

Thomas
by Stigma
21 Sep 2010, 09:34
Forum: Server Side Extension Development
Topic: BuddyList thread safety
Replies: 1
Views: 4305

BuddyList thread safety

Hi,

In my application I use a custom buddy persister. For adding a buddy I call the addBuddy() method from the client side. But to ban a user I use a custom method that sends a JSONObject directly to the extension handler. This is the essential part of my ban method :

BuddyListManager bm ...
by Stigma
27 Apr 2010, 13:07
Forum: Server Side Extension Development
Topic: DbManager could not retrieve a connection
Replies: 1
Views: 5752

Solved with a user allowed to access to the database remotely.
by Stigma
27 Apr 2010, 12:28
Forum: Server Side Extension Development
Topic: DbManager could not retrieve a connection
Replies: 1
Views: 5752

DbManager could not retrieve a connection

Hi,

Everthing works fine with the dbManager on my developpement environnement but in production I can't connect to the database.

This is the log file :

INFO | jvm 1 | 2010/04/27 13:51:09 | DB Manager Activated ( com.mysql.jdbc.Driver )
INFO | jvm 1 | 2010/04/27 13:51:10 | 13:51:10.691 - [ SEVERE ...
by Stigma
30 Mar 2010, 10:02
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Scheduler question
Replies: 1
Views: 4189

Scheduler question

Hi,

I have a question about the Scheduler java object.

My application runs 2 differents threads which can access the addScheduledTask method of the Scheduler object. Is this method threadsafe?

Thanks for you answer.

Cya