Page 1 of 2

{ NEW } SFS PRO update 1.6.9 available

Posted: 16 Aug 2010, 03:49
by Lapo
Hello,
SmartFoxServer PRO 1.6.9 update is available.

The new release addresses various bugs discussed in the support board since the last release.

Download SFSPRO 1.6.9 update

Release notes

Posted: 16 Aug 2010, 03:52
by Lapo

SmartFoxServer PRO 1.6.9 update -- release notes --

Server Side:
* Fixed MD5 generation concurrency issue
* Fixed an issue with possible wrong Room user counts
* Fixed an issue with possible duplicate playerId in Game Rooms
* Added new configurable limit for BuddyVariables value length: <maxBuddyVariableLen> (default = 255 chars), can be added in the BuddyList config block.
* Added new overloaded constructors for RoomVariables on the server side, similarly to UserVariable constructors
* Added IP of client sending a malformed packet in the warning message
* Added setTemp(boolean value) method to the Room class
* Added Room object in spectatorSwitch and playerSwitch events on server side

Client Side:
* Server side updates referencing Rooms not managed by the local RoomList no longer throw Error #1009
* Improved error checking while looping over several aggregated messages
* Connecting to a Server that is not running no longer fires a Security error.

Posted: 16 Aug 2010, 07:44
by rjgtav
Great! I'll try it asap.

--EDIT--

In the sfs admin tool, still says that sfs 1.6.8 is the latest version. But i've already installed the 1.6.9

Posted: 16 Aug 2010, 15:25
by udikantz
Thank you for the patch!

Still fires a Security error

Posted: 18 Aug 2010, 11:41
by rajeshmgnair
Hi Lapo,

Initially we encounter SandBox Violation Error [ the Unhandled securityError:. text=Error #2048: Security sandbox violation] when we try to connect a non running server.So we used the new version of AS3 API in our code.Still error encountered in testing. So we look in to the code and add urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.errorHandler) in LoaderFactory.as in AS3 API set . Afetr that the isuue never occure in our testing. Is this is the correct way to fix this issue.Please advise us.

Posted: 21 Aug 2010, 14:49
by Lapo
The problem was in prior version of the API connecting to a non running instance would not return the connection failure correctly.
This is fixed in the new API. If you point a client to any wrong address you will get the onConnection event fired with a success==false parameter.
Additionally I am not able to reproduce the 2048 error.
Can you provide more details?
For testing I am using the AS3 basic template found in the Examples distribution of SFS PRO

Posted: 30 Aug 2010, 21:50
by turtlesoup
Safe to install this patch on version 1.6.6? (which may have been a patch from some earlier version)

Posted: 31 Aug 2010, 07:43
by Lapo
Nope. Must be the 1.6.6 full installer version.
If it's an older patched 1.6.x won't work.

Posted: 20 Sep 2010, 19:10
by rewb0rn
I also experience the #2048 error in the AS3 1.6.9 Api. Its working with the version you have sent via email when we were in touch about this issue though. If I add a SecurityErrorEvent handler as described by rajeshmgnair and additionally change the handleIoError in HttpConnection to receive a plain Event instead of IOErrorEvent and comment out the line params.message = error.text, the event is catched and the client tries to connect to server 2.

Posted: 21 Sep 2010, 15:33
by Lapo
Hi,
my suspect is that we're not using the same files and I would urge you to download the patch from this page -> http://smartfoxserver.com/products/pro.php#downloads
Maybe you are still using pre-release files that we sent earlier.

We don't see any security error problem and we re-tested for the 100th time using the multi-connector example we built and it works correctly both with the standalone and browser Flash Player, including the latest 10.1.85.3

Posted: 21 Sep 2010, 21:41
by rewb0rn
Interestingly the exception only occurs with exactly the patch you linked there, but not with the files you sent earlier via mail. Maybe it has to do with the fact that I pasted your pre release files over my 1.6.6 AS3 API and then later copied the 1.6.9 AS3 files over these? Anyways as it seems to work with the fix described above its not urgent, but I will try to download a fresh copy of the 1.6.6 AS3 Api and patch it with the 1.6.9 Api during the next days.

Posted: 22 Sep 2010, 06:20
by Lapo
Yes, please do so and let me know if it behaves correctly.

Posted: 24 Sep 2010, 09:39
by rewb0rn
Unfortunately the issue remains, I have deleted all my local API files, retrieved a fresh copy of the 1.6.6 installer version and patched it with the 1.6.9 API:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://localhost/main.swf cannot load data from http://localhost:8080/BlueBox/HttpBox.do.
at it.gotoandplay.smartfoxserver.http::LoaderFactory/getLoader()[E:\Projekte\extrajetzt\doppelkopf\src\frontend\src\it\gotoandplay\smartfoxserver\http\LoaderFactory.as:36]
at it.gotoandplay.smartfoxserver.http::HttpConnection/send()[E:\Projekte\extrajetzt\doppelkopf\src\frontend\src\it\gotoandplay\smartfoxserver\http\HttpConnection.as:89]
at it.gotoandplay.smartfoxserver.http::HttpConnection/connect()[E:\Projekte\extrajetzt\doppelkopf\src\frontend\src\it\gotoandplay\smartfoxserver\http\HttpConnection.as:69]
at it.gotoandplay.smartfoxserver::SmartFoxClient/tryBlueBoxConnection()[E:\Projekte\extrajetzt\doppelkopf\src\frontend\src\it\gotoandplay\smartfoxserver\SmartFoxClient.as:2985]
at it.gotoandplay.smartfoxserver::SmartFoxClient/handleSecurityError()[E:\Projekte\extrajetzt\doppelkopf\src\frontend\src\it\gotoandplay\smartfoxserver\SmartFoxClient.as:3006]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::Socket/onTimeout()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Again this is not an issue right now, the bugfix described above fixes the problem.

Posted: 24 Sep 2010, 13:14
by Lapo
Can you please provide the conditions under which this problem appears. This include OS, browser type and version, Flash player version, etc...

Please also add any other steps that are relevant to the reproduction of the issue.

Thanks

Posted: 06 Oct 2010, 20:45
by mbparrish
My Smartfox Server reports that it is still version 1.6.6 after applying this patch. Is that normal, or did I do something wrong?