Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Finding an Avatar's UUID

Elmo Clarity
Registered User
Join date: 30 Nov 2008
Posts: 1
01-23-2010 05:10
How do you find an avatar's uuid given just the name? I know it must be possible as the gift option with vendors would have to do something like this. I know I am probably over looking something obvious. I haven't had any luck with searching the forums though.

I need to be able to do this from inside a LSL script.
Twisted Pharaoh
if ("hello") {"hey hey";}
Join date: 24 Mar 2007
Posts: 315
01-23-2010 05:17
There are several ways.

If you have Emerald you just need to check the profile of the avatar, it is displayed near the top. If you have the official client you need to open a chat session (don't need to talk just open it) and you will see the uuid in the debug console.

Other methods use external databases, some listed here:

http://lslwiki.net/lslwiki/wakka.php?wakka=llKey2Name

if the avatar is around you can just get the key with the llDetectedKey() call.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-23-2010 08:57
the two most common scripted solutions, are http request to the w-hat.com database, or via search manipulation (there's examples of both in the script library on LSL Portal)

inworld it's as simple as open the search all page, typing in the av's name, and selection people from the drop down menu... the top two links should be they inworld profile box, and a web version of the same... the web version has their key in the page address at the bottom of the page.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Schmobag Hogfather
Registered User
Join date: 6 Jun 2008
Posts: 1
01-23-2010 20:34
Coincidentally, I created a name2key service like this just today because I was unsatisfied with the existing ones out there. It runs on Google App Engine and uses a combination of search scraping and local storage to make results as accurate and fast as possible. Details at http://schmo.gridshout.com/posts/2010/jan/23/one-name2key-service-rule-them-all/ .
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
01-23-2010 21:37
There's a jira issue on this topic:
llRequestAgentKey (llName2Key)
http://jira.secondlife.com/browse/SVC-215

More votes couldn't hurt. I just voted for it.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Twisted Pharaoh
if ("hello") {"hey hey";}
Join date: 24 Mar 2007
Posts: 315
01-23-2010 22:36
You can do it without database with some web magic using this:

http://search.secondlife.com/web/search/people/?q=FirstName+LastName

Now it might not give a result if the show in search box is unchecked, which is perfectly acceptable to me.