Hi,
when loading a openspace map i am getting this strange error.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.smartfoxserver.openspace.engine.control::IsoEngineController/http://www.smartfoxserver.com/openspace/osInternal::setGhostPosition()
at com.smartfoxserver.openspace.engine.control.avatar::AvatarAnimator/adjustAvatarRendering()
at com.smartfoxserver.openspace.engine.control.avatar::AvatarAnimator/onAvatarAnimationStep()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at com.greensock::TweenMax/renderTime()
at com.greensock.core::SimpleTimeline/renderTime()
at com.greensock::TweenLite$/updateAll()
Please help me sort this out
Strange error
Re: Strange error
Without a line number it is quite difficult to sort this out.
Are you using the ghost avatar?
Can you better describe how the error appears? Step-by-step instructions since you start your application for the first time.
Are you using the ghost avatar?
Can you better describe how the error appears? Step-by-step instructions since you start your application for the first time.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: Strange error
Hi Bax, sorry for such late reply...
I am using ghost avatar.
This error is not server a side error, rather is at the client side.
Step-by-step instructions is as follows,
1. I enter username,password- connect to smartFox, join the zone and subsequently a room which is a openspace serverside map.
2. I click on a home icon on stage.
3. Request is sent to custom extension which extends openspace extension which in turn creates a duplicate map of original map and also creates a dynamic room and assigns room variables and sends avatar to map.
4.while in home map I try to come outside by walking on certain tiles whoes trigers call a function which loads last joined room.
At this point everything works as expected but this strange error occurs.
Thanx in advance...
I am using ghost avatar.
This error is not server a side error, rather is at the client side.
Step-by-step instructions is as follows,
1. I enter username,password- connect to smartFox, join the zone and subsequently a room which is a openspace serverside map.
2. I click on a home icon on stage.
3. Request is sent to custom extension which extends openspace extension which in turn creates a duplicate map of original map and also creates a dynamic room and assigns room variables and sends avatar to map.
4.while in home map I try to come outside by walking on certain tiles whoes trigers call a function which loads last joined room.
At this point everything works as expected but this strange error occurs.
Thanx in advance...
Re: Strange error
We will look into it as soon as possible, trying to replicate your steps.
Anyway if I understand correctly, this error is not causing harm, as the player can keep navigating the virtual world as expected, right?
Anyway if I understand correctly, this error is not causing harm, as the player can keep navigating the virtual world as expected, right?
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: Strange error
yap, true
Re: Strange error
We tested the scenario you described above, using both the "enterTile" and the "stopMove" avatar event types, but we are not able to reproduce this issue.
No error (and in particular no one connected to the ghost avatar) is fired when the avatar jumps on the tile and the new map is loaded.
No error (and in particular no one connected to the ghost avatar) is fired when the avatar jumps on the tile and the new map is loaded.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Return to “OpenSpace v2 discussions and help”
Who is online
Users browsing this forum: No registered users and 43 guests