Room.GetVariable is randomly null

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

Moderators: Lapo, Bax

User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Room.GetVariable is randomly null

Postby Lapo » 17 Apr 2019, 09:18

Thanks, we'll look into it.
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Room.GetVariable is randomly null

Postby Bax » 17 Apr 2019, 12:56

There's no need to be so aggressive with those who are trying to help you.
All our checks can be annoying, but we always need to make sure the person asking for support in not making a mistake.
When all most common causes of error are set aside (especially when a possible bug is almost impossible to reproduce), then we can check if we have an actual bug.

At the following URL you can download an updated version of the C# API that you can test in your scenario.
Let us know if you are still finding null variables. Thank you.

http://www.smartfoxserver.com/temp/SFS2X_API_CSharp_v1.7.12_TEMP.zip
Paolo Bax
The SmartFoxServer Team
Jochanan
Posts: 79
Joined: 11 May 2018, 09:12

Re: Room.GetVariable is randomly null

Postby Jochanan » 17 Apr 2019, 13:35

I will let you know
Jochanan
Posts: 79
Joined: 11 May 2018, 09:12

Re: Room.GetVariable is randomly null

Postby Jochanan » 17 Apr 2019, 14:19

I am not able to test it out, because we are using version 1.7.8 right now. I need to use this version, because , we are using Scripting runtime version .NET 3.5 equivivalent - stable.

May I ask you for a new version based on 1.7.8 with that change you have implemented there?
Thanks
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Room.GetVariable is randomly null

Postby Bax » 18 Apr 2019, 06:41

I'm sorry, we don't maintain multiple versions of our API. You should move to the latest version.
Paolo Bax
The SmartFoxServer Team
Jochanan
Posts: 79
Joined: 11 May 2018, 09:12

Re: Room.GetVariable is randomly null

Postby Jochanan » 18 Apr 2019, 14:39

We are using Unity 2017.2 and SmartFoxServer client API 1.7.8, because we would like to support devices with Windows XP - at least from the start to see, whether it is needed or not.

.NET 4.5 is not compatible with Windows XP, so we cannot have both XP support and .NET 4.5.

In your download page, you are providing link to both newest version and the newest version with .NET 2.0 support (1.7.8 ). Because of that, I thought, that you are still supporting older version of the library. Usually, bugfixes are applied on all versions, that are supported at the moment.

I would really like to test the new version of the client API, but unless my boss told me to drop XP support, i would not be able to.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Room.GetVariable is randomly null

Postby Bax » 19 Apr 2019, 11:16

We'll check if we an port the changes to v1.7.8. This may take a few days; I'll let you know here as soon as possible.
Paolo Bax
The SmartFoxServer Team
Jochanan
Posts: 79
Joined: 11 May 2018, 09:12

Re: Room.GetVariable is randomly null

Postby Jochanan » 19 Apr 2019, 20:16

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

Re: Room.GetVariable is randomly null

Postby Bax » 24 Apr 2019, 14:20

At the following URL you can download an updated version of the C# API v1.7.8.
Please try it and let us know if that fixes the issues you are experiencing.
http://www.smartfoxserver.com/temp/SFS2 ... .7.8.1.zip
Paolo Bax
The SmartFoxServer Team
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Room.GetVariable is randomly null

Postby Bax » 30 Apr 2019, 08:03

Jochanan wrote:Thanks

Jochanan, did you have the chance to test the updated API?
Paolo Bax
The SmartFoxServer Team
Jochanan
Posts: 79
Joined: 11 May 2018, 09:12

Re: Room.GetVariable is randomly null

Postby Jochanan » 02 May 2019, 15:00

I am going to test it right now.
I have tried to test both versions (the version based on 1.7.12 in a special branch) and it looked good. No error so far.

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 29 guests