Talk:Display Names/LSL

From Second Life Wiki
Jump to navigation Jump to search

I have a Name2Key database to deliver gifts and to link registred users on my website to their SL account. The Name2Key Database does a namesearch lookup with a bot, if the name could not be found in the database. Will the namesearch lookup find the display names or the real names ? And whats when there are multiple people are using the same display name ?

With bots we are talking more viewer code than scripting. It will depend on how your bot works and how it does its searches. I would not be surprised if it required some updating to find the correct resident. - Kelly Linden 15:31, 19 August 2010 (UTC)

The "N" and the "n" used for name in functions

Hi Kelly,

considering function names llGetDisplayName and llGetUsername (same for lRequestxxxx) you'll see a difference for Name and name ; is it a mistake when you have written this article or the real names of the functions?

If they are the real function names, that will generate compile errors surely because we are humans :))

Yours truly

Garmin

Garmin Kawaguichi 10:39, 20 August 2010 (UTC)

That is because it's a username (one word) and a display name (two words), I think. A similar difference is in the llSensor constants: AGENT_BY_DISPLAY_NAME and AGENT_BY_USERNAME. Getting compile errors due to typos I already get a lot, I expect some more with these yeah :p DarthBunny Petrov 14:12, 20 August 2010 (UTC)
The english language subtlety, I understand that! Merci Garmin Kawaguichi 21:07, 20 August 2010 (UTC)
This is correct. "username" is one word, and "display name" is two. Kelly Linden 23:12, 20 August 2010 (UTC)

The dataserver functions

I'm curious about why the dataserver requests to get the username and display name weren't added to llRequestAgentData (with for example new constants DATA_USERNAME and DATA_DISPLAY_NAME). Is it easier to add new functions? Or do separate functions just make more sense from a language design point of view or something? DarthBunny Petrov 14:12, 20 August 2010 (UTC)

This is something we have not been uniform on in the past. Simple single action functions are a bit easier both to use and for us to implement, so we kind of prefer them. There is no really strong reason that I am aware of right now that we chose this way this time though. - Kelly Linden 23:14, 20 August 2010 (UTC)
It pairs a llGet* function with an llRequest* function; it's the new uniformity. Don't have to remember you need to use llRequestAgentData and the DATA_* flag that goes with it. A small part of me morns the lack of DATA_* flags. I wish llRequestInventoryData would work for more then just landmarks... -- Strife (talk|contribs) 20:12, 23 September 2010 (UTC)

So what about the Custom Name Program?

http://wiki.secondlife.com/wiki/Custom_Name_Program

Will this still be available? (not that it was really "available" before, our request a while ago was rejected on the grounds that we had no RL presence for our SL business, so we didn't count)

I do not know the plans for the custom name program, and it does not relate to the LSL FAQ which this page is for. I'd try either the main FAQ or the Blog post. - Kelly Linden 05:13, 26 August 2010 (UTC)

llDetectedType

Talk:llDetectedType