Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

discrepencie between mono and main grid

Abraxes Binder
Registered User
Join date: 23 May 2008
Posts: 205
06-08-2009 07:01
I have a -strange- mono expirience
i made a script in mono and got the -weirdest- return
It can be minimized to -this-:

CODE


default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}

touch_start(integer total_number)
{
llSay(0, "obj: "+(string)llGetInventoryName(INVENTORY_OBJECT, 0);
llSay(0, "tx: "+(string)llGetInventoryName(INVENTORY_TEXTURE, 0);
}
}



oki, in the mainobj i dump one object: 'obj' and one texture:'tex'
The return..
[6:51] shopbox: obj:
[6:51] shopbox: tx: New Script
what???
....How in .... did the SCRIPT get into this????!
....njooooo its on TOP of the pile... :/

now .. rename 'object' to 'aobject' ..eg it moves to the top in inventory..
returns
[6:53] shopbox: obj:
[6:53] shopbox: tx: aobj
Whut??

now .. rename 'aobj' to 'bobj' and tex to atex..eg it moves to the top in inventory..
returns
[6:56] shopbox: obj:
[6:56] shopbox: tx: atex

conclusion - the engine dont give a hoot about flag INVENTORY_OBJECT/ INVENTORY_TEXTURE
its just returns whats on top of the pile
That is SO wrong :/

br.
_____________________
BR ab
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
06-08-2009 07:18
That bug has been floating around a few beta builds for a month or so and it should be gone the next time they update there.
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
06-08-2009 08:43
See This JIRA:

http://jira.secondlife.com/browse/SVC-4234
_____________________
Abraxes Binder
Registered User
Join date: 23 May 2008
Posts: 205
06-09-2009 02:12
:) mehh i need a 'sistim' to monitor floaters then. ..
ty. Victoria
BR.
_____________________
BR ab
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
06-09-2009 08:54
I use llGetInventoryName() with INVENTORY_OBJECT, INVENTORY_ANIMATION, and INVENTORY_SOUND a lot and have never seen them fail.

I don't understand the post title, btw. Mono is on the main grid; has been for ages. Does the problem go away when the script is compiled without mono? Does it happen on only the beta grid?
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
06-09-2009 09:09
The bug is http://jira.secondlife.com/browse/SVC-4234 and yes it's a failure of llGetInventoryName on preview grid builds.

Abraxes has just been calling it Mono from using an old Mono beta viewer. That's fine, the question got across and was answered.