Cool VL Viewer forum

Thrown in the air when standing
Page 1 of 1

Author:  Jeeper [ 2012-03-11 02:36:37 ]
Post subject:  Thrown in the air when standing

At one club I go to, when I stand I get thrown in the air. It doesn't happen with other viewers, only with Cool VL Viewer. I've detached all my attachments and huds but that didnt help. This is on RC Magnum server in a club 500m in the air. Is there a setting that I've missed to stop this?

Author:  Henri Beauchamp [ 2012-03-11 09:23:14 ]
Post subject:  Re: Thrown in the air when standing

You didn't miss anything. It's a race condition that I couldn't figure out so far, and neither did Lindens... In fact, every viewer with a LLVOAvatarSelf class suffers from it (v2/3 viewers and v1 UI viewers which got it backported) and a hack is in place in them to try and prevent it. What happens is that the server sends a spurious "agent flying" message when the avatar stands and without that hack, your avatar would start flying (hovering) when you stand up: see this JIRA entry for details. Alas, the hack proved not to be sufficient in some cases in the Cool VL Viewer (the viewer seems too fast (!!!) for that race condition to be caught by LL's hack: i.e. it can still flies the avatar before the hack is triggered) and I had to implement an additional one, that "auto-unflies" the avatar whenever the race condition still happens.

You can avoid this glitch by getting very close (< 0.5m) to the seat before sitting down your avatar on it.

UPDATE: as I searched for the JIRA issue to post its address in this message, I noticed a pointer to another JIRA that actually gave me the solution (via a third hack I just implemented and seems to be working great): it looks like when you are at a high altitude and sitting down on a far object, the server also sends a spurious agent flying message (and you are then considered as both sitting and flying !): cancelling the fly flag just after the avatar is sat seems to solve that issue (and could well render the two other hacks useless...). I'll test this new hack and will make it part of the next release if it works properly...

Author:  Jeeper [ 2012-03-11 12:09:01 ]
Post subject:  Re: Thrown in the air when standing

Great. Thanks Henri.

Author:  Henri Beauchamp [ 2012-03-17 16:22:57 ]
Post subject:  Re: Thrown in the air when standing

Fixed in today's release (v1.26.4.4).

Author:  Tillie [ 2012-03-17 19:57:02 ]
Post subject:  Re: Thrown in the air when standing

Thanks a lot Henry, this bug was very annoying, hope others will fix it too, in their clients. =)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group