MantisBT - opensim
View Issue Details
0008548opensim[REGION] Script Functionspublic2019-06-17 19:452019-08-01 13:32
Standalone (Multiple Regions)
0008548: llGiveInventory() does not work under Yengine
The parameters for llGiveInventory() are:

llGiveInventory(key destination, string inventory);

Yengine reports (in the floating box) the parameters are:

llGiveInventory(string destination, string inventory);

The system refuses to accept a key as the first parameter, such as llDetectedKey(0). This prevents an object giving inventory.

No tags attached.
Issue History
2019-06-17 19:45SnootsDwagonNew Issue
2019-06-17 19:49SnootsDwagonNote Added: 0035402
2019-08-01 06:27UbitUmarovNote Added: 0035535
2019-08-01 06:29UbitUmarovNote Edited: 0035535bug_revision_view_page.php?bugnote_id=35535#r8324
2019-08-01 06:29UbitUmarovNote Edited: 0035535bug_revision_view_page.php?bugnote_id=35535#r8325
2019-08-01 13:32SnootsDwagonNote Added: 0035538

2019-06-17 19:49   
Correction: tested this on another object. While the floating text box still indicates a string as the first parameter, the script in this case did compile and work. Apparently the first attempt was a case of 'broke prim' syndrome.
2019-08-01 06:27   
(edited on: 2019-08-01 06:29)
with many updates to opensim, you do need to delete folder ScriptEngines to make sure all scripts ae compiled under the new code.
the script state files are also lost, but that may also had changed.

in recent commit I did change that to use type key in the correct place, this will cause a issue if the old script is not recompiled

2019-08-01 13:32   
Thanks Ubit. Was unaware of that. That could be what's causing other script problems as well. I'll mark that in my notes.