{ 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
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Postby BigFIsh » 07 Oct 2010, 04:48

Nope, it's not normal. Have you restarted your server? Where did you get this version info?
Smartfox's forum is my daily newspaper.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 07 Oct 2010, 05:27

In the server logs or in the console you should definitely see 1.6.9
If not you probably did not apply the patch correctly
Lapo
--
gotoAndPlay()
...addicted to flash games
Tybone10

Re: { NEW } SFS PRO update 1.6.9 available

Postby Tybone10 » 07 Oct 2010, 18:52

hey i have a question. I have flash 8 pro. (as2). I cant find what i need to install. please help.
Tybone10

Please Help

Postby Tybone10 » 07 Oct 2010, 20:34

When I downloaded the new update, I looked in the folder under AS2 and didnt see any API to install/update. All I saw was Action Script. If the Action Script is what I need to install can you please help? What do i do after I install. And I also have another question. Me and my friend made this company and I tried to let him login to the Remote Admin thing and it said it couldn't connect. I had my server "start" batch file open and it said server was up and running, but he could login to and games or the admin thing. Do i need to activate it or something?
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 08 Oct 2010, 14:30

Are you familiar with how the API are used? You add them to your project classpath. Make sure to read the docs:
http://www.smartfoxserver.com/docs/docP ... alling.htm
Lapo

--

gotoAndPlay()

...addicted to flash games
Tree Line 1
Posts: 100
Joined: 10 Oct 2010, 02:58
Location: Australia

Postby Tree Line 1 » 21 Oct 2010, 07:36

I dont get this, do we do anything to our old smartfox server thing? Or do we just keep using that file?
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 21 Oct 2010, 08:24

If you follow the steps provided in the installation instructions you should definitely see version 1.6.9 in the logs at boot time.
Lapo

--

gotoAndPlay()

...addicted to flash games
Tree Line 1
Posts: 100
Joined: 10 Oct 2010, 02:58
Location: Australia

Postby Tree Line 1 » 21 Oct 2010, 18:51

Lapo wrote:If you follow the steps provided in the installation instructions you should definitely see version 1.6.9 in the logs at boot time.


Ok i have done that but i dont see a difference?
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 22 Oct 2010, 04:21

No errors at boot time?
If not it sounds like you are making confusion between jar files. There is no possible way that the update doesn't work unless you are failing to copy the file in its correct location or you are copying the wrong file.
Lapo

--

gotoAndPlay()

...addicted to flash games
jimbobway
Posts: 20
Joined: 26 Oct 2010, 15:57

Postby jimbobway » 26 Oct 2010, 16:01

We upgraded and got a compilation error in our Java extension.

The line

Code: Select all

sfs.flgame.system.Global.server = new SmartFoxServer();


results in

Code: Select all

java.lang.IllegalAccessError: tried to access method it.gotoandplay.smartfoxserver.SmartFoxServer.<init>()


We had to change it to

Code: Select all

sfs.flgame.system.Global.server = SmartFoxServer.getInstance();


Is this the preferred method?
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 26 Oct 2010, 18:20

Absolutely. The SmartFoxServer object is a singleton and doesn't support direct creation
Lapo

--

gotoAndPlay()

...addicted to flash games
chengwang30
Posts: 4
Joined: 14 Jan 2010, 23:39

Have the same issue

Postby chengwang30 » 03 Nov 2010, 17:45

Issue: can not catch the exception when connect to dead smartfox server
the connection event never be fired.
smartconnect: true
swf web host: dev.zulaworld.com
smartoxserver: localhost

version: smartfoxserver 1.6.9 AS3 API
when: when smartfox server is down

error output:

==========================

*** Security Sandbox Violation ***
Connection to http://localhost:8080/BlueBox/HttpBox.do halted - not permitted from http://dev.zulaworld.com/test/genericvi ... cVille.swf
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://dev.zulaworld.com/test/genericvi ... cVille.swf cannot load data from http://localhost:8080/BlueBox/HttpBox.do.
at it.gotoandplay.smartfoxserver.http::LoaderFactory/getLoader()[C:\Documents and Settings\wang\My Documents\Flex Builder 3\GenericVille\smartfox\as3\it\gotoandplay\smartfoxserver\http\LoaderFactory.as:36]
at it.gotoandplay.smartfoxserver.http::HttpConnection/send()[C:\Documents and Settings\wang\My Documents\Flex Builder 3\GenericVille\smartfox\as3\it\gotoandplay\smartfoxserver\http\HttpConnection.as:89]
at it.gotoandplay.smartfoxserver.http::HttpConnection/connect()[C:\Documents and Settings\wang\My Documents\Flex Builder 3\GenericVille\smartfox\as3\it\gotoandplay\smartfoxserver\http\HttpConnection.as:69]
at it.gotoandplay.smartfoxserver::SmartFoxClient/tryBlueBoxConnection()[C:\Documents and Settings\wang\My Documents\Flex Builder 3\GenericVille\smartfox\as3\it\gotoandplay\smartfoxserver\SmartFoxClient.as:2985]
at it.gotoandplay.smartfoxserver::SmartFoxClient/handleSecurityError()[C:\Documents and Settings\wang\My Documents\Flex Builder 3\GenericVille\smartfox\as3\it\gotoandplay\smartfoxserver\SmartFoxClient.as:3006]
Error: Request for resource at http://localhost:8080/BlueBox/HttpBox.do by requestor from http://dev.zulaworld.com/test/genericvi ... cVille.swf is denied due to lack of policy file permissions.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 04 Nov 2010, 07:05

Those errors appear in debug mode, yes.
You should anyways obtain the connection failure event in your client. Right?
Lapo

--

gotoAndPlay()

...addicted to flash games
styx
Posts: 68
Joined: 13 May 2010, 19:41
Location: Poland

Missing event

Postby styx » 28 Jan 2011, 08:43

in
it.gotoandplay.smartfoxserver.http.LoaderFactory

still missing implementation security event

Image

and i can "catch" this

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 77 guests