Inconsistent name mapping for avatars of the form Name Resident

Issue #125 new
Chorazin Allen created an issue

Avatar A is under @shownames Avatar B has a name of the form Name Resident and no display name set

When avatar B speaks or emotes they are currently "That person"

However, a hovertip over avatar B gives "An unknown person"

Likewise, using this script:-

default { state_entry() { llSay(0, "Hello, Avatar!"); }

touch_start(integer total_number) { llSay(0, "I was touched by "+(string)llDetectedName(0)); } }

The output when touched by avatar B is "I was touched by An unknown person Resident"

Main bug: name mapping should be consistent (I rather suspect it's because some calls into the name mapping have the Resident suffix included and some don't)

Secondary bug: in the script chat output the "Resident" word should have been substituted as well as the avatar first name. However, scripts often try to be smart and mimic chat floater behaviour so the code should test for 'Resident' before swallowing that word.

Comments (1)

  1. Log in to comment