Jump to content

Playsound looping workarounds?


Paul Hexem
 Share

You are about to reply to a thread that has been inactive for 135 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

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

  • Like 1
Link to comment
Share on other sites

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 by Paul Hexem
Link to comment
Share on other sites

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?

  • Like 1
Link to comment
Share on other sites

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

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 by Paul Hexem
Link to comment
Share on other sites

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).

  • Like 2
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 135 days.

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
 Share

×
×
  • Create New...