I have a problem with the Avatar, if the user clicks very fast in 2 or 3 differents walkable tiles, the Avatar walks until a walkable limit and he stay with the walk animatión indefinelity. Never more responses to another user request.
I saw in the server logs that te server returns the 2 or 3 paths width the same initial tile but different steps.
Is possible that the Avatar mix the different path informatión and come crazy?
Lost the Avatar control
I send you two path querys very near in time. I think that both paths are correct but the Avatar don´t arrive to the destination tile of anyone.
2011/03/25 14:24:24.935 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] User pepe [7] requested path from (2, 1, 0) to (7, 6, 0) on map 'Prevenland#CasaEstar'
2011/03/25 14:24:24.950 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] Path processing requested by user pepe [7] completed:
PATH NODES: [(2,1,0), (3,1,0), (3,2,0), (3,3,0), (4,3,0), (4,4,0), (5,4,0), (6,4,0), (7,4,0), (7,5,0), (7,6,0)]
PATH DIRECTIONS: (2,1,0) --> [4, 6, 6, 4, 6, 4, 4, 4, 6, 6] --> (7,6,0)
2011/03/25 14:24:24.950 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] Path to (7,6,0) target coordinates found and sent to all users in the same room
2011/03/25 14:24:25.763 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] User pepe [7] requested path from (2, 1, 0) to (1, 11, 0) on map 'Prevenland#CasaEstar'
2011/03/25 14:24:25.763 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] Path processing requested by user pepe [7] completed:
PATH NODES: [(2,1,0), (1,1,0), (1,2,0), (1,3,0), (1,4,0), (1,5,0), (1,6,0), (1,7,0), (1,8,0), (1,9,0), (1,10,0), (1,11,0)]
PATH DIRECTIONS: (2,1,0) --> [0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6] --> (1,11,0)
2011/03/25 14:24:25.763 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] Path to (1,11,0) target coordinates found and sent to all users in the same room
2011/03/25 14:24:24.935 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] User pepe [7] requested path from (2, 1, 0) to (7, 6, 0) on map 'Prevenland#CasaEstar'
2011/03/25 14:24:24.950 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] Path processing requested by user pepe [7] completed:
PATH NODES: [(2,1,0), (3,1,0), (3,2,0), (3,3,0), (4,3,0), (4,4,0), (5,4,0), (6,4,0), (7,4,0), (7,5,0), (7,6,0)]
PATH DIRECTIONS: (2,1,0) --> [4, 6, 6, 4, 6, 4, 4, 4, 6, 6] --> (7,6,0)
2011/03/25 14:24:24.950 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] Path to (7,6,0) target coordinates found and sent to all users in the same room
2011/03/25 14:24:25.763 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] User pepe [7] requested path from (2, 1, 0) to (1, 11, 0) on map 'Prevenland#CasaEstar'
2011/03/25 14:24:25.763 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] Path processing requested by user pepe [7] completed:
PATH NODES: [(2,1,0), (1,1,0), (1,2,0), (1,3,0), (1,4,0), (1,5,0), (1,6,0), (1,7,0), (1,8,0), (1,9,0), (1,10,0), (1,11,0)]
PATH DIRECTIONS: (2,1,0) --> [0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6] --> (1,11,0)
2011/03/25 14:24:25.763 - [ INFO ] [id: 14] (Logger.logInfo): [OpenSpace] Path to (1,11,0) target coordinates found and sent to all users in the same room
Can you reproduce this for example in our online demo?
http://openspace-engine.com/static/examples/advanced/
http://openspace-engine.com/static/examples/advanced/
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
No, but you can reproduce the problem in your example running into my server: http://pandora.factoriadeinnovacion.com/main/
I think that is the same problem i show in the recent post Pathing Error Since Newest Version http://www.smartfoxserver.com/forums/viewtopic.php?t=9703
The clients shows this error:
[INFO] Path to (1,0,0) coordinates received for avatar 12
[INFO] Path to (4,1,0) coordinates received for avatar 12
TypeError: Error #2007: El valor del parámetro child debe ser distinto de null.
at flash.display::DisplayObjectContainer/contains()
at com.smartfoxserver.openspace.engine.control.avatar::AvatarAnimator/moveAvatarToNextTile()
at com.smartfoxserver.openspace.engine.control.avatar::AvatarAnimator/onAvatarAnimationCompleted()
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()
I think that is the same problem i show in the recent post Pathing Error Since Newest Version http://www.smartfoxserver.com/forums/viewtopic.php?t=9703
The clients shows this error:
[INFO] Path to (1,0,0) coordinates received for avatar 12
[INFO] Path to (4,1,0) coordinates received for avatar 12
TypeError: Error #2007: El valor del parámetro child debe ser distinto de null.
at flash.display::DisplayObjectContainer/contains()
at com.smartfoxserver.openspace.engine.control.avatar::AvatarAnimator/moveAvatarToNextTile()
at com.smartfoxserver.openspace.engine.control.avatar::AvatarAnimator/onAvatarAnimationCompleted()
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()
It is very very difficult to make it happen: I had to click a hundred times very fast to make it happen once. But indeed it happens.
I noticed you have an high speed of the avatar. Do you feel like this causes the issue to happen more often?
Anyway, we will investigate this as soon as possible.
I noticed you have an high speed of the avatar. Do you feel like this causes the issue to happen more often?
Anyway, we will investigate this as soon as possible.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
critucal
this bug i think is critical , its very hard to play game , when you have slow internet speed. We are waiting for updates. At least you could add some protection or at least add Try {} cache {Error }
Return to “OpenSpace v2 discussions and help”
Who is online
Users browsing this forum: No registered users and 19 guests