<div dir="ltr"><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px">The full name of an HG user is: FirstName.LastName @GridUri </span><br></div><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px">"GridUri" usually includes both the hostname and the port, e.g.: <a href="http://hg.example.com:8002">hg.example.com:8002</a>. This is what we usually see, including what's shown above the avatar's head in the viewer. </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px">However, in one place the port is removed: GatekeeperService.LoginAgent(): </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"> Uri uri = new Uri(aCircuit.ServiceURLs["HomeURI"].ToString()); </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"> aCircuit.lastname = "@" + uri.Host; // + ":" + uri.Port; </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px">This is the value that's returned by the script function llDetectedName(). </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px">This makes the name inconsistent with other places. As mentioned above, the name in the viewer includes the port. The function osKey2Name() also includes the port. This means that checking the avatar name in a script returns different values depending on which function was used: </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"> llDetectedName() = First.Last @<a href="http://hg.example.com">hg.example.com</a> </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"> osKey2Name() = First.Last @<a href="http://hg.example.com:8002">hg.example.com:8002</a> </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px">I would like to include the port in the name generated in GatekeeperService. Is there any reason not to do so? This particular code was commited in 2010, with this comment: "Thanks Marck for the patch to mantis #4941 (shortening avies' names on HG)".</span><br clear="all"><div><br></div><div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px">(Sorry if you're seeing this message twice; I had trouble posting it)</span></div></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.4399995803833px"><br></span></div>
</div>