From Second Life Wiki
Jump to: navigation, search

Is this function reporting properly? Specifically, I seem to get more "2"s than I should. My status is on file and use and it returns a 2 for me. Yet, I do see threes returned for some people. In fact, I see 0 (No info), 2 (No Info but Used(Weird)) and 3 (Info and used), but never 1 (Info filed). Were the bits repurposed and the docs not updated? --Clang Bailey 16:34, 29 January 2008 (PST)

It is possible to remove the payment information from the file after it has been used. -- Strife Onizuka 20:24, 29 January 2008 (PST)

taking a byte out of the integer

The integer parameter, seems to actually be just the first 8 bits of the the 32bits signed integer, add or subtract 256 (or any power of 256) from any of the constants and the result should be the same, even when going to negative values. --TigroSpottystripes Katsu 13:00, 12 September 2009 (UTC)

This doesn't surprise me. The underlying dataserver Message I'd bet uses a single byte. The number of frames supported by texture animations are similarly limited. I'll work this into the documentation later (caveat? notes?... notes definately). -- Strife (talk|contribs) 22:22, 12 September 2009 (UTC)

Displaying Avatar Name information?

I'm not sure what the 3rd caveat intended. It just puts a clickable link in chat to open the avatar's profile. It's not useful to a script that wants to access the name. Omei Qunhua 07:16, 12 January 2013 (PST)

True, not useful for a script but might be useful for a human who just wants to a quick Key2Name... but then why not just type that string? Hmmm. Lets move that to notes or something. -- Strife (talk|contribs) 21:18, 12 January 2013 (PST)

What happens with an invalid key?

In my limited experiments, dataserver() never gets called at all. Which seems sort of suboptimal! In that you can't tell "key was wrong" from "it's taking a really long time to fill the request". Is that correct? Should it be documented here? (Or is it and I just overlooked it?)

It would seem more useful to call dataserver back with "" or something, but at this point that would probably be a breaking change...

Dale Innis 10:55, 4 October 2014 (PDT)

document yes.
A better thing to do would be a new event.
dataserver_error(key id, integer error, list details)
wouldn't be a breaking change. Everybody wins. -- Strife (talk|contribs) 12:56, 4 October 2014 (PDT)