Alondria LeFay wrote:
In the OnInstantMessage() event in Avatar.cs is the line:
AgentName =
System.Text.Encoding.UTF8.GetString((byte[])field.Data).Replace("\0", "");
Which then passes on the string to the event handler. It shows up blank in
the event handler (although message comes through correct). I tried
replacing that line with the code below, and still it does not seem to
capture the AV name.
The line there is fine, does the same thing. If you can, debug the app
and set a breakpoint on that line. Do a quick watch of
(byte[])field.Data and see if it contains the avatar name (in byte array
form). If not there may be a bug that needs investigating.
John
_______________________________________________
libsecondlife-dev mailing list
libsecondlife-dev@gna.org
https://mail.gna.org/listinfo/libsecondlife-dev