mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Put a scope un users. Should fix Unknown UserUMMAU43 unless the user IS unknown
This commit is contained in:
6
OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
Normal file → Executable file
6
OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
Normal file → Executable 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);
|
||||
|
||||
Reference in New Issue
Block a user