Search found 7 matches

by Micr0mega
04 Feb 2013, 16:51
Forum: SFS2X C# API
Topic: smartfox.IsConnected is true after OnConnectionLost
Replies: 15
Views: 24652

Re: smartfox.IsConnected is true after OnConnectionLost

zzc11414 wrote: I want it.please email :zhouzhongcheng_sz@163.com

Thanks
You realize that the mentioned sample project I created contains the error, not the solution? Seems you already know about the error, right?
by Micr0mega
04 Feb 2013, 09:30
Forum: SFS2X C# API
Topic: smartfox.IsConnected is true after OnConnectionLost
Replies: 15
Views: 24652

Re: smartfox.IsConnected is true after OnConnectionLost

I've made a few posts on this issue, but it seems a tough bug to fix. Or at least to keep fixed, as it was working correctly in client API 1.0.3! So that is what I keep using, luckily I have no great need for the newer versions. Note that with 1.0.3 the CONNECTION_LOST event gets fired twice, so it ...
by Micr0mega
23 Oct 2012, 16:15
Forum: SFS2X C# API
Topic: About u3d api connect
Replies: 6
Views: 13177

Re: About u3d api connect

*gets out the nerf bat*

It would seem this bug was re-introduced with client API release 1.0.4.
Also, after importing the new library into my assets, it makes my Unity editor (version 3.5.6) lock up when leaving "play mode" of a scene.
I switched between 1.0.3 and 1.0.4 a few times to verify both ...
by Micr0mega
11 Sep 2012, 12:47
Forum: SFS2X C# API
Topic: API 1.0.3 update
Replies: 1
Views: 4430

Re: API 1.0.3 update

Hi Bax,

Thanks for the update! This update resolves the "idle disconnect" issue described here .
My only remark at this moment is that it seems to fire the CONNECTION_LOST event twice; one with reason 'idle' followed by another with reason 'unknown'. It is not a big issue, but it does look a bit ...
by Micr0mega
27 Aug 2012, 10:36
Forum: SFS2X C# API
Topic: About u3d api connect
Replies: 6
Views: 13177

Re: About u3d api connect

Hi Thomas,

This issue is also bothering me, I hope you will be able to repair it. How is the fix coming along?

You probably already know this, but just to be sure: although IsConnected stays true when kicked from the server, the CONNECTION_LOST event does fire on the client side. So there is ...
by Micr0mega
27 Aug 2012, 10:30
Forum: SFS2X C# API
Topic: No exception/event for failed connection?
Replies: 4
Views: 8727

Re: No exception/event for failed connection?

Hi Lapo,

Thanks for replying. I did another comparison of my code with the connector example, and indeed, there was something wrong there:
I put the ProcessEvents method inside an IsConnected check :lol: So processing would not occur when not connected, causing the event not to fire.
So that's ...
by Micr0mega
23 Aug 2012, 15:48
Forum: SFS2X C# API
Topic: No exception/event for failed connection?
Replies: 4
Views: 8727

No exception/event for failed connection?

Good day,

Recently I have started a Unity3D project and utilize SmartFoxServer 2X as our server of choice.

I have set up a basic chat client, to test the robustness of Unity and SFS2X. Overall this looks quite good, but I am having some difficulties with the way the SFS2X client library seems to ...