Paul Hexem Posted December 19, 2023 Share Posted December 19, 2023 Anyone got a workaround for the llPlaySound bug that makes it loop infinitely? Link to comment Share on other sites More sharing options...
Rolig Loon Posted December 19, 2023 Share Posted December 19, 2023 Don't put it in a loop? 2 Link to comment Share on other sites More sharing options...
SarahKB7 Koskinen Posted December 19, 2023 Share Posted December 19, 2023 llStopSound 1 Link to comment Share on other sites More sharing options...
Love Zhaoying Posted December 19, 2023 Share Posted December 19, 2023 10 hours ago, Paul Hexem said: Anyone got a workaround for the llPlaySound bug that makes it loop infinitely? Quote: "When used in conjunction with llSetSoundQueueing, sounds may incorrectly. play more than once. This can be fixed by disabling the sound queue if only a single sound sample is to be played." https://wiki.secondlife.com/wiki/LlPlaySound 1 Link to comment Share on other sites More sharing options...
Paul Hexem Posted December 19, 2023 Author Share Posted December 19, 2023 (edited) 11 hours ago, Rolig Loon said: Don't put it in a loop? It's not. 2 hours ago, SarahKB7 Koskinen said: llStopSound Does nothing. 1 hour ago, Love Zhaoying said: Quote: "When used in conjunction with llSetSoundQueueing, sounds may incorrectly. play more than once. This can be fixed by disabling the sound queue if only a single sound sample is to be played." https://wiki.secondlife.com/wiki/LlPlaySound Not using queuing. The bug from 2022 that makes sounds play again any time there's a script or viewer event. There's gotta be a workaround for LL to not have fixed it for two years. https://jira.secondlife.com/browse/BUG-233079 https://jira.secondlife.com/browse/BUG-233791 https://jira.secondlife.com/browse/BUG-233643 Edited December 19, 2023 by Paul Hexem Link to comment Share on other sites More sharing options...
Wulfie Reanimator Posted December 19, 2023 Share Posted December 19, 2023 Replay the sound with 0 volume? Play a different sound, which only has silence? 3 1 Link to comment Share on other sites More sharing options...
Paul Hexem Posted December 19, 2023 Author Share Posted December 19, 2023 5 minutes ago, Wulfie Reanimator said: Replay the sound with 0 volume? Play a different sound, which only has silence? Oh, that's an idea. At least then the loop will be silent. 1 Link to comment Share on other sites More sharing options...
Love Zhaoying Posted December 19, 2023 Share Posted December 19, 2023 If it's a simple script (not something you're protective of / want to keep private), you could post it for us to see if we find something.. Link to comment Share on other sites More sharing options...
Paul Hexem Posted December 19, 2023 Author Share Posted December 19, 2023 2 minutes ago, Love Zhaoying said: If it's a simple script (not something you're protective of / want to keep private), you could post it for us to see if we find something.. There's a handful in the JIRAs already. But literally I can write a script that's as simple as llPlaySound on touch_start and nothing else at all, and it'll just loop infinitely. The only apparent fix is to copybot the mesh and re-upload it myself. New prims won't have the bug. I'm trying to look for alternatives to that, since I suspect people won't be happy if I do it. I want to make it a last resort, you know? 1 Link to comment Share on other sites More sharing options...
Love Zhaoying Posted December 19, 2023 Share Posted December 19, 2023 1 hour ago, Paul Hexem said: Not using queuing. The bug from 2022 that makes sounds play again any time there's a script or viewer event. There's gotta be a workaround for LL to not have fixed it for two years. https://jira.secondlife.com/browse/BUG-233079 https://jira.secondlife.com/browse/BUG-233791 https://jira.secondlife.com/browse/BUG-233643 FYI, those bugs all reference the issue being caused in conjunction with other functions: llSetSoundQueueing() and llTriggerSound() - potentially in other scripts in the object. None of those 3 bugs blame the issue completely on llPlaySound(). Link to comment Share on other sites More sharing options...
Paul Hexem Posted December 19, 2023 Author Share Posted December 19, 2023 (edited) 4 minutes ago, Love Zhaoying said: FYI, those bugs all reference the issue being caused in conjunction with other functions: llSetSoundQueueing() and llTriggerSound() - potentially in other scripts in the object. None of those 3 bugs blame the issue completely on llPlaySound(). 233791 does, and was reproduced by Maestro when he copied one of the offending objects from my inventory. They all seem to be somewhat related, though. Edited December 19, 2023 by Paul Hexem Link to comment Share on other sites More sharing options...
Love Zhaoying Posted December 19, 2023 Share Posted December 19, 2023 3 minutes ago, Paul Hexem said: 233791 does, and was reproduced by Maestro when he copied one of the offending objects from my inventory. They all seem to be somewhat related, though. Ok, I was going off this comment: "May be related to https://jira.secondlife.com/browse/BUG-233079 as there are other no mod scripts in my object that could be calling llTriggerSound" I see now, you reported that one yourself. LOL! <= laughing at myself for not noticing. Sorry such an old bug is troubling you ("new" in the grand scale of things, I see you reported it this past April). 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now