|
Rock Ryder
Registered User
Join date: 6 Oct 2006
Posts: 384
|
08-22-2007 07:10
I have several sim scanners, my favourite being the MystiTool. However, one thing I find could be improved upon is the location data.
Whenever I see green dots on my sim I do a scan for avatars, and I get a list such as:
Rock Ryder: 32,46,27 Newbie Wanderer: 304,467,201
The problem is this: My Hoini sim is parcelled into a grid of 4x4 = 16 parcels, each of 4086sqm, and I have named these Hoini 01, Hoini 02 etc.
In order to find which SkyHome Newbie Wanderer might be looking at (or plundering), I have to get out my sim map (in Excel), look up the coordinates, and see that 220,167,601 is in Hoini 12, I then use my landmarks to tp to Hoini 12.
Is it possible to get something like:
Newbie Wanderer: 304,467,210 (Hoini 12)
Does anyone know of a scanner that produces parcel data as well as coordinates, or will I have to script one myself? Can it be done?
Rock
|
|
Mandy Carbenell
Recent Item
Join date: 27 Dec 2006
Posts: 847
|
08-22-2007 07:13
From: Rock Ryder I have several sim scanners, my favourite being the MystiTool. However, one thing I find could be improved upon is the location data. Whenever I see green dots on my sim I do a scan for avatars, and I get a list such as: Rock Ryder: 32,46,27 Newbie Wanderer: 304,467,201 The problem is this: My Hoini sim is parcelled into a grid of 4x4 = 16 parcels, each of 4086sqm, and I have named these Hoini 01, Hoini 02 etc. In order to find which SkyHome Newbie Wanderer might be looking at (or plundering), I have to get out my sim map (in Excel), look up the coordinates, and see that 220,167,601 is in Hoini 12, I then use my landmarks to tp to Hoini 12. Is it possible to get something like: Newbie Wanderer: 304,467,210 (Hoini 12) Does anyone know of a scanner that produces parcel data as well as coordinates, or will I have to script one myself? Can it be done? Rock I have a simscanner too but I think you'd have to do this one yourself. Haven't seen any scanners that include the data you want. Mandy C
_____________________
Never argue with an idiot, they drag you down to their level. 
|
|
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
|
08-22-2007 07:50
Place this script in an attachment and it should be able to convert the position vector into the parcel name and description for you. You will need to be on the same SIM as the parcel for it to work however. default { integer chanNum = 1; string command = "getname"; state_entry() { llOwnerSay("To find the name of a parcel of land use:"); llOwnerSay("/" + (string)chanNum + " " + command + " <x, y, z>"; llListen(chanNum, "", llGetOwner(), ""); } on_rez(integer start_param) { llResetScript(); } listen(integer channel, string name, key id, string message) { integer loc = llSubStringIndex(llToLower(message), command); if (loc > -1) { string whereString = llGetSubString(message, loc + llStringLength(message) + 1, -1); vector whereVector = (vector)whereString; list data = llGetParcelDetails(whereVector, [PARCEL_DETAILS_NAME, PARCEL_DETAILS_DESC]); llOwnerSay("Name: " + llList2String(data, 0)); llOwnerSay("Description: " + llList2String(data, 1));
} } }
|
|
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
|
08-22-2007 08:17
See also: http://wiki.secondlife.com/wiki/LlGetParcelDetails
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!! - Go here: http://jira.secondlife.com/browse/SVC-1224- If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left
|