Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGetInventoryKey() Bug

Toneless Tomba
(Insert Witty Title Here)
Join date: 13 Oct 2004
Posts: 241
01-19-2005 00:05
Why can't I get a texture's key that has copyable permissions but no mod using llGetInventory(), spits out a NULL_KEY. But I can get the key by using llGetTexture() if it is not in inventory?
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
01-19-2005 04:37
Not a bug, but a copy-exploitation prevention.
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
Toneless Tomba
(Insert Witty Title Here)
Join date: 13 Oct 2004
Posts: 241
01-19-2005 06:33
grrr.... So what I posted was a hack? About the llGetTexture()?
Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
01-19-2005 06:49
in the wikki is written a noter that llgetinventorykey will work ONLY if you have all rights on the object

discovered this some days ago and had to find a workaround

are you trying to check if an object exist in an inventory?
_____________________

tired of XStreetSL? try those!
apez http://tinyurl.com/yfm9d5b
metalife http://tinyurl.com/yzm3yvw
metaverse exchange http://tinyurl.com/yzh7j4a
slapt http://tinyurl.com/yfqah9u
Toneless Tomba
(Insert Witty Title Here)
Join date: 13 Oct 2004
Posts: 241
01-19-2005 06:55
From: Kyrah Abattoir
in the wikki is written a noter that llgetinventorykey will work ONLY if you have all rights on the object

discovered this some days ago and had to find a workaround

are you trying to check if an object exist in an inventory?


Not really trying to find a key of a copyable texture with no mod permissions without setting the texture on the prim then moving the texture out of inventory and then doing llGetTexture() to find the key of it. llGiveInventory() is very slow. Takes like 2 seconds to process. :(
Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
01-19-2005 07:04
put texture in your inventory , right click , copy asset uuid?
_____________________

tired of XStreetSL? try those!
apez http://tinyurl.com/yfm9d5b
metalife http://tinyurl.com/yzm3yvw
metaverse exchange http://tinyurl.com/yzh7j4a
slapt http://tinyurl.com/yfqah9u
Toneless Tomba
(Insert Witty Title Here)
Join date: 13 Oct 2004
Posts: 241
01-19-2005 08:22
From: Kyrah Abattoir
put texture in your inventory , right click , copy asset uuid?


nope, doesn't allow that option if texture is non modifiable.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
01-19-2005 09:55
There are a couple of ways of going about it but they are not automatic (and I've reported them as bugs). You will have to discover your own ways.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Toneless Tomba
(Insert Witty Title Here)
Join date: 13 Oct 2004
Posts: 241
01-19-2005 10:08
Well I think I found a work around for what I need to do. I thank all u guys for your help. Much obliged :)