|
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
|
05-21-2006 14:54
Thought I'd ask in the forum before I ... um ... bug .. a linden dev... Anyone noticed issues rezzing linden plants from a script ? state rez_linden_plant { state_entry() { // There is a Linden plant named "Linden Plant" in our // inventory... vector pos = llGetPos(); pos.z = llGround( ZERO_VECTOR ); llRezObject( "Linden Plant", pos, ZERO_VECTOR, ZERO_ROTATION, 0 ); } ... object_rez( key id ) { // Sleep a little, because object_rez can silently fail if // the area's laggy by being called before an object is // actually rezzed! llSleep( 2.0 );
... // ok.. this rezzing method has proved reasonaly safe for all // objects except Linden plants
// but 50% of the time linden plants are NOT rezzed // but the object_rez event IS called every time. ! duh ?
} }
_____________________
Geometry is music frozen...
|
|
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
|
05-22-2006 10:22
no-one ?
does anyone use scripts to rez linden plants ?
not noticed a problem ?
mmm, time to file a bug report maybe.
_____________________
Geometry is music frozen...
|
|
Morgana Aubret
Damaged Beyond Repair
Join date: 12 Jul 2005
Posts: 139
|
05-22-2006 11:53
I have a rezzer script that is working. I can drop a copy on you if you like, but it's a free one I got, not one I wrote.
|
|
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
|
05-22-2006 12:06
From: Morgana Aubret I have a rezzer script that is working. I can drop a copy on you if you like, but it's a free one I got, not one I wrote. Yes please, I'd be interested to see if it works every time on non-flat ground, thanks ! I've written several variations of linden rezzing functions / states now, and not one of them actually rezzes a plant each time llRezObject is called. The thing is, if the script is simply rezzing linden plants alone, you probably wouldn't normally notice it failing, but I'm using the eelgrass as leaves for a flower, and I'm seeing the flower rezzed every time but not the eel grass. Please do pass me the script, but frankly I don't hold out much hope, this is looking more and more like a bug to me. ( but I've said those famous last words before  ) [edit...] I should add an important thing I forgot to mention... The plants that are failing to rez are copies that have been passed via llGiveInventory(). These copies have the correct copy permissions ( full permission actually ) and they do exist in the inventory of the rezzing prim that received them. The first generation appears to rez properly as expected, 2nd and subsequent generations ( via llGiveInventory() ) fail to rez at least half the time. Could this be because Linden plants are treated so differently from other prims ?
_____________________
Geometry is music frozen...
|
|
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
|
06-05-2006 09:11
Today I finally realised what's going on... Linden Plants don't rez from scripts if the owner is not online ! ( or in the sim ) I think this must be a bug, it's not like the script is trying to rez on someone elses land. I finally sussed why I never saw it fail and all my test scripts always worked ! But each time I come back to it after being offline the plants that were supposed to rez while I'm not there haven't. 
_____________________
Geometry is music frozen...
|
|
Kristian Ming
Head Like A Hole
Join date: 5 Feb 2005
Posts: 404
|
06-16-2006 11:33
I am guessing that programatically rezzing plants behaves similarly to the llModifyLand restrictions that the agent/avatar must be present in the same sim. Considering the behavior of the 'Edit Land' flag and allowing others to rez plants they must be somehow tied in the system.
_____________________
"When you're going through hell, keep going!" -- Winston Churchill
|