:::NEW::: API Update
:::NEW::: API Update
Hello
a new C# API DLL update is available for you to download.
You can replace your old .DLL and recompile your client code.
DOWNLOAD UPDATE
NOTE:
It is required that you use the latest RC3 version
a new C# API DLL update is available for you to download.
You can replace your old .DLL and recompile your client code.
DOWNLOAD UPDATE
NOTE:
It is required that you use the latest RC3 version
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Besides some critical bugfixes (and non-critical ones), this version fixes BlueBox to work with latest Unity versions in the webplayer.
So highly recommended to upgrade if thats what you use
/Thomas
So highly recommended to upgrade if thats what you use
/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
-
- Posts: 6
- Joined: 12 Sep 2010, 23:27
new DLL
Does this also fix the previous memory errors with the SFSArray's?
We have been experiencing significant issues sending data from the Java server class using putSFSArray() when our array element was in the 500+ element size range and were forced to implement a temporary work around having to chunk up our data queries using start/limits which significantly slow down the user initialization phase.
I just downloaded the update and will give it a try, thanks!
-Tim
We have been experiencing significant issues sending data from the Java server class using putSFSArray() when our array element was in the 500+ element size range and were forced to implement a temporary work around having to chunk up our data queries using start/limits which significantly slow down the user initialization phase.
I just downloaded the update and will give it a try, thanks!
-Tim
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
What type of "significant issues" and do you have a small repro case?
/Thomas
/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
-
- Posts: 6
- Joined: 12 Sep 2010, 23:27
Thomas,
Thanks for the reply, we had been experiencing OnExtensionResponse events getting dropped when our return data contained approximately 500-600 array elements. For example we have a MySQL return data set which consisted of a table with 50 columns of mostly INTS and after about 10 rows within the result set, the client would not properly trigger the OnExtensionResponse event.
I downloaded your new SmartFox2.DLL and tested it this morning, it now appears to work fine. I have increased all of our limits on the MySQL Queries from between 4 and 10 (depending on table) up to 100 now and the initialization is now so fast that if I blink or quickly look away it's done by the time I look back. I think there is one table that has like 200 rows and two others with just over a hundred while the others mostly have only a few dozen. The MySQL DB is local on the same server as the SFS2X server although we also have one out in the cloud which has slightly slower response times as would be expected.
Sorry, I'm not sure what you are asking for "small repro case", but I can provide a dump of a CSV table export for example but would prefer to PM it to you directly since it may contain proprietary information for our product.
-Tim
Thanks for the reply, we had been experiencing OnExtensionResponse events getting dropped when our return data contained approximately 500-600 array elements. For example we have a MySQL return data set which consisted of a table with 50 columns of mostly INTS and after about 10 rows within the result set, the client would not properly trigger the OnExtensionResponse event.
I downloaded your new SmartFox2.DLL and tested it this morning, it now appears to work fine. I have increased all of our limits on the MySQL Queries from between 4 and 10 (depending on table) up to 100 now and the initialization is now so fast that if I blink or quickly look away it's done by the time I look back. I think there is one table that has like 200 rows and two others with just over a hundred while the others mostly have only a few dozen. The MySQL DB is local on the same server as the SFS2X server although we also have one out in the cloud which has slightly slower response times as would be expected.
Sorry, I'm not sure what you are asking for "small repro case", but I can provide a dump of a CSV table export for example but would prefer to PM it to you directly since it may contain proprietary information for our product.
-Tim
ThomasLund wrote:What type of "significant issues" and do you have a small repro case?
/Thomas
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Hi Dilbertian
If the new dll fixes your issue, then no need for repro case or data dumps Just happy it got fixed for you.
If you run into other problems - poke me asap and preferably with detailed info on how to reproduce it. And even better with code/data showing the issue.
/Thomas
If the new dll fixes your issue, then no need for repro case or data dumps Just happy it got fixed for you.
If you run into other problems - poke me asap and preferably with detailed info on how to reproduce it. And even better with code/data showing the issue.
/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Oh BTW,
Unmentioned and almost forgotten improvement
This dll has a home brew XML parser for the reading of the config file. This home brew parser is pretty basic and doesnt do a lot of validation - but on the other hand I removed the dependency to System.Xml and thus saving you approx 1 MB in size.
Webplayer build log from the connection demo - smallest possible usage:
vs. previous
Unmentioned and almost forgotten improvement
This dll has a home brew XML parser for the reading of the config file. This home brew parser is pretty basic and doesnt do a lot of validation - but on the other hand I removed the dependency to System.Xml and thus saving you approx 1 MB in size.
Webplayer build log from the connection demo - smallest possible usage:
Code: Select all
Mono dependencies included in the build
SmartFox2.dll
Assembly-CSharp.dll
Unloading 270 unused Assets to reduce memory usage. Loaded Objects now: 926.
System memory in use: 209.6 MB.
Unloading 0 Unused Serialized files (Serialized files now loaded: 2 / Dirty serialized files: 2)
LZMA 4.43 Copyright (c) 1999-2006 Igor Pavlov 2006-06-04
***Player size statistics***
Level 0 'Assets/test.unity' uses 75.3 KB compressed / 266.6 KB uncompressed.
Total compressed size 75.3 KB. Total uncompressed size 266.6 KB.
Textures 0.0 kb 0.0%
Meshes 0.0 kb 0.0%
Animations 0.0 kb 0.0%
Sounds 0.0 kb 0.0%
Shaders 0.0 kb 0.0%
Other Assets 0.0 kb 0.0%
Levels 5.4 kb 2.0%
Scripts 236.1 kb 88.6%
Included DLLs 0.0 kb 0.0%
File headers 25.0 kb 9.4%
Complete size 266.5 kb 100.0%
vs. previous
Code: Select all
Mono dependencies included in the build
System.Xml.dll
SmartFox2.dll
Assembly-CSharp.dll
...
Included DLLs 1.0 mb 80.0%
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
There is a fix in SVN for something that could be the fix for your problem too. If you manually set blue box to false, then that error would not materialize.
/Thomas
/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
-
- Posts: 1
- Joined: 12 Jan 2012, 20:20
- Location: Montreal
Bug in the latest dll
I have exactly the same issue as nugao has mentioned. It just keeps on trying to connect to the server (even though it is down) in an infinite loop until it crashes. If I disable blue box, I do not see this issue, however it is important for us to use blue box to avoid firewall issues. Please provide update on if this problem has been fixed or when/if it is planned in the new release.
It may also be mentioned that in the previous version of the dll (part of RC3), I was encountering the problem where the library would not at all reconnect when the server becomes available after it was down for some time. And this is why I upgraded to this new release.
Thanks a lot,
Ovais
It may also be mentioned that in the previous version of the dll (part of RC3), I was encountering the problem where the library would not at all reconnect when the server becomes available after it was down for some time. And this is why I upgraded to this new release.
Thanks a lot,
Ovais
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Send me a PM with your email address and I'll send you a new dll from SVN.
/Thomas
/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
Who is online
Users browsing this forum: No registered users and 75 guests