Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Problems with Chages in Permisions

Jenny Carlos
Registered User
Join date: 30 Aug 2005
Posts: 52
04-06-2006 11:56
Hello many people I have talked with had some major problem with the permisions of take controls. Many of my weapons and some of my other controls and animation type items I had where giving errors as well on attach .

I notice that it seems to be fixed now but now I notice a change that has taken place in one of my scripts.
I use a system that detects key presses and uses the take controls to make this work.
If I request and set the perms everything works great/ But lets say I draw a weapon that aslo wishes to use the controls. I notice everything seems ok tell I release those controls by putting the weapon away, Now the first item that used the key presses no longer has controls and has to be taken off and put back on to gain its controls again.

Anyone have any idea on how I can retain my controls on the first item at all times.
I have a shield that uses the same kinda system and it is doing just what Id like my item to do/ It retains its controls somehow even after releasing the controls of a second item.

Thanks for any info that anyone could give.
Jenny Carlos
Jenny Carlos
Registered User
Join date: 30 Aug 2005
Posts: 52
Not one reply
04-07-2006 07:56
I gues no one else is having this problem.
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
04-07-2006 10:31
This problem has to do with the "pass through" option -- the last argument to llTakeControls. It seems that if ANY script takes controls with pass through set to FALSE, all other scripts that had controls summarily lose them. I think that if you have one script with pass through set FALSE that already has your controls, and then you have another script take controls with pass through set TRUE, they'll both get along. It's pretty confusing, and I'm not sure I like the way it works.

Also, it seems like in 1.9, any attachments I'm wearing that do llTakeControls() on attach don't necessarily work when I log in.
Jenny Carlos
Registered User
Join date: 30 Aug 2005
Posts: 52
Actually we worked with that!
04-07-2006 21:35
We also figured that this was the problem.
We did some debug and found that our problem wasnt that the object was losing its perms
after all.
The controls sytem is used for the key pressing event and the controls seem to still be
active after this strange bug takes place.
It simply loses its event.
We have supplied samples of this to the bug trackers of sl and one of them agrees there
is a problem here and they are going to pass this onto the scripter that is working on
the new perms system for second life and hope this strange behavior can be resovled.

Thank you for your reply im glad that someone did.
In fact if your interested in this strange bug yourself please feel free to im me in game and
I will see about getting you some test scripts and some info on this so you can look into
it as well if you like that kinda challange lol.
Thanks again
Jenny Carlos