{ NEW } SFS PRO update 1.6.9 available

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

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

{ NEW } SFS PRO update 1.6.9 available

Postby Lapo » 16 Aug 2010, 03:49

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
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Release notes

Postby Lapo » 16 Aug 2010, 03:52


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.
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Postby rjgtav » 16 Aug 2010, 07:44

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
udikantz
Posts: 153
Joined: 24 Sep 2009, 09:36

Postby udikantz » 16 Aug 2010, 15:25

Thank you for the patch!
diwip games - co founder & CPO.

http://www.diwip.com
rajeshmgnair
Posts: 6
Joined: 22 Mar 2010, 16:03
Location: india

Still fires a Security error

Postby rajeshmgnair » 18 Aug 2010, 11:41

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.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 21 Aug 2010, 14:49

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
Lapo

--

gotoAndPlay()

...addicted to flash games
turtlesoup
Posts: 77
Joined: 28 Dec 2007, 20:56

Postby turtlesoup » 30 Aug 2010, 21:50

Safe to install this patch on version 1.6.6? (which may have been a patch from some earlier version)
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 31 Aug 2010, 07:43

Nope. Must be the 1.6.6 full installer version.
If it's an older patched 1.6.x won't work.
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
rewb0rn
Posts: 177
Joined: 26 Jan 2009, 12:54
Location: Berlin, Germany

Postby rewb0rn » 20 Sep 2010, 19:10

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.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 21 Sep 2010, 15:33

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
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
rewb0rn
Posts: 177
Joined: 26 Jan 2009, 12:54
Location: Berlin, Germany

Postby rewb0rn » 21 Sep 2010, 21:41

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.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 22 Sep 2010, 06:20

Yes, please do so and let me know if it behaves correctly.
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
rewb0rn
Posts: 177
Joined: 26 Jan 2009, 12:54
Location: Berlin, Germany

Postby rewb0rn » 24 Sep 2010, 09:39

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.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 24 Sep 2010, 13:14

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
Lapo

--

gotoAndPlay()

...addicted to flash games
mbparrish
Posts: 1
Joined: 27 Sep 2010, 16:06

Postby mbparrish » 06 Oct 2010, 20:45

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?

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 87 guests