Search found 8 matches

by mack
05 Feb 2019, 14:16
Forum: SFS2X Questions
Topic: On-the-fly change from Perpetual to Elastic
Replies: 1
Views: 3154

On-the-fly change from Perpetual to Elastic

Hi!

Running SmartFoxServer 2X 2.13.4 as a base.

Is it possible to smoothly interchange Perpetual and Elastic licenses?
What steps should I have on mind if I migrate from Perpetual to Elastic license?

Best Regards,
mack
by mack
04 Sep 2015, 09:57
Forum: SFS2X Questions
Topic: Invitation not send from the server
Replies: 1
Views: 3725

Invitation not send from the server

Hi, I am working on the extension and want to send Invitation to one of the online, connected user (checked). Invitation is fired inside the Task scheduled with TaskScheduler. Whole server stands on Java 8 (jre1.8.0_51) set up with your last instructions. Extension is also compiled with Java 8 (same...
by mack
25 May 2015, 09:22
Forum: 2X Features Wish List
Topic: Extra SFSObject in ROOM_JOIN/USER_ENTER_ROOM
Replies: 3
Views: 11528

Re: Extra SFSObject in ROOM_JOIN/USER_ENTER_ROOM

Hi, The server-side decides who joins which room in response to the client request (eg. WantToPlayRequest). We would like to synchronize some user data in ROOM_JOIN/USER_ENTER_ROOM responses to the client. We would like to pass an extra object from server's extension (joinRoom(user, room, extraObjec...
by mack
21 May 2015, 08:12
Forum: 2X Features Wish List
Topic: Extra SFSObject in ROOM_JOIN/USER_ENTER_ROOM
Replies: 3
Views: 11528

Extra SFSObject in ROOM_JOIN/USER_ENTER_ROOM

Hi all, It would be great to have a possibility to pass an extra object in server-side function (from SFSApi): public void joinRoom(User user, Room roomToJoin, java.lang.String password, boolean asSpectator, Room roomToLeave, boolean fireClientEvent, boolean fireServerEvent) throws SFSJoinRoomExcept...
by mack
21 May 2015, 07:52
Forum: SFS2X Questions
Topic: Event injection
Replies: 3
Views: 5525

Re: Event injection

But what should I do if I want to build my own protocol over the Smartfox standard messages?
Is it acceptable way of injecting the event? (sdk client waits with communication until received all the messages from the server, both USER_JOIN_ROOM and our own message)

Best Regards
mack
by mack
07 May 2015, 11:39
Forum: SFS2X Questions
Topic: Event injection
Replies: 3
Views: 5525

Event injection

Hi, All this below happens in custom request handler. I have a join room method called like this: getApi().joinRoom(user, newRoom, "", false, null, true, false); Last two parameters controls whether the client gets notification about the event and the second is for server notification. joi...
by mack
26 Feb 2015, 14:39
Forum: SFS2X iPhone / iPad / OSX API
Topic: [BUG][iOS1.3.7] SmartFox2XClient isConnected not updated
Replies: 4
Views: 10275

Re: [BUG][iOS1.3.7] SmartFox2XClient isConnected not updated

Hi, Thank you for the answer. Yes, it makes sense. The bug with event types is reported here: http://www.smartfoxserver.com/forums/viewtopic.php?f=21&t=17509 I also found, when I use Android SDK I can catch handshake event (it comes in dispatchEvent method), and there are no such an event in iOS...
by mack
25 Feb 2015, 12:04
Forum: SFS2X iPhone / iPad / OSX API
Topic: [BUG][iOS1.3.7] SmartFox2XClient isConnected not updated
Replies: 4
Views: 10275

Re: [BUG][iOS1.3.7] SmartFox2XClient isConnected not updated

I am experiencing same issue.

I am receiving onConnectionLost event (event.type = 'disconnect' instead of 'connectionLost') and propagate it to checkConnectionEstablished method.
In checkConnectionEstablished I use isConnected from SmartFox2XClient and get YES.

Any updates or simple work-arounds?

Go to advanced search