SmartFoxServer 2X

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

Moderators: Lapo, Bax

ernivan
Posts: 59
Joined: 11 Aug 2010, 14:53

SmartFoxServer 2X

Postby ernivan » 14 Aug 2010, 14:07

hi

will it support as2 client api ?

when it will be released ?

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

Postby Lapo » 14 Aug 2010, 14:25

There will be no support for AS2.
The server speaks a fully binary protocol and AS2 is too old to support it :(
Actionscript 3 is required.

As regards the release date, we are already in private beta and I think it will be out at the end of summer 2010
Lapo
--
gotoAndPlay()
...addicted to flash games
ernivan
Posts: 59
Joined: 11 Aug 2010, 14:53

Postby ernivan » 14 Aug 2010, 14:34

after final SFS 2 release , will I buy SFS 1.x ?
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 14 Aug 2010, 15:25

Yes, SFS PRO 1.x will continue to be available and maintained.

SFS2X is a far more advanced product, an it's also different from SFS PRO under various aspects, so it won't substitute SFS PRO.
Lapo

--

gotoAndPlay()

...addicted to flash games
09op
Posts: 86
Joined: 12 Jun 2009, 06:16

Postby 09op » 15 Aug 2010, 02:36

Please tell me I read this wrong, but did you say NO AS 2.0 EXAMPLES?
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 15 Aug 2010, 07:18

I am saying that there will be no support for Actionscript 2.0, no API for the reason I explained before.
Lapo

--

gotoAndPlay()

...addicted to flash games
ernivan
Posts: 59
Joined: 11 Aug 2010, 14:53

Postby ernivan » 17 Aug 2010, 17:04

hi

It will be great to add 3 different protocol (binary , text , rtmp) to the new version :)
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 17 Aug 2010, 19:21

The SFS2X protocol is binary, largely more efficient than text and definitely more efficient than RTMP, which is proprietary. So no need for multi protocols.
More details here:
http://www.smartfoxserver.com/2X/protocol.php
Lapo

--

gotoAndPlay()

...addicted to flash games
ernivan
Posts: 59
Joined: 11 Aug 2010, 14:53

Postby ernivan » 18 Aug 2010, 06:41

great !!!!
User avatar
Carl Lydon
Posts: 298
Joined: 12 Nov 2007, 16:15
Location: NYC
Contact:

Postby Carl Lydon » 22 Aug 2010, 18:23

Will actionscript still be supported for server-side extensions? If so, does that mean it will be AS3, and if so, will it have AS3's speed boost compared to the AS2 extensions made for SF 1.x?

I realize that Java extensions are the way to go for ultimate speed and power, but I'm wondering if AS is still supported for quick prototyping, or for projects that are too small to justify the hassle and expense of Java coding.
User avatar
Carl Lydon
Posts: 298
Joined: 12 Nov 2007, 16:15
Location: NYC
Contact:

Postby Carl Lydon » 22 Aug 2010, 18:28

I'm also wondering, if the compression of messages mentioned here:

http://www.smartfoxserver.com/2X/protocol.php

provides any additional protection against port sniffers? I imagine that the decompression algorithm is common and not a secret, but maybe it would make it just a little bit harder for a casual hacker to examine messages?
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 22 Aug 2010, 22:06

Sorry, no more Actionscript on the server side. Python will remain because it integrates much better with Java.
Of course you will still be free to add the Rhino interpreter (as well as Ruby or any other JVM scripting language) in your extension and use your favorite language for prototyping.

Honestly I think that when you'll play with the new Java framework and deployment system you won't even think to go back to Actionscript :D
So many things have been improved and the main one is Java itself :D which since version 5 and 6 has become a much nicer language :)
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 22 Aug 2010, 22:12

provides any additional protection against port sniffers? I imagine that the decompression algorithm is common and not a secret, but maybe it would make it just a little bit harder for a casual hacker to examine messages?

Well yes quite a lot. The protocol is not text anymore, even when in clear it's quite a pain to decode. When compressed is pure nonsense.

We have a long a in-depth discussion on a possible encryption feature, which probably won't provide so many benefits as it may sound, but still nice to have --> viewtopic.php?t=7839
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
Carl Lydon
Posts: 298
Joined: 12 Nov 2007, 16:15
Location: NYC
Contact:

Postby Carl Lydon » 22 Aug 2010, 22:46

So, with the Rhino interpreter, you can write in javascript, yes? And that's very similar to the javascript/as1 extensions? Would the old javascript/as1 extensions from sf1.x work in sf2.x if Rhino is working?

I'm asking because my java skills are not great, my main way of working was to make my extensions in as1 them translate to java.
Sappho
Posts: 74
Joined: 29 Mar 2009, 19:23
Location: Slovakia

Postby Sappho » 23 Aug 2010, 08:38

Lapo will the client API sourcecodes for the SFS2X be available? I know its precompiled swc in beta so i am wondering if it will be available in the final release its ultimately better to work with an api where you can access the source codes directly and even make small changes when necessary.

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 31 guests