Jump to content

I hate group abilities


Qie Niangao
 Share

You are about to reply to a thread that has been inactive for 1876 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

(Yes, this is going to be a rant. But if anybody sees a workaround, I'd be super appreciative.)

Back in 2012, the five Linden Library "groundcover" plants all took to transmogrifying themselves into one ("Grass - tall 1") when the sim restarts. This is pretty annoying because those 1 LI plants, limited as they are, have the very special property of matching the (dynamic) terrain however complex its shape, so there are applications for which there's no practical substitute.

So the problem is how to uproot the contaminated instances and replant them whenever the sim restarts. We can know the plants' UUIDs from the replanting script's object_rez() event, and the uprooting script can llReturnObjectsByID() each of the contaminated ones. Why separate scripts? Well, llReturnObjectByID() only really works when owned by the landowner (so the uprooting script needs to be owned by the landowner), and objects owned by the landowner cannot be returned* so the plants need to be owned by somebody other than the landowner (so the planting script needs to be owned by that non-landowner). And that non-landowner must have the Ability to rez Linden plants on the land.

Does anybody see a problem?


The non-landowner may have the group Ability to rez Linden plants on group-owned land -- indeed, the group may even grant that Ability to the Everybody role -- but the sim doesn't recognize that scripts owned by that agent set to that group have that Ability unless that agent is present on the sim. So our planter scripts will try unsuccessfully for days to rez a Linden plant until the script owner teleports to the region when it will successfully plant as many as it wants.

Usually we get around this "need to see the agent to know her script's group Abilities" by deeding the scripted object to group, but a nasty Catch-22 in this case: if the object is deeded to the landowning group, objects it rezzes can't be returned by script.

_____________
*except by a script in the object itself, and Linden plants can't be scripted.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1876 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...