Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Help.. Scripter Needed...Will Pay $$$

Frank Beckett
Junior Member
Join date: 26 Jun 2004
Posts: 3
07-11-2004 08:16
I have read this type of posting on several strings, but now it effects me...

I own The Palace Mall and I need a script that will return all objects that do not belong to my vendors (i will maintain a vendor list). Also, it would be great if it could tell me the Prim usage for each vendor...

Any smart scripters up for the challenge, or does this script already exist and I am too dumb to find it.

Thanks,
Frank
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
07-11-2004 08:32
Unfortunately, you can't do either of those things with LSL yet.

Your best bet would be to set your entire parcel to auto-return, then cut out the individual parcels that the vendors sit on, and just return the extra junk on them individually.

So that's all the advice I can really give you. We could certainly use these functions though: (listening, Lindens?) :)

integer llGetLinksetNumber() for returning the number of prims in a linkset,

integer llReturnObjectToInventory(key object) -- maybe have it return TRUE or FALSE depending on whether or not it happened?

I'm not sure how the parcel/simulator object usage functions would work... maybe like this?
integer llGetObjectUsage(integer type, vector pos)

type would be a constant:
PARCEL_GROUP
PARCEL_OTHERS
PARCEL_OWNER
PARCEL_REMAINING
PARCEL_SUPPORTED
SIMULATOR_REMAINING
SIMULATOR_SUPPORTED

I can't really think of why anyone would need it, but while we're in About Land > Objects, llSetParcelAutoreturn(vector pos) might be useful.

Thoughts?
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog
Pete Fats
Geek
Join date: 18 Apr 2003
Posts: 648
07-11-2004 11:57
I haven't tested this Cat, but according to the wiki, llAddToLandPassList() says that once the land pass expires, all objects are returned to that person. Maybe you could setup a sensor, to find the owners of whatever objects are around, and work that against a notecard of authorized sellers.

I remeber Cua trying this a while back, but I think it was over group land, and thus didn't work right.
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
07-11-2004 12:38
Oh yeah, I didn't think about that. It could work, depending on how crowded your land was, of course.
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog
Raphael Rutherford
Resident Resident
Join date: 26 Mar 2004
Posts: 236
08-26-2004 14:24
Can anyone shed any light on how llAddToLandPassLis() is supposed to work ?

I've tried several variants, and none seem to work.

Wouldn't it be great if Linden would document LSL ?

/RR
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
08-26-2004 14:55
They do. They just do it poorly. Check the file "lsl_guide.html" in your SecondLife directory, or go to Help > Script Help in the SL client.

Also, if you hover your pointer over any coloured text in the LSL editor, you'll get a short tooltip explaining that function or event. Some of them aren't totally helpful, mind you.

Fortunately, the wiki is your friend!

See the llAddToLandPassList page.
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog
Zalandria Zaius
Registered User
Join date: 17 Jan 2004
Posts: 277
group associate land
09-10-2004 15:21
The best way we found for this kind of thing was group associated land, NOT GROUP OWNED land, Set the group with the blue button near your name, but DO NOT deed it to group or anything else like that.

Of course all your vendors would have to be in the group you set the land to and associate their vendors with the group.(DO NOT SHARE THEM WITH THE GROUP). Then you can set the auto return to every half hour or so and never have to clean up again.