Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Extended Land Information

Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
01-11-2007 21:32
Currently, we have a nice llGetParcelDetails function which can tell us the following information about a parcel:
  1. Name
  2. Description
  3. Owner
  4. Group
  5. Area

There are also various other tools for finding parcel or region information, and while the above are all helpful, there is more information readily available that could be provided through LSL, as well as other ways it could be used to retrieve various data.

I've read that all parcels have a local (region-specific) integer ID as well as a global UUID. I'd like to see the following things created:
  1. integer llGetParcelID(vector position) should return the local ID of a parcel at position.
  2. key llGetParcelUUID(vector position) should return the global UUID of a parcel at position.
  3. integer llParcelForSale(vector position) should return true if the parcel is marked for sale. Maybe more integer tags could be added to list whether it's to anyone, or to a specific person.
  4. integer llParcelSalePrice(vector position) should return how much the parcel is set for sale.
  5. Any or all of the above should probably rather be added to llGetParcelDetails.
  6. key llRequestParcelInfo(key parcel, integer info) should return a request ID and trigger a dataserver event. The info argument should specify which specific parcel detail you're interested in. Valid possibilities should include all of the types returned by llGetParcelDetails as well as the local ID, sale price if for sale, and whether it's set for sale to a specific person. It should, at the very least, verify whether a parcel exists. EDIT: Looking back on this, the function should probably have a string region argument as well, since I imagine that would take a large load off searching for the parcel key in the database. Also, regardless of how this uses the database, it should have a pretty strong cap per owner and/or per region for the scripts using it, as it would almost certainly be reamed otherwise.

Any further ideas, clarifications, or otherwise are welcomed.
_____________________
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
01-12-2007 07:36
Boy would that make land-swooping easier!