No description
Find a file
aglaia-resident d5c63bf686 Fix issues when using KFM
I've got an issue reported several times by customers with furnitures moving with KFM. They get this error:
`Cannot use a script to move a linkset while it is playing an animation. Stop the animation first.`

Before this fix, the codes follow this workflow:
- it pause KFM
- it sleeps 0.15 seconds
- it updates the link position
- it sleeps 0.15 seconds
- it restarts KFM

I think you've put these 0.15 sleep before and after because both scripts `sitA` and `sitA 1` (and more if there 3 ore more sitters) can be slightly unsynched, so it is good to give a little delay to avoid that `sitA` restarts KFM while `sitA 1` hasn't changed the link position yet.

But it looks like the first llSleep is not only needless, but even increases the risk of error. Why sleeping 0.15 seconds between the KFM pause and the link position change? It makes the critical situation longer. The error occurs quite often. And it becomes alsmot systematic if both sitters select a pose roughly at the same time.

I did a test, sitting on a furniture with a friend. I asked her to click many times on all buttons. I was doing the same. In less than 20 seconds, i got the error 5 times!

Then i did the same test, remove the first llSleep, and keeping the second one, that i have increased a little bit to 0.2 seconds. Same test with this friend: 0 error.
2021-08-03 23:55:32 +02:00
AVsitter1 first commit 2017-07-31 17:43:31 +10:00
AVsitter2 Fix issues when using KFM 2021-08-03 23:55:32 +02:00
images first commit 2017-07-31 17:43:31 +10:00
php Add warning to $check_ip in PHP about the cloud server migration 2020-09-11 13:09:31 +02:00
.gitattributes Add .gitattributes to account for different line endings between systems 2017-08-31 12:11:53 +02:00
.gitignore Prepare the core scripts for OpenSim. 2017-09-02 09:45:52 +02:00
AUTHORS.md Adds a LockMeister-compatible chaining plugin. The full protocol specification can be found in the LSL wiki at: http://wiki.secondlife.com/wiki/LSL_Protocol/LockMeister_System 2020-07-22 08:01:40 +02:00
LICENSE first commit 2017-07-31 17:43:31 +10:00
LICENSE_script_header first commit 2017-07-31 17:43:31 +10:00
README.md Fix typo 2019-04-07 18:22:28 +02:00
TRADEMARK.mediawiki fix links and anchors 2017-07-31 18:52:36 +10:00
WELCOME.notecard first commit 2017-07-31 17:43:31 +10:00

AVsitter

Repository for AVsitter™ - a furniture pose system for Second Life® and OpenSim, written in LSL.

Getting the AVsitter2 scripts in Second Life/Opensim

  1. You can manually import the AVsitter scripts into Second Life / Opensim by following our AVsitter2 Import Guide.

    or

  2. If you would prefer a pre-packaged version of the latest release, and to receive packaged in-world updates of future releases, then visit the SL Marketplace. Proceeds from marketplace sales are shared with open-source contributors and will help support continued development of AVsitter.

User instructions

User instructions are found at https://avsitter.github.io.

Support guide

Support guidelines are found at https://avsitter.github.io/support.html.

Contributor guidelines

Contributor guidelines are found at https://avsitter.github.io/contribute.html.

Editing the AVsitter2 code

You can edit any scripts, as long as you stay in compliance with the license (see below); however, in order to benefit from the extra memory that the SL Marketplace version provides, you're advised to optimize the scripts following the same method used for packaging the releases. There's a guide on how to do it here: Release Building Guide

License

AVsitter LSL scripts are licensed under the Mozilla Public License Version 2.0.

This basically means that: you must make the source code for any of your changes available under MPL, but you can combine the MPL code with proprietary code, as long as you keep the MPL code in separate files.

For increased script memory, scripts can be run through LSL-PyOptimizer online. If you do this, please keep the license notification intact in the header of any scripts you distribute.

Trademarks and branding

If you distribute the scripts in this repository or a derivation, you may only use our brand as permitted. See our Trademark Guidelines for permitted use of the AVsitter™ brand. We also suggest http://fossmarks.org for a practical guide to understanding trademarks in the context of Free and Open Source Software.


Second Life® is a trademark of Linden Research, Inc. AVsitter™ is not affiliated with or sponsored by Linden Research.

Scripts were formatted by LSL-PyOptimizer and created using LSLForge. A sincere thanks goes to the creators of those projects! Many thanks go also to Philip Rosedale and all Lindens (past and present).