C# API v1.6.5 released

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

C# API v1.6.5 released

Postby Bax » 03 Jun 2016, 07:50

We just released version 1.6.5 of the C# API for SmartFoxServer 2X.
The new version includes the following:

Code: Select all

[NEW] IPv6 support added for Unity builds.
[FIX] Removed a few dependancies preventing Xbox One builds under Unity.


You can download the new API from this page: http://www.smartfoxserver.com/download/sfs2x#p=client
Paolo Bax
The SmartFoxServer Team
winson
Posts: 13
Joined: 06 Mar 2014, 07:08

Re: C# API v1.6.5 released

Postby winson » 08 Jun 2016, 15:45

hello.
when the previous versions release?
our app have been rejected by apple because of IPv6 issue.
waiting for your reply.thx.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C# API v1.6.5 released

Postby Bax » 08 Jun 2016, 16:48

Sorry I don't understand... you installed API 1.6.5 but your application is still being rejected?
Paolo Bax
The SmartFoxServer Team
winson
Posts: 13
Joined: 06 Mar 2014, 07:08

Re: C# API v1.6.5 released

Postby winson » 09 Jun 2016, 09:38

Bax wrote:Sorry I don't understand... you installed API 1.6.5 but your application is still being rejected?


I mean,the sfs2x we installed is v2.8.5,but the C# API v1.6.5 only supports sfs2x which v2.10.0 or later,right?

So,the C# API supports sfs2x less than v2.9.2,when will it release?

Or the C# API v1.6.5 also can work for it?

Thx.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C# API v1.6.5 released

Postby Bax » 09 Jun 2016, 10:42

We are not going to add IPv6 support to the older 1.5.7 API.
You should be able to use API v1.6.5 with SFS2X v2.8.5, but we won't provide support in case of issues.
We strongly recommend that you upgrade to the latest SFS2X version.
Paolo Bax
The SmartFoxServer Team
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C# API v1.6.5 released

Postby Bax » 13 Jun 2016, 12:36

About IPv6 support, also take a look at this post: viewtopic.php?f=18&t=18486
Paolo Bax
The SmartFoxServer Team
mekewi
Posts: 1
Joined: 14 Jun 2016, 08:46

Re: C# API v1.6.5 released

Postby mekewi » 14 Jun 2016, 09:01

i've added new C#-Unity Api at this path "Assets/Plugins" but still not working for me
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C# API v1.6.5 released

Postby Bax » 14 Jun 2016, 13:10

Can you please be more specific? What is not working? Thanks.
Paolo Bax
The SmartFoxServer Team
triplerocks
Posts: 2
Joined: 26 Aug 2016, 09:05

Re: C# API v1.6.5 released

Postby triplerocks » 26 Aug 2016, 09:35

Hi Bax,

Our app uses the C# SDK and we are upgrading from v1.5.7 to v1.6.5 because Apple now requires IPv6 support.

However we are not using the C# SDK within Unity. Instead we are using it from Xamarin Studio (https://www.xamarin.com, previously known as MonoTouch) to create the iOS app.

When using the v1.5.x APIs, we didn't have any problems. But since v1.6.0 the downloaded C# SDK is split into three folders: Unity, Unity_WebGL and Windows_Universal respectively.

We've tried the SmartFox2X.dll file from both Unity and Windows_Universal folders but neither of them worked. (Yes I know the Windows_Universal one is for Windows platforms but tried anyway to see if any luck.)

With the one from the Unity folder, we got this error:

Code: Select all

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_CompileToNative target) ->

   MTOUCH: error MT2002: Failed to resolve assembly: 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'


With the one from the Windows_Universal folder, the error was similar:

Code: Select all

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_CompileToNative target) ->

   MTOUCH: error MT2002: Failed to resolve assembly: 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null'


Any suggestions what to do? Is SmartFox going to add support for the Xamarin Studio usage again in the future?

Thanks,
triplerocks

Bax wrote:We are not going to add IPv6 support to the older 1.5.7 API.
You should be able to use API v1.6.5 with SFS2X v2.8.5, but we won't provide support in case of issues.
We strongly recommend that you upgrade to the latest SFS2X version.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C# API v1.6.5 released

Postby Bax » 27 Aug 2016, 06:39

Thank you for reporting the issue. Do you already have a simple test project we can use as a base for testing?
We will investigate during the next few days and let you know.
Paolo Bax
The SmartFoxServer Team
triplerocks
Posts: 2
Joined: 26 Aug 2016, 09:05

Re: C# API v1.6.5 released

Postby triplerocks » 27 Aug 2016, 10:35

Thanks I had sent the test project to your support email.

But for this thread to be complete, I'm copying some of the information here as well:

The test project is put in Dropbox: https://www.dropbox.com/s/vq0guj73j54cs ... o.zip?dl=0.

It’s a simple iOS project with only one button at the center of the screen. Tapping on the button connects or disconnects SmartFox server.

It compiles and works fine in the iOS simulator. But when I try to compile for the iOS device, I get the same error:

Code: Select all

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_CompileToNative target) ->

   MTOUCH: error MT2002: Failed to resolve assembly: 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'


Bax wrote:Thank you for reporting the issue. Do you already have a simple test project we can use as a base for testing?
We will investigate during the next few days and let you know.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C# API v1.6.5 released

Postby Bax » 31 Aug 2016, 14:50

It turned out that using the current DLLs in a .Net project doesn't work due to a few dependancies from the Unity framework.
We will soon release a new API package containing a separate DLL, specific for .Net projects.
So in the end there will be 4 DLLs: .Net, Unity, Unity-WebGL and Windows Universal.
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 36 guests