Pathing Error Since Newest Version
Posted: 07 Jan 2011, 23:08
Error:
This happens whenever I give the OS avatar multiple path orders. That is, click to move, then click to move while still pathing to the previous goal. The avatar seems to path correctly if I wait for it to stop moving; and consistently will throw an error when clicking while moving. This may also be related in some way to clicking on a walk tile while the camera is moving - if that helps your debugging.
Code: Select all
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()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer/OpenSpace/Client/Classes/src/com/greensock/TweenMax.as:749]
at com.greensock.core::SimpleTimeline/renderTime()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer/OpenSpace/Client/Classes/src/com/greensock/core/SimpleTimeline.as:74]
at com.greensock::TweenLite$/updateAll()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer/OpenSpace/Client/Classes/src/com/greensock/TweenLite.as:616]This happens whenever I give the OS avatar multiple path orders. That is, click to move, then click to move while still pathing to the previous goal. The avatar seems to path correctly if I wait for it to stop moving; and consistently will throw an error when clicking while moving. This may also be related in some way to clicking on a walk tile while the camera is moving - if that helps your debugging.