Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

A function to detect Mainland vs Estate land?

Zolen Giano
Free the Shmeats!
Join date: 31 Dec 2007
Posts: 146
07-18-2008 22:38
I'm looking for a LSL function or solution that can detect if the object is on mainland or estate land.

The best I can find is the DATA_SIM_POS variable of llRequestSimulatorData.

This might work if I knew what locations mainland ends and where estate land starts.

I'm working on my landtracker land sale sign system that tracks your land for sale on the website landtracker.co.cc . Having the listings show if its mainland or estate land for sale would be a great addition to the listings.

I guess I could have a bot log in, download all mainland sims into a mysql database that the website checks...but a simpler LSL function would be nicer.

Can you msg me in world if you have a solution for this? Thanks in advance!

zg
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
07-18-2008 23:04
I don't think you can do it with LSL.. :(

Maybe a JIRA suggestion to add something to llRequestSimulatorData that returns the estate manager key or something would be a good idea.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
07-19-2008 11:19
I don't think there's even a way to get the identity of the estate owner or managers OUTSIDE of LSL. I can only imagine that this is a purposeful privacy feature on LL's part, though the why of it has me baffled.
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
07-19-2008 13:26
You can get the uuid of the estate owner thru a bot but I don't know how hard it is to then translate that into a name.

The mainland's one big estate - once you get the uuid of the estate owner of one mainland region, you can then tell if any region is mainland. I guess there could be holes in this thinking for stuff like the estate services or SL5B-type regions. Dunno if they have a different owners than the mainland.
Zolen Giano
Free the Shmeats!
Join date: 31 Dec 2007
Posts: 146
07-19-2008 13:46
Well, thanks to the ppl that responded. There is some interesting stuff on the LSL wiki about global positions: http://lslwiki.net/lslwiki/wakka.php?wakka=GlobalCoordinate

I'm sure this can be used to tell if something is on mainland or not.

All I would need is to know where mainland actually ends and estate land begins...I guess..no?
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
07-19-2008 15:28
Some private islands are pretty close to the mainland. That might be tricky, Zolen...