Search found 29 matches

by Zammy
14 Dec 2015, 12:10
Forum: SFS2X Questions
Topic: install4j Launcher error
Replies: 5
Views: 12964

Re: install4j Launcher error

We had similar problem caused by folder shortcut. When going through it sfs2x-service was failing with this error.
by Zammy
09 Sep 2015, 09:34
Forum: SFS2X Questions
Topic: Switching between WiFi and 3G does not yield Logout event
Replies: 3
Views: 6528

Re: Switching between WiFi and 3G does not yield Logout even

What I did was repeatedly check for IP change. (like once per 2 secs for example). Unity3d: Could be done only onApplicationPause if but it is possible to happen while person is walking out of their home so I think the one that handles all cases is continuous pooling. void RecordIPAddress() { string...
by Zammy
07 Sep 2015, 17:16
Forum: SFS2X Questions
Topic: Switching between WiFi and 3G does not yield Logout event
Replies: 3
Views: 6528

Switching between WiFi and 3G does not yield Logout event

We are using SFS2X 2.9 with Unity client on iOS. We have not tried 2.10 yet but we do not want to risk changes pre-release. I am testing switching between networks (3G > WiFi > 3G). Smartfox reconnects to server but the session is dead. "Session Reconnection failure. Time expired for Session&qu...
by Zammy
26 Mar 2015, 16:12
Forum: SFS2X Questions
Topic: Setting UserVariable API discrepancy
Replies: 2
Views: 5278

Re: Setting UserVariable API discrepancy

Thank you very much. I would suggest adding some info to the Java docs.
by Zammy
26 Mar 2015, 12:54
Forum: SFS2X Questions
Topic: Setting UserVariable API discrepancy
Replies: 2
Views: 5278

Setting UserVariable API discrepancy

User interface has setVariable method that can throw SFSVariableException.
ISFSApi interface has setUserVariables method that does not throw any exceptions.

Why are they different and in what cases does User.setVariable() throw SFSVariableException?
by Zammy
09 Dec 2014, 14:10
Forum: SFS2X iPhone / iPad / OSX API
Topic: Frequent disconnect on iOS devices
Replies: 16
Views: 30812

Re: Frequent disconnect on iOS devices

@Lapo, Why is this exception thrown? What does it mean? How to avoid it being thrown?
by Zammy
05 Dec 2014, 16:03
Forum: SFS2X iPhone / iPad / OSX API
Topic: [BUG][iOS1.3.7] SmartFox2XClient isConnected not updated
Replies: 4
Views: 10454

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

SmartFox2XClient object returns isConnected == YES at the moment of the event "disconnect".

This happens after I have waited the "userReconnectionSeconds" time to test my logic.

I tried to dispatch the check with 2 seconds delay. It still returns YES.
by Zammy
23 Oct 2014, 09:43
Forum: SFS2X Questions
Topic: Connect config xml spec
Replies: 5
Views: 7755

Re: Connect config xml spec

I am actually not sure where I got that file. It should be from some iOS example...

Yeap, I got it from Tris example. Maybe an update is in order there.

Thank you for clarification btw!
by Zammy
20 Oct 2014, 14:35
Forum: SFS2X iPhone / iPad / OSX API
Topic: [BUG] Wrong event type string for onConnectionLost
Replies: 1
Views: 6612

[BUG] Wrong event type string for onConnectionLost

iOS v1.3.7 (and 1.3.5)

The event type string of onConnectionLost event is disconnect while the const string SFSEvent_CONNECTION_LOST is connectionLost.

Code: Select all

(lldb) po evt
disconnect

(lldb) po SFSEvent_CONNECTION_LOST
connectionLost
by Zammy
20 Oct 2014, 11:35
Forum: SFS2X Questions
Topic: What would be the best way to test connection issues?
Replies: 4
Views: 7384

Re: What would be the best way to test connection issues?

I found this: http://nshipster.com/network-link-conditioner/

It is actually pretty good but I cannot find a way to force a disconnect for a few seconds so I get client retry/resume callbacks.
by Zammy
20 Oct 2014, 11:29
Forum: SFS2X iPhone / iPad / OSX API
Topic: [NEW] API 1.3.6 available
Replies: 2
Views: 7806

Re: [NEW] API 1.3.6 available

The package says its already on 1.3.7 btw :)
by Zammy
20 Oct 2014, 10:30
Forum: SFS2X Questions
Topic: Connect config xml spec
Replies: 5
Views: 7755

Re: Connect config xml spec

Thank you for your reply! I think it would be nice if there is docs for this. In the iOS comments there isn't <smartConnect>true</smartConnect> , nor is explained. I assume it is The Highly Resilient Connection (HRC) system but assumption is the mother of all f###ups in programming. Is there differe...
by Zammy
20 Oct 2014, 10:25
Forum: SFS2X Questions
Topic: What would be the best way to test connection issues?
Replies: 4
Views: 7384

Re: What would be the best way to test connection issues?

Thank you for the reply! I have read it but I really want to try to "simulate" real world conditions. This is more generic question, maybe I can ask it on some other place. I read this: NOTE: Do not attempt to test the reconnection system by pulling the ethernet cable or shutting down the ...
by Zammy
18 Oct 2014, 13:49
Forum: SFS2X Questions
Topic: What would be the best way to test connection issues?
Replies: 4
Views: 7384

What would be the best way to test connection issues?

I want to add some connection handling to the game we are building but I am not sure how to "simulate" disconnects and resumes and so on. What would you people recommend?

Evgeni
by Zammy
18 Oct 2014, 13:38
Forum: SFS2X Questions
Topic: Connect config xml spec
Replies: 5
Views: 7755

Connect config xml spec

I tried to find a spec for the config xml file that is used on clients but I could not. Is there a place where I can read what can be put in it and all its options?

Evgeni

Go to advanced search