Search found 68 matches

by janheuninck
14 Nov 2013, 02:54
Forum: SFS2X Questions
Topic: Maven with SmartFox
Replies: 3
Views: 8793

Re: Maven with SmartFox

Would you guys be interested in publishing the SFS2X jar files to your own Maven repository?
by janheuninck
30 Aug 2013, 15:23
Forum: SFS2X Questions
Topic: Get license details in server code
Replies: 2
Views: 6005

Re: Get license details in server code

Ok thanks for the reply. I just wanted to automatically store the license details in our database upon server startup.

Cheers,
Jan
by janheuninck
29 Aug 2013, 21:07
Forum: SFS2X Questions
Topic: Get license details in server code
Replies: 2
Views: 6005

Get license details in server code

Hi, Is it possible to detect if a license is correctly validated in our own zone/room extension? We can fetch the license with: String license = SmartFoxServer.getInstance().getConfigurator().getServerSettings().licenseCode but this doesn't tell us if the license is validated (it might already be in...
by janheuninck
25 Aug 2013, 15:47
Forum: SFS2X iPhone / iPad / OSX API
Topic: UDP timeout
Replies: 5
Views: 11209

Re: UDP timeout

Yes, that's what we are doing right now (in case the player doesn't move for a while). The problem is that all network traffic is discarded when the application runs in the background (so the ping messages won't be send).
by janheuninck
25 Aug 2013, 15:28
Forum: SFS2X iPhone / iPad / OSX API
Topic: UDP timeout
Replies: 5
Views: 11209

Re: UDP timeout

Yes, we only use the WiFi connection of the devices (iPads). The revoking of the port after the application moved to the background seems like a reasonable explanation. I was hoping I could detect this and then re-initialize UDP once the application comes to the foreground again. This is not possibl...
by janheuninck
24 Aug 2013, 21:47
Forum: SFS2X iPhone / iPad / OSX API
Topic: UDP timeout
Replies: 5
Views: 11209

UDP timeout

We are experiencing a problem with the iOS client lately. Whenever the client logs in into a zone, we initialize the UDP protocol. When this succeeds we let the user join the game room. So far so good. But when a user doesn't send a UDP packet to the server for a consecutive 30 seconds and after tha...
by janheuninck
29 Jul 2013, 16:54
Forum: SFS2X Questions
Topic: Best way to disconnect users
Replies: 3
Views: 7096

Re: Best way to disconnect users

But I want to disconnect them from within my server extension. I tried using the disconnect function in the SFS API, but that causes an exception in the iOS client. SmartFoxServer.getInstance().getAPIManager().getSFSApi().disconnectUser(user, ClientDisconnectionReason.UNKNOWN); http://i.imgur.com/FE...
by janheuninck
27 Jul 2013, 17:47
Forum: SFS2X Questions
Topic: Best way to disconnect users
Replies: 3
Views: 7096

Best way to disconnect users

What's the best way to (gracefully) disconnect users from a room on the server (and maybe fire both client and server event)?


Cheers
by janheuninck
06 May 2013, 17:38
Forum: SFS2X Questions
Topic: Remove room
Replies: 4
Views: 8512

Re: Remove room

Ok, got it to work. In the destroy function I was joining my game loop thread, without realizing that the destroy function was being called from within the game loop thread itself. This caused the thread to wait infinitely.

Topic can be closed :-)
by janheuninck
04 May 2013, 14:50
Forum: SFS2X Questions
Topic: Remove room
Replies: 4
Views: 8512

Re: Remove room

The room is empty (1 of our own conditions to remove a room) and it is also marked as dynamic.

I'm firing the removeRoom event in the room extension itself, can this be the problem? (Room can't remove itself?)
by janheuninck
03 May 2013, 21:47
Forum: SFS2X Questions
Topic: Remove room
Replies: 4
Views: 8512

Remove room

Hi guys, I'm trying to remove game rooms from the server within my room extension. This is the code I'm using: sfsApi.removeRoom(getParentRoom()); The destroy() function of the room extension gets called, but the room itself is not being removed: The SFSRoomManager never logged the "Room remove...
by janheuninck
18 Mar 2013, 17:23
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 877902

Re: Server dropping UDP packets

Hi Lapo,

Any news if you guys are going to implement this feature?


Tnx
Jan
by janheuninck
08 Mar 2013, 18:14
Forum: SFS2X Questions
Topic: Join request discarded
Replies: 4
Views: 8248

Re: Join request discarded

Lapo wrote:Two suggestions:

1- move both joins on the server side

.. OR ..

2- keep the join in the event, but delay it by a few milliseconds via a new scheduled task (e.g. 100ms)


Ok thanks, I'll delay the other join room request.
by janheuninck
08 Mar 2013, 15:52
Forum: SFS2X Questions
Topic: Join request discarded
Replies: 4
Views: 8248

Re: Join request discarded

Ok, that makes sense. I thought it might be that issue. However, we perform the second join room request on server side as a result of the initial join room request on client side. The solution you're mentioning won't help us. I'll try to figure out something else.

Thanks
by janheuninck
08 Mar 2013, 15:49
Forum: SFS2X iPhone / iPad / OSX API
Topic: Custom client error messages
Replies: 3
Views: 7842

Re: Custom client error messages

Ok, Thanks!

Edit: SFSErrorCodes is not available in the iOS API. We are using v1.1.5.

Go to advanced search