Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Map of the Grid

Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
06-23-2004 05:39
Does anyone happen to have a list of the sims and their location on the grid? Any format would be fine. Or, maybe someone knows somewhere I could extract this info, for instance part of the web site I could scrape? If not, I'll just have to enter it by hand.

For a project I'm working on, I'll be making an XML file with info on the sims and their location on the grid (a map). I'll keep an updated copy of the XML file on the web so other people can use it. Maybe I'll post the C# classes representing the data here.

Regarding the coordinate system of the grid, my first thought was to put the original sim (anyone remember?) at 0, 0, since the wolrd expands outward. Or maybe using only positive coordinates would simplify screen graphics, in which case I could stick the current sims so far out that new sims would never expand below 0,0. Has anyone thought about this before?

Thanks for any info you can offer.
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
06-23-2004 06:04
Um, OK, I blame this on not having finished my coffee, but I just found the llGetRegionCorner documentation on the LSL Wiki, which clearly shows how to get a sim's location on the global grid. If anyone does happen to have a map of the grid they'd like to share, I'd be very grateful, but I assume I should be able to make one with a script. And presumably I'll just use the same origin as the Lindens, so that's not really relevant either.

I'll try to do my homework better before posting next time :)
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
06-23-2004 06:13
This is a wee bit outdated, does not include the newest batch of islands...

http://sl.sdfjkl.org/con/map.html
Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
06-23-2004 06:30
Thanks, Eggy. I guess I'm not surprised Ezhar has a map! But I'm going to need to access the sim locations from code, which the graphical map won't give me. Still it's an excellent reference, especially if I do just decide to enter them by hand. Faster than using the SL client map.

For my purposes I could just get a sim's location when my object is activated in it, leaving sims unmapped until I'm getting data from them anyway. It's just a little nicer and cooler to have the whole grid up front.
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
Hank Ramos
Lifetime Scripter
Join date: 15 Nov 2003
Posts: 2,328
06-23-2004 06:44
I have a notecard and associated scripts that I use in my Touring Balloon to translate sim *Names* to World Coordinates and *World Coordinates* (or any arbitrary point in world coordinates) to Sim Names.

I will post it into the forum later today.
_____________________
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
06-23-2004 07:15
I have one of these functions in the works, plan to make a giant sim map from just landmarks, have all the data, just need to write the script. I guess i have some time now (project of main interest is off the list of my projects as of yesterday *sigh*)
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Bino Arbuckle
Registered User
Join date: 31 Dec 2002
Posts: 369
06-23-2004 16:15
Hope this link works for all of you. If not, substitute slgrid.nfshost.com for the domain.

Still having issues with IE and CSS, bear with me.

http://www.slmaps.com/dategrid.php?css=grid.css&date=2004-06-23

Site is still in progress (wanted to have it done for the anniversary today).

Feel free to suggest any ideas for making the data available. It's currently stored in a MySQL db, I'll set up a text-only PHP page if it's desired.
Merwan Marker
Booring...
Join date: 28 Jan 2004
Posts: 4,706
06-23-2004 16:32
Bino haven't tested this extensively but it did take me directly to the sim i selected from the grid.

Very cool!
_____________________
Don't Worry, Be Happy - Meher Baba
Bino Arbuckle
Registered User
Join date: 31 Dec 2002
Posts: 369
06-23-2004 16:45
Yes Merwan it uses the standard secondlife:// links. Unfortunately there is a bug with multi-word sim names like Da Boom or Oak Grove or Game Dev X, where SL won't launch or will default to the most recent sim added.

And of course the ever present bug where it won't set the landmark in a currently running SL session, but try to make a second one and abort.

Thanks for the praise. Oh, also, if you replace the date with something else in the past, it will show the grid as of that date (or the day before, still ironing out some off-by-one issues in my scripts (PHP newb)).
Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
06-24-2004 05:12
That's quite cool, Bino. Generating an HTML table is a very efficient way to display the grid.
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
Bino Arbuckle
Registered User
Join date: 31 Dec 2002
Posts: 369
06-24-2004 23:55
Props to Ezhar Fairlight for coming up with it first, I'm taking the idea a bit further.

The hardest part is accomodating sims that have moved around :)