Lost the Avatar control

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

Moderators: Lapo, Bax

jlperez
Posts: 10
Joined: 16 Sep 2010, 10:17

Lost the Avatar control

Postby jlperez » 25 Mar 2011, 13:45

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?
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 27 Mar 2011, 13:26

Could you please show the logs, describing the actions you did?
For example: "Click on tile x,y, I get this logged etc...; click on tile etc.."
Thank you.
Paolo Bax
The SmartFoxServer Team
jlperez
Posts: 10
Joined: 16 Sep 2010, 10:17

Postby jlperez » 28 Mar 2011, 07:23

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
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 30 Mar 2011, 16:43

Which version of OpenSpace are you using? 1 or 2? If 2, are you using 2.0.3? And are you using it with SmartFoxServer 1 or 2?
Paolo Bax
The SmartFoxServer Team
jlperez
Posts: 10
Joined: 16 Sep 2010, 10:17

Postby jlperez » 30 Mar 2011, 16:57

The version of SmartFoxServer is 1.6.9

The version of Open Space when we start the proyect was 2.0.2, for resolve the problem we update to version 2.0.3 but the problem persist.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 30 Mar 2011, 17:00

Can you reproduce this for example in our online demo?
http://openspace-engine.com/static/examples/advanced/
Paolo Bax
The SmartFoxServer Team
jlperez
Posts: 10
Joined: 16 Sep 2010, 10:17

Postby jlperez » 31 Mar 2011, 09:20

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()
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 02 Apr 2011, 16:13

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.
Paolo Bax
The SmartFoxServer Team
jlperez
Posts: 10
Joined: 16 Sep 2010, 10:17

Postby jlperez » 04 Apr 2011, 07:18

Yes, with a avatar high speed the error hapens more times, but happens with a slow speed too.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 05 Apr 2011, 06:58

Ok thanks.
As I said before, we will investigate this as soon as possible.
Paolo Bax
The SmartFoxServer Team
celsyum
Posts: 9
Joined: 13 May 2010, 11:57

critucal

Postby celsyum » 14 Apr 2011, 07:46

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 } :D

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 19 guests