Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Help with reported error?

Ee Maculate
Owner of Fourmile Castle
Join date: 11 Jan 2007
Posts: 919
11-11-2008 03:02
I've had an IM from someone who's bought a slideshow viewer I sell, and he's claiming that he occasionally gets a message that the script has been "run too many times"?

Was wondering if anyone can enlighten me as to what I should be looking for. The main parts of the script involve link messages, and menu dialogues listening via random channels.

Thanks in advance! :)
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-11-2008 03:53
Unless you have a specfic llSay or llOwnersay in the scripts that have a message stating "run too many times", then no I have never encountered such a warning. This is from someone who in testing every now and then uses recursion to push the limits and may run several hundred cycles in a short period of time. Unless someone pops up here with an idea of what is going on, I would suggest hitting up the jira with a query.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
11-11-2008 04:29
From: Ee Maculate
I've had an IM from someone who's bought a slideshow viewer I sell, and he's claiming that he occasionally gets a message that the script has been "run too many times"?

You must ask your customer for more specific information: is it certain the message is coming from your script? in what situations does it show?
If you are the creator of the viewer you must know if the phrase: "run too many times" is in the script somewhere?
Happy hunting:)
_____________________
From Studio Dora
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
11-11-2008 06:25
you say you're using dialogs with random channels. are you removing the listen before creating the new one? it could be encountering too many listens. although the error would be just that. they're probably getting "run time error" and just passing the message on to you incorrectly. as far asi know everyone can see script errors, have you gone to where he has the slideshow to see if maybe it is coming from something else?
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Ee Maculate
Owner of Fourmile Castle
Join date: 11 Jan 2007
Posts: 919
11-11-2008 06:53
Thanks for all the replies!

The report of the error came with the addition "or something like that", so I suspect the message was passed on inaccurately.

There certainly is no such message contained in the code ;)

Too many listens was an issue in an earlier version but thought I'd fixed that.. will have another look!
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
11-11-2008 13:25
You may consider this approach to your listens e.g.
CODE

integer handle; // edit: note that this is a global!
...then...
llListenRemove(handle); // if the handle is invalid this does nothing so it's safe
handle = llListen(.....);
You can be sure that only one listen will ever be used, and not inadvertently kill sims with rogue scripts.
_____________________
http://slurl.com/secondlife/Together