mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
To further help with tracking down the apperance of too much "Unknown User" in chatlogs, etc. temporarily change each instance of this in OpenSimulator so we can identify where it's coming from
For instance, the "Unknown User" in Util.ParseUniversalUserIdenitifer becaomes "Unknown UserUPUUI (class initials + method initials) This is to help with http://opensimulator.org/mantis/view.php?id=6625
This commit is contained in:
@@ -371,7 +371,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
foreach (string fid in outstanding)
|
||||
{
|
||||
UUID fromAgentID;
|
||||
string firstname = "Unknown", lastname = "User";
|
||||
string firstname = "Unknown", lastname = "UserFMSFOIN";
|
||||
if (!GetAgentInfo(client.Scene.RegionInfo.ScopeID, fid, out fromAgentID, out firstname, out lastname))
|
||||
{
|
||||
m_log.DebugFormat("[FRIENDS MODULE]: skipping malformed friend {0}", fid);
|
||||
@@ -397,7 +397,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
|
||||
protected virtual bool GetAgentInfo(UUID scopeID, string fid, out UUID agentID, out string first, out string last)
|
||||
{
|
||||
first = "Unknown"; last = "User";
|
||||
first = "Unknown"; last = "UserFMGAI";
|
||||
if (!UUID.TryParse(fid, out agentID))
|
||||
return false;
|
||||
|
||||
|
||||
@@ -293,7 +293,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
|
||||
protected override bool GetAgentInfo(UUID scopeID, string fid, out UUID agentID, out string first, out string last)
|
||||
{
|
||||
first = "Unknown"; last = "User";
|
||||
first = "Unknown"; last = "UserHGGAI";
|
||||
if (base.GetAgentInfo(scopeID, fid, out agentID, out first, out last))
|
||||
return true;
|
||||
|
||||
|
||||
@@ -320,7 +320,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||
else
|
||||
{
|
||||
names[0] = "Unknown";
|
||||
names[1] = "User";
|
||||
names[1] = "UserUMMTGUN";
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -536,7 +536,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||
else
|
||||
{
|
||||
user.FirstName = "Unknown";
|
||||
user.LastName = "User";
|
||||
user.LastName = "UserUMMAU";
|
||||
}
|
||||
|
||||
AddUserInternal (user);
|
||||
|
||||
Reference in New Issue
Block a user