Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSimKey2Name? O.o

Jor3l Boa
Registered User
Join date: 25 May 2008
Posts: 4
06-02-2008 08:55
Hello, I noticed that SLBot when someone sends you an IM u recive the position in another SIM and a UUID (is not the same person key) there is any way of knowing the name of the region with this UUID?
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
06-02-2008 11:56
I don't know of any UUID for a sim, though they might have a unique domain name/IP address/URL. You can get the 2D coordinates of a region's upper left corner, but I think regions are primarily identified by name. I don't believe you can get the name of a sim at an arbitrary location, but you can get the location given the name using llRequestSimulatorData(). There are probably databases that aim at helping with the reverse lookup, but I'm not sure.

http://www.lslwiki.net/lslwiki/wakka.php?wakka=simulator
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
06-02-2008 12:00
I don't believe sims have a UUID, just a URL basically. If you go to help> abuot secondlife it says the address of where you are.

Such as sim7764.agni.lindenlab.com (8.10.148.3:13001) for the one I'm currently in. That's pretty specific, I think, so no need for a UUID, and I don't think the sims are considered assets as part of the asset servers..I could, of course, be wrong.
_____________________
Tutorials for Sculpties using Blender!
Http://www.youtube.com/user/BlenderSL
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
06-02-2008 12:05
You can look it up like this manually or with lsl maybe
http://world.secondlife.com/region/09e48274-17a0-4497-ad1d-ef94e1052ad0

As a client, you need to use RegionHandleRequest (http://wiki.secondlife.com/wiki/RegionHandleRequest)
and listen for RegionIDAndHandleReply (http://wiki.secondlife.com/wiki/RegionIDAndHandleReply)
at which point you could teleport using the handle, but I dunno what else
_____________________
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
06-02-2008 12:09
From: Day Oh

What'd I tell ya? Proven wrong within minutes.
_____________________
Tutorials for Sculpties using Blender!
Http://www.youtube.com/user/BlenderSL
Jor3l Boa
Registered User
Join date: 25 May 2008
Posts: 4
06-02-2008 12:15
so this key is for IMs? :P
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
06-02-2008 17:29
I keep saying it... whenever you think something ANYTHING doesnt have a UUID key, you're wrong. Everything that can be specified has a UUID Key
_____________________
My tutes
http://www.youtube.com/johanlaurasia
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
06-02-2008 17:32
From: Johan Laurasia
I keep saying it... whenever you think something ANYTHING doesnt have a UUID key, you're wrong. Everything that can be specified has a UUID Key

Oh shoosh your butt.

Does the grid have a UUID?

Does each and every particle? Does the sun? (OK that probably, almost surely does) Do the clouds? (Both old and new), does the clock in my UI? Does my left fingernail? How about my non-prim nipples?

Anywho... I'm just trying really hard to get past your truth :D
_____________________
Tutorials for Sculpties using Blender!
Http://www.youtube.com/user/BlenderSL