Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Problem with llGiveInventory

Euler Cummings
Registered User
Join date: 30 Jan 2007
Posts: 1
10-07-2007 23:45
Hi,

First of all, i have to thanks all of your work helping new LSL programmers. Sorry for mi English, i studied it in the school and i dont remember many things. Here is my question.

I have two objects in the same sim. One of them gives a notecard to the other with llGiveInventory. When i open the inventory of the second object there is not the notecard. I make another send, and then, appears the two notecards. Why is it possible? The two objects have the AllowDrop TRUE.

Can someone helps me?

Thank you
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
10-08-2007 04:40
This is probably just lag. SL is very bad at dynamically updating inventories, so make sure to click on another object and then back to the first one to force a reload.

Also, you do not need allowInventoryDrop to transfer items between objects you own. You really should not turn on allowInventoryDrop unless you really, really, need it because it's a big security risk :(
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
10-08-2007 07:23
From: Yumi Murakami
You really should not turn on allowInventoryDrop unless you really, really, need it because it's a big security risk :(
Also, llAllowInventoryDrop changes a persistent prim property. To remove it from an object instance in which it's been set, one must execute "llAllowInventoryDrop(FALSE);" in that object.

The property does not allow dropping of *scripts* into inventory; that would be insanely dangerous. Nonetheless, the security risk is very real, but it's probably not appropriate to describe it here.