|
skidz Tweak
Registered User
Join date: 18 Apr 2006
Posts: 42
|
05-21-2009 20:34
Hi all, Doing some testing with DEBUG_CHANNEL and listening to it for any errors. Well, to make a long story shut, it never hears errors and yes, the listening script is in a different prim than the script that through the error. I search the wiki, and jira for information on this. I only found one reference to this in the jira, on a different error, and but others said it could be done. Is this even possible? Or is there a trick to it? Thanks in advance. Script for the prim that listens default { state_entry() { llListen(DEBUG_CHANNEL, "","",""  ; } listen(integer channel, string name, key id, string message) { llSay(0,message); } } Script for the prim that throws an error default { touch_start(integer total_number) { llGiveMoney(NULL_KEY,0); } }
|
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
05-21-2009 20:52
Are the two prims in the same object?
_____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!! - Go here: https://jira.secondlife.com/browse/SVC-3895- If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left
|
|
skidz Tweak
Registered User
Join date: 18 Apr 2006
Posts: 42
|
different
05-21-2009 20:55
They are different prims.
I got it to hear other errors finally... but still not the one I have listed above...
worked for a stack heap error, and kinda what I was looking for...
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
05-21-2009 22:19
Yep, it's inconsistent, some of these things seem to spit out type 6 chat messages to to agents directly, and skip the step of using a shout to DEBUG_CHANNEL to generate that message :/
|