Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Avatar name to UUID

Snark Islander
Registered User
Join date: 1 Nov 2006
Posts: 1
10-12-2008 20:17
I need to determine an Avatar's UUID Key when all I have is their name. I want to do this programatically. I know I can lookup the UUID on the Find > All page through the viewer UI but I want to have a list of names and then be able to do a llRequestAgentData on them. TY
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
10-12-2008 20:53
http://w-hat.com/name2key
Cypher Ragu
[Mad Scientist]
Join date: 6 Jul 2008
Posts: 174
10-12-2008 20:53
Well this may or may not be possible, depending on your circumstances. If, say, the avatar has touched the object, you could use llDetectedKey(0). If the avatar is not touching the object but is nearby, you could use a sensor that searches for any agent with that name. Otherwise, I'm not sure if this is possible.
_____________________
Life is a highway... And I just missed my exit.
Ron Khondji
Entirely unlike.
Join date: 6 Jan 2007
Posts: 224
w-hat.com
10-12-2008 22:13
Use llHTTPRequest to get the key from w-hat.com.

Like so:
key Key = llHTTPRequest("http://w-hat.com/name2key?terse=1&name=" + llEscapeURL(Avatar Name), [], "";);

Then the 'body' in the
'http_response(key id, integer status, list metadata, string body)'
event is the key.

The avatar name has to be in the database at w-hat.com for this to function. Otherwise you get a 'NULL_KEY'.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
10-13-2008 15:40
w-hat is great, but might be overkill.... all depends on how you're getting the avatars name.... if you're using some kind of detection, then it simpler and more reliable to used detectedkey functions, instead of detectedname... if however you're relying on user input, for instance, names listed in a notecard, then w-hat is likely your best bet

I haven't tested methods of using search again recently, but if they get cleaned up, w-hat could be obsolete... last time I checked though certain people were blackholed as far as search, with no logical reasoning, even though I could directly access their profile page if I already had their key...

too lazy to work on it ATM
_____________________
|
| . "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...
| -
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
10-13-2008 15:45
Haven't figured out how this will be usefull in more ways then one but http://search.secondlife.com/search.php
is up and running now. Enter an avatar name and thier key is in thier profile link.
Plus you can see part of thier profile, including picture w/o needing their key first.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
10-13-2008 16:45
There are also supposedly bots setup that can do the work for you through libSL or a custom viewer implementation. I can't remember the name of the resident account, and I'm not sure if you have to do it through avatar IM or if it has some kind of response setup through a script so it can answer objects also. Might be worth a search or two. I'm pretty sure the info was posted in this forum somewhere. Who knows the reliability of the bot's login and its general stability, but it should be 100% accurate for any non-suspended account, rather than relying on key harvesters sprinkled around the grid.
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
11-20-2008 17:47
There is a service here:
http://www.alpha-fox.com/name2key/

which seems to produce *way* more results than w-hat.com does.

Not sure how long it has been around, or if it will be as long-lived as w-hat.com has been....
_____________________
Thread attempting to compile a list of which animations are freebies, and which are not:

http://forums.secondlife.com/showthread.php?t=265609
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
01-21-2009 19:38
This website, http://www.alpha-fox.com/name2key, has a manual search, and includes a statement that you can use this url:

http://name2key.alpha-fox.com/?name=[NAME HERE]

in an llHttpRequest .
_____________________
-

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

-