Put a scope un users. Should fix Unknown UserUMMAU43 unless the user IS unknown

This commit is contained in:
Melanie Thielker
2019-08-07 18:19:56 +01:00
parent ba680ceecb
commit c3e74d9e04
6 changed files with 29 additions and 3 deletions

6
OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs Normal file → Executable file
View File

@@ -331,6 +331,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
private readonly UUID m_sessionId;
private readonly UUID m_secureSessionId;
protected readonly UUID m_agentId;
protected readonly UUID m_scopeId;
private readonly uint m_circuitCode;
private readonly byte[] m_regionChannelVersion = Utils.EmptyBytes;
private readonly IGroupsModule m_GroupsModule;
@@ -419,6 +420,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
}
public UUID AgentId { get { return m_agentId; } }
public UUID ScopeId { get { return m_scopeId; } }
public ISceneAgent SceneAgent { get; set; }
public UUID ActiveGroupId { get { return m_activeGroupID; } set { m_activeGroupID = value; } }
public string ActiveGroupName { get { return m_activeGroupName; } set { m_activeGroupName = value; } }
@@ -552,6 +554,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
m_prioritizer = new Prioritizer(m_scene);
// Pick up agent scope which, for gods, can be different from the region scope
IUserAccountService userAccountService = m_scene.RequestModuleInterface<IUserAccountService>();
var myself = userAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, m_agentId);
RegisterLocalPacketHandlers();
string name = string.Format("AsyncInUDP-{0}",m_agentId.ToString());
m_asyncPacketProcess = new JobEngine(name, name, 10000);