Finding a Region's Coordinates?
|
Davan Camus
Registered User
Join date: 13 Sep 2005
Posts: 67
|
09-16-2005 16:13
Hello! This forum and the Wiki have been very useful and informative so far. I'm a week old today, happy birthday, me.
So:
Is there any way for a script to learn the global coordinates for a Region/sim by name?
(I'd like to program a flyer to take a destination like "/1 destination Lusk 22,22".)
I notice that Landmarks show the global distance and general direction to their targets, but the landmark is generated while in-Region, so it can get the current global location.
Thanks for any advice! --> dc
_____________________
Visit Cubes at Alice 100,18. -------------------------------------------------- Davan Camus, born: 2005 September 8 Out-world location: Santa Cruz, CA UI Proposal: http://davancamus.hexaflexagon.com/blog/?p=39
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
09-16-2005 16:16
There is no easy way to do this, although several products do have this type of feature (i.e. ROAM). You have to have a database of region names and coordinates located somewhere for this to work.
Sorry.
|
Davan Camus
Registered User
Join date: 13 Sep 2005
Posts: 67
|
When in ROAM
09-16-2005 16:32
d00d, can U help me scor3 some ROAM? Err, that is to say: Drat. I kinda suspected that might be the case. But is ROAM a script or service that already has this database? I was thinking one could write a satellite-mapper which moves purposefully at a high altitude and gathers the data, too. (Or just llSetPos's its way around, nice and quick, but less dramatically.  ) Actually, side-question: Do objects automatically time-out if their owners go away or are distant? Seems like a satellite-mapper object, if replicated, could pose a serious sim hazard. It'd be moving, too, so it would have a good chance of missing the landowner's timed-deletion actions... Edit: Ah, I gather from reading other forum posts that ROAM is a device you can buy or rent, and it uses llEmail to ask some database where things are, and bring you there... Who sells ROAM? 
_____________________
Visit Cubes at Alice 100,18. -------------------------------------------------- Davan Camus, born: 2005 September 8 Out-world location: Santa Cruz, CA UI Proposal: http://davancamus.hexaflexagon.com/blog/?p=39
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
09-16-2005 18:35
From: Keknehv Psaltery There is no easy way to do this, although several products do have this type of feature (i.e. ROAM). You have to have a database of region names and coordinates located somewhere for this to work. Sorry. You can "fake" it. llGetRegionCorner() llRequestSimulatorData() Simulator Names
|
Davan Camus
Registered User
Join date: 13 Sep 2005
Posts: 67
|
Yes!
09-16-2005 18:51
Oh! Perfect. Thank you so much.
_____________________
Visit Cubes at Alice 100,18. -------------------------------------------------- Davan Camus, born: 2005 September 8 Out-world location: Santa Cruz, CA UI Proposal: http://davancamus.hexaflexagon.com/blog/?p=39
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
09-17-2005 09:16
Ah, there you go. I forgot about that one  . But really, for the best performance, you need to know where the sim holes are. There was a script floating around that did this...
|
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
|
09-17-2005 12:40
If all the sim names and coordinates are available to the client, I can't see why they couldn't be available to ther script engine on the servers as well. 
_____________________
~ Tiger Crossing ~ (Nonsanity)
|
Upshaw Underhill
Techno-Hobbit
Join date: 13 Mar 2003
Posts: 293
|
09-17-2005 16:33
Hank Ramos: Hyperteleporter does exactly what you need... just have to pull the animation and debit permissions stuff out. Heck I think if you put a couple of vehicle parameters in the init you could sit on it instead of wearing it with only minor changes. L8r, UU Edit: as for 'timing out' only if they're over auto-delete parcels or no-script areas. see llScriptDanger for how to tell.
|
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
|
09-17-2005 16:44
From: Davan Camus Who sells ROAM?  Rathe Underthorn and Francis Chung are the creators. If you'd like, I can drop ya a copy with a 3-day trial so you can get a good feel fer it. Just IM me, Torley Torgeson! 
|
Davan Camus
Registered User
Join date: 13 Sep 2005
Posts: 67
|
Help me test something?
09-23-2005 00:00
Hi! It's very UN-exciting so far, but if anyone could try this out, and let me know if it works for you (I've only tried myself so far) that would be so useful! I'm working on a li'l autopilot kind of thing. Here's the test I've concocted: 1. Teleport to Warmouth 2. Climb up on the road near the south side of the station. 3. http://www.omino.com/~poly/sl_shuttle/ <-- use to summon the shuttle 4. Wait about a minute... The shuttle should hover down the road coming from the South East. 5. Hop on! It will take you to a plot in Cayuga, and then back to the station. Whole thing should take 5 minutes maybe. Any confirmation that this actually works would be greatly appreciated! And any report that it failed miserably will be appreciated too. And any other feedback, that, too, would be welcome. (...(a) it's just good QA practice, and ...(b), I'm having philosophical trouble believing that SL keeps going when I'm not there...  ) Thanks!
_____________________
Visit Cubes at Alice 100,18. -------------------------------------------------- Davan Camus, born: 2005 September 8 Out-world location: Santa Cruz, CA UI Proposal: http://davancamus.hexaflexagon.com/blog/?p=39
|