Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scanning Parcel details in a sim

Violet Stuer
Registered User
Join date: 11 Dec 2006
Posts: 73
02-28-2008 08:05
I wrote a script which scans a whole sim from <0,0,0> to <255,255,0> in steps of 16*16 listing all the parcel names and other details. I start with the llGetRegionCorner and use llGetParcelDetails adding 16 at each step "saying" the result at each step. I always get the result of the <255,255,0> parcel for all steps. Very strange. Any hint? Many thanks, Violet
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
02-28-2008 08:10
You're not feeding in the result from llGetRegionCorner, are you?

The llGetParcelDetails call wants a region-local position.. IE, use 0,0,0 to get the details of the SW corner.

Also, to hit all the parcels, I think you want to increment by 4 on each step..
_____________________
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
Violet Stuer
Registered User
Join date: 11 Dec 2006
Posts: 73
02-28-2008 09:02
Yes, I did :-)
Somewhere it said absolute coordinates, now with relative it works. Many thanks, Violet
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
02-28-2008 09:10
:)
_____________________
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