avatar crashes while moving

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

rut1630
Posts: 80
Joined: 29 Jun 2009, 10:27
Location: Israel

avatar crashes while moving

Postby rut1630 » 30 Jun 2011, 08:08

Hy.

By your suggestion on another our issue, we've got from you and installed
the new openspace 2.0.3 full extension (payed)

nevertheless, we have come to a same problem as
'error moving avatar' Posted in the forum on Thu Jun 09, 2011 10:06 am

the problem that in their case you suggest to move to the new component, but we already did it and still the problem remains.

p.s

1) we haven't got from you any new swc file for 'flex', do we need one ?

2) this is the error as we ressive it:


TypeError: Error #2007: Parameter child must be non-null.
at flash.display::DisplayObjectContainer/contains()
at com.smartfoxserver.openspace.engine.control.avatar::AvatarAnimator/moveAvatarToNextTile()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer/OpenSpace/Client/Classes/src/com/smartfoxserver/openspace/engine/control/avatar/AvatarAnimator.as:120]
at com.smartfoxserver.openspace.engine.control.avatar::AvatarAnimator/onAvatarAnimationCompleted()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer/OpenSpace/Client/Classes/src/com/smartfoxserver/openspace/engine/control/avatar/AvatarAnimator.as:473]
at com.smartfoxserver.openspace.engine.control.avatar::AvatarAnimator/onAvatarAnimationStep()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer/OpenSpace/Client/Classes/src/com/smartfoxserver/openspace/engine/control/avatar/AvatarAnimator.as:343]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at com.greensock::TweenMax/renderTime()[D:\_Flash\_AS3\src\com\greensock\TweenMax.as:760]
at com.greensock.core::SimpleTimeline/renderTime()[D:\_Flash\_AS3\src\com\greensock\core\SimpleTimeline.as:79]
at com.greensock::TweenLite$/updateAll()[D:\_Flash\_AS3\src\com\greensock\TweenLite.as:636]
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 30 Jun 2011, 14:29

Just to make sure, does this happen under which conditions? Fast clicking on the map?
Paolo Bax
The SmartFoxServer Team
rut1630
Posts: 80
Joined: 29 Jun 2009, 10:27
Location: Israel

Postby rut1630 » 01 Jul 2011, 08:04

1 ) happens on fast clicks (this case happens also on your example)

2) happens when calling for 'moveMyAvatar' function of the OpenSpace
entity object
rut1630
Posts: 80
Joined: 29 Jun 2009, 10:27
Location: Israel

Postby rut1630 » 01 Jul 2011, 08:07

forgot to say: this crash does not happening with the version 2.01
extension jar file (as saied- with this previous version- we had other
problems that do solved in 2.03 version)
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 01 Jul 2011, 08:28

rut1630 wrote:2) happens when calling for 'moveMyAvatar' function of the OpenSpace
entity object

Does it happens on any call to this method? Or, again, if you call it repeatedly in a small timeframe?
Paolo Bax
The SmartFoxServer Team
rut1630
Posts: 80
Joined: 29 Jun 2009, 10:27
Location: Israel

Postby rut1630 » 02 Jul 2011, 16:15

no, i call the moveavatar function just once and it fall allways on the call.
the fall due two rappid clicks falls from time to time without any
pattern
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 04 Jul 2011, 16:30

rut1630, just to make sure: can you confirm you are using OpenSpace 2.0.3? In your client, please trace the IOpenSpaceAPI.version property. It should return 2.0.3
Paolo Bax
The SmartFoxServer Team
rut1630
Posts: 80
Joined: 29 Jun 2009, 10:27
Location: Israel

Postby rut1630 » 05 Jul 2011, 08:04

Well, I can't do it, have no such property on my OpenSpace object.
On my first section I wrote you that i suspect that my flex swc file
isn't for the correct version (I've got the swc from your company together with the 2.01 full version some few month ago).

Maybe you can sand me the most resent swc file, and I'll check the version
as you suggested,

my mail: rut1630@gmail.com

thanks
rut1630
Posts: 80
Joined: 29 Jun 2009, 10:27
Location: Israel

Postby rut1630 » 05 Jul 2011, 08:55

ok, sorry i found the property. it calls 'version' and it return 2.01.

so all in all i'm using swc file wich return 2.01 and the extension jar
file wich was send by your company to me last week as 2.03 .
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 05 Jul 2011, 09:42

This is bad :D
Please download the trial version from the OpenSpace website: it contains the 2.0.3 client swc file. Replace it in your game and recompile it.
Paolo Bax
The SmartFoxServer Team
rut1630
Posts: 80
Joined: 29 Jun 2009, 10:27
Location: Israel

Postby rut1630 » 05 Jul 2011, 11:18

O god, thanks allot. everything seems to work wonderful,

thank you very very much for everything

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 19 guests