Cross Quartermass
Registered User
Join date: 8 Feb 2005
Posts: 6
|
03-16-2005 07:55
I have a couple totally unrelated objects that I'm trying to prepare for sell, that both spawn subobjects as part of their function. However, whenever I transfer them to someone else's character, they stop responding to any commands whatsoever. In fact, I put in an unfiltered listen so the object would respond if it was at least hearing anything, and it still did not respond.
All prims and scripts in all subobjects as well as the object itself are set to copy/nomod/notrans. I tried adding llResetScript() to the on_rez event for the parent object only, as the child objects use the data the onrez event passes and I'm not sure if resetting the script retains that or not. At any rate, resetting the script onrez did nothing, and doing it on state_entry made it break for me too.
Can anyone help?
|
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
|
03-16-2005 08:12
Hi Cross.  I wonder if somehow the Running flag is getting cleared on the scripts when the objects are transferred. I've had that happen to me from time to time. What happens if the new owner rezzes the object, then uses 'Recompile Scripts in Selection' on them?
_____________________
- Making everyone's day just a little more surreal -
Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
|
Dominus Skye
Bug Magnet
Join date: 31 Oct 2004
Posts: 54
|
03-16-2005 12:12
If the scripts are set to NO TRANSFER, then it is possible that they are not being retained within the object when you transfer it to the new owner. No script would = no workie
|
Cross Quartermass
Registered User
Join date: 8 Feb 2005
Posts: 6
|
03-16-2005 22:22
Using 'recompile scripts in object' seemed to do the trick! Thanks Cross!  Any idea *why* this happened though? Would every new owner have to do this after buying my stuff? Seems very clunky and I'd rather not complicate things for potential buyers.
|
Cross Quartermass
Registered User
Join date: 8 Feb 2005
Posts: 6
|
03-16-2005 22:26
Also, to the person that sent me an IM regarding this, I accidentally logged out of the game before I got a good look at your name. Sorry, and thanks for the offer of assistance!
|
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
|
03-17-2005 22:32
I guess it's a bug. Sometimes scripts go a bit funny when they change owners. I seem to recall an explanation of it someplace around here, can't remember where tho. 
_____________________
- Making everyone's day just a little more surreal -
Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
|
Zalandria Zaius
Registered User
Join date: 17 Jan 2004
Posts: 277
|
ohh nooo missed my IM
03-18-2005 08:58
There's a few things in LSL that can make the scripts a bit hinky when you transfer them.
I just had to fix a script that when you moved the script to another prim it just quit.. No real reason why. I should go figure out what I changed and bug report it.
If you want me to take a peek at the script I'd be happy to.. Just give me a yell in game..
|