Search found 21 matches

by Ferz
16 May 2013, 12:03
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

I created proof of concept: http://rwars.org/FPSDemoBuild.zip Anybody can download it and try on my test server, or any other server. Use case: 1. Connect 2. Login. 3. Create game and move a little. 4. Kill internet connection. 5. Try to close application. It will hangs. Not always, but very often. ...
by Ferz
15 May 2013, 07:45
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

Version 1.2.0 did not help. We decided to use such kind a code, to avoid hangs:

if (!Application.isEditor)
{
System.Diagnostics.Process.GetCurrentProcess().Kill();
}
by Ferz
14 May 2013, 10:27
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

The problem is not with the API but it has to be found way down in the native code that is generated by Unity from the C# bytecode. Unity does not do it. It uses SFSClient library untouched, and then mono execute it in runtime. I understand, that this issue is not obvious how to fix, but it is very...
by Ferz
14 May 2013, 07:19
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

Hello! We tried this. Nothing was changed. Our code public void OnApplicationQuit() { if (_smartFox != null) { if (_smartFox.IsConnected) { _smartFox.RemoveAllEventListeners(); _smartFox.Disconnect(); } _smartFox = null; } } Another problem case, which could help you: 1. Connect to server 2. Try ini...
by Ferz
19 Apr 2013, 14:26
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

We will try it. Thank you.
by Ferz
19 Apr 2013, 11:48
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

Any news?
by Ferz
11 Apr 2013, 13:43
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

Thank you!
by Ferz
11 Apr 2013, 12:12
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

I would suggest to try exporting with the latest Unity Editor (as of today should be v4.1) and see if they have fixed the issue. We are using Unity v4.1. The problem is still here. I have tested the scenario you have reported and I can tell you with good confidence that this is not an SFS related i...
by Ferz
05 Apr 2013, 09:31
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

The problem you are describing actually sounds like a Unity bug, because a disconnection from socket should in no way crash the application unless there's some memory leak or bad pointers, behind the scenes, the causes the failure. If this is the case there's not much we can do, but let's not be pe...
by Ferz
04 Apr 2013, 13:00
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

We have tried to clean Smartfox object in OnConnectionLost event. Now we can recconnect to server, if we create new Smartfox object. But issue with closing application is actual anyway. If disconnect happened, application hangs when we try to close it. It does not seem to be an Unity bug, because is...
by Ferz
22 Mar 2013, 15:00
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

Thank you, we will try.
by Ferz
22 Mar 2013, 14:25
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

Are you recreating the SmartFox object once the client gets disconnected. This is the one and only way to start a new connection. No. We did not do it since start of the project (more then one year ago) and everything was fine. If it is necessary - we will recreate SmartFox object before reconnect....
by Ferz
22 Mar 2013, 13:16
Forum: SFS2X C# API
Topic: API v1.1.0 released
Replies: 23
Views: 9858

Re: API v1.1.0 released

We have found bug in new version: 1. Connect to server from client. 2. Destroy internet connection, client fired OnConnectionLost event. 3. Try to reconnect to server. 4. SmartFox.dll fired exception: Object reference not set to an instance of an object at Sfs2X.Bitswarm.BitSwarmClient.Connect (Syst...
by Ferz
12 Oct 2012, 11:39
Forum: SFS2X C# API
Topic: Low read/write rate in version 1.0.3
Replies: 7
Views: 3261

Re: Low read/write rate in version 1.0.3

Any news?
by Ferz
04 Oct 2012, 17:38
Forum: SFS2X C# API
Topic: Low read/write rate in version 1.0.3
Replies: 7
Views: 3261

Re: Low read/write rate in version 1.0.3

Looking forward to hearing from you. Thanks.

Go to advanced search