Which version?

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

Moderators: Lapo, Bax

teratosis
Posts: 8
Joined: 20 Oct 2013, 08:51
Location: Austin, Texas

Which version?

Postby teratosis » 27 Oct 2013, 01:39

Hi there, recently under the suggestion of a wiki tutorial I installed and setup SFS PRo 1.6 with Unity. I just found some other cool youtube tutorials but they are using SFS2 2.74 i believe. The interfaces look more updated etc. And there are features in the admin panel I dont see on 1.6. I am mostly using this to learn and sate some tinkering desires. But I would like to have the most functional end result I can. Right now, I am at the point to where I am connecting SFS to DB. And the tutorial I found SFSX2.74. Is there any reason I should stick with 1.6. Will the scripts I have for 1.6 break if I switch to 2.x? Pretty confused now. Suggestions?

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

Re: Which version?

Postby Bax » 28 Oct 2013, 08:42

SmartFoxServer Pro (v1.6.x) and SmartFoxServer 2X (v2.7) are two different products, even if the are used for the same purpose (building multiplayer games).
SmartFoxServer 2X is the latest and more advanced product: we suggest to stick with it. You will find a lot of documentation here and video tutorials here.
Paolo Bax
The SmartFoxServer Team
teratosis
Posts: 8
Joined: 20 Oct 2013, 08:51
Location: Austin, Texas

Re: Which version?

Postby teratosis » 28 Oct 2013, 17:20

Bax wrote:SmartFoxServer Pro (v1.6.x) and SmartFoxServer 2X (v2.7) are two different products, even if the are used for the same purpose (building multiplayer games).
SmartFoxServer 2X is the latest and more advanced product: we suggest to stick with it. You will find a lot of documentation here and video tutorials here.


So, I should start over, dump Pro 1.6 and go with 2x (2.7), This is the script I use now to connect to SFS Pro will this work with 2x(2.7). http://wiki.unity3d.com/index.php/BOX1_ ... .cs_script.

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

Re: Which version?

Postby Lapo » 29 Oct 2013, 07:41

No it will not.
The snippet of code you have linked refers to the SmartFoxServer 1.x and related Unity API.

The new SmartFoxServer 2X comes with its own API. The programming model is essentially the same, so if you have learned how to work with SFS 1.x you will find it very easy to move to the new version but you will use a different API specifically designed for 2X.

To get started with 2X take a look at our YouTube Channel:
http://www.youtube.com/smartfoxserver

And also to GenesisRage channel which has produced lots of nice Unity-SFS2X videos:
http://www.youtube.com/user/GenesisRage ... verview-vl

Oh, and don't forget the SF2X docs website :)
http://docs2x.smartfoxserver.com
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 26 guests