d5c63bf686
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. |
||
---|---|---|
AVsitter1 | ||
AVsitter2 | ||
images | ||
php | ||
.gitattributes | ||
.gitignore | ||
AUTHORS.md | ||
LICENSE | ||
LICENSE_script_header | ||
README.md | ||
TRADEMARK.mediawiki | ||
WELCOME.notecard |
AVsitter™
Repository for AVsitter™ - a furniture pose system for Second Life® and OpenSim, written in LSL.
Getting the AVsitter2 scripts in Second Life/Opensim
-
You can manually import the AVsitter scripts into Second Life / Opensim by following our AVsitter2 Import Guide.
or
-
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).