Difference between revisions of "Category:LSL Avatar"

From Second Life Wiki
Jump to navigation Jump to search
m
(There is a block of 9 Linden UUIDs that weren't randomly generated. So strictly speaking it's not a v4)
Line 3: Line 3:
Agent and [[Avatar]] are both terms referring to a user interacting with Second Life. The term Agent is usually used when that user is interacting with an [[:Category:LSL Script|LSL script]].
Agent and [[Avatar]] are both terms referring to a user interacting with Second Life. The term Agent is usually used when that user is interacting with an [[:Category:LSL Script|LSL script]].


Avatars have reference [[Key|keys]] of type [http://en.wikipedia.org/wiki/UUID#Version_4_.28random.29 UUID-4] as defined in {{RFC|4122|target=section-4.1.3}}:
All avatars appear to have reference [[Key|keys]] of type [http://en.wikipedia.org/wiki/UUID#Version_4_.28random.29 UUID-4] as defined in {{RFC|4122|target=section-4.1.3}}:


<lsl>
<lsl>
    key avatar_uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";
key avatar_uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";


//  where:
//  where:
Line 13: Line 13:
//      y is [8-9a-b]
//      y is [8-9a-b]
</lsl>
</lsl>
There are a few avatar UUIDs that aren't strictly v4, not because they don't fit the pattern above, but because they weren't randomly generated (which is a requirement for v4). They were assigned to some of the original Linden Lab employees: Doug, Cory, Philip, Jed, Eric, Andrew, Hunter, Ian, James (the list was likely longer but their names and UUIDs have been lost to the sands of time).

Revision as of 23:09, 15 January 2014

Agent and Avatar are both terms referring to a user interacting with Second Life. The term Agent is usually used when that user is interacting with an LSL script.

All avatars appear to have reference keys of type UUID-4 as defined in RFC-4122:

<lsl> key avatar_uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";

// where: // 4 is 4 // x is [0-9a-f] // y is [8-9a-b] </lsl>

There are a few avatar UUIDs that aren't strictly v4, not because they don't fit the pattern above, but because they weren't randomly generated (which is a requirement for v4). They were assigned to some of the original Linden Lab employees: Doug, Cory, Philip, Jed, Eric, Andrew, Hunter, Ian, James (the list was likely longer but their names and UUIDs have been lost to the sands of time).