Is this possible with a script?
|
Pamela Galli
Registered User
Join date: 1 Dec 2007
Posts: 47
|
02-03-2010 21:30
A customer just IMed me about a script error in a kitchen she bought -- but she is getting an error from that kitchen PLUS one that she did not buy:
"Hello i just purchased ur lovely kitchen but the name of Dinner Party Kitchen... I'm afraid that may have moved it outta position and i'm reciving a bad script sign saying
Dinner Party Kitchen v2 -- Ultra Glow: Dinner Party Kitchen v2 -- Ultra Glow [script:[IDZ] Menu v2.1 COPY] Script run-time error Dinner Party Kitchen v2 -- Ultra Glow: Too Many Listens
Dinner Party Kitchen v2 -- Rosewood2 and Black: Dinner Party Kitchen v2 -- Rosewood2 and Black [script:[IDZ] Menu v2.1 COPY] Script run-time error Dinner Party Kitchen v2 -- Rosewood2 and Black: Too Many Listens"
Is this possible? Or did she maybe buy one and take a copy of another?
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
02-03-2010 22:06
i'm going to assume that in the script it's setting a unique listen each time it's rezzed so that they can be messed with via chat individually within close range of each other. too many listens would happen after creating a unique listen so many times, but without first removing the other listen(s) from lslwiki: http://lslwiki.net/lslwiki/wakka.php?wakka=llListenIf a script goes over its limit of 65, it crashes with a run-time "Too Many Listens" error.
|
Pamela Galli
Registered User
Join date: 1 Dec 2007
Posts: 47
|
02-03-2010 22:10
Thank you. Here is the situation:
One of the kitchens giving the error is brand new and has never been sold. Only one of them is *supposed* to be rezzed inworld -- it is in my store.
So how is this customer getting a script error from the kitchen she bought AND one that neither she nor anyone else has bought?
I know nothing about scripting, so there may be some explanation other than that she bought one kitchen, and ripped the other, and rezzed them both and got an error from them both.
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
02-03-2010 22:18
From: Pamela Galli Thank you. Here is the situation:
One of the kitchens giving the error is brand new and has never been sold. Only one of them is *supposed* to be rezzed inworld -- it is in my store.
you mean you just released it? did you write the script? how many times did you test without recompiling it? are you sure it's only her getting the error from yours or are you just not present when it's throwing the errors? and i don't know for sure, but with ripping (copy-botting) i think it can only copy the prims, not the contents if you did write the script, i suggest maybe posting snippets of it that have to do with creating listens to see if anyone can point out what needs to be fixed
|
Pamela Galli
Registered User
Join date: 1 Dec 2007
Posts: 47
|
02-03-2010 22:30
Thanks. Every now and then one of my kitchens gets the listen error -- out of 9 kitchens, one does it maybe once every 3 months -- and all I do is rez a new copy and it is fine. So the error itself is not really a problem.
I am puzzled by why she is getting this error from two kitchens with two different names, when she only bought one kitchen. When she sent me the copy of the error message I just told her to rez a new copy and that should fix it --but then I noticed that she is getting an error from the Rosewood kitchen, which she bought, AND the Ultra Glow kitchen, which no one has bought, and is only rezzed inworld in my store. (In my store these two kitchens are about 20m apart).
If she can't take a copy with the scripts, then I guess she does not have a copy of the one she did not buy. But I am confounded how she could be getting a script error from it!
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
02-03-2010 23:17
I'm going to go with a missing reset and lots of testing or rezzing... either by her or you, doesn't much matter... at a minimum is should be resetting on new owner, or even better, on rez to clear up that nasty multiple listen overflow...
if you're worried about saving data that's stored in globals, you can change to an empty state and back on_rez and that will clear your listen(s) without breaking your global variables.
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
|
02-04-2010 01:55
From: Pamela Galli but then I noticed that she is getting an error from the Rosewood kitchen, which she bought, AND the Ultra Glow kitchen, which no one has bought, and is only rezzed inworld in my store. (In my store these two kitchens are about 20m apart) Naming, I have built many things and sometimes I'll use parts of an old build to start a new one. When one uses the root prim from an old build it retains the name. So my old build is 'Rosewood Roundabout' and I use the rotating root prim which is named 'Rosewood Roundabout' in my new build 'Ultra Glow Swing' but with a new root prim being so named 'Ultra Glow Swing', as I develop the build make changes etc the root prim changes and the work isn't 'Ultra Glow Swing' anymore it's 'Rosewood Roundabout', so I'm just showing how naming an object can change. She could have tried moding it to repair it herself and relinked it incorrectly, she could have linked one oven to the other also.
|
Twisted Pharaoh
if ("hello") {"hey hey";}
Join date: 24 Mar 2007
Posts: 315
|
02-04-2010 02:10
From: Pamela Galli I am puzzled by why she is getting this error from two kitchens with two different names, when she only bought one kitchen. After little though I think she was at your shop when the glow kitchen sent a script error. And when she got the error message from the kitchen she bought, she copy pasted from the script error window. That is why you got both messages.
|
Pamela Galli
Registered User
Join date: 1 Dec 2007
Posts: 47
|
02-04-2010 07:01
Thanks everyone. No, I did not use any part of the Rosewood kitchen to make the Ultra one.
Maybe she did get the script error from the kitchen in the store, while she was in the store. However, I have not gotten one from it.
|