From 915b8962a37b2dd0e5e75540862f5347c820b2dc Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 17 May 2007 14:37:57 +0000 Subject: Hopefully everything is working again --- OpenSim.RegionServer/AuthenticateSessionsBase.cs | 10 ++++++++++ OpenSim.RegionServer/SimClient.cs | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'OpenSim.RegionServer') diff --git a/OpenSim.RegionServer/AuthenticateSessionsBase.cs b/OpenSim.RegionServer/AuthenticateSessionsBase.cs index 1ff5a84..cf6a055 100644 --- a/OpenSim.RegionServer/AuthenticateSessionsBase.cs +++ b/OpenSim.RegionServer/AuthenticateSessionsBase.cs @@ -73,5 +73,15 @@ namespace OpenSim } return vec; } + + public void UpdateAgentData(AgentCircuitData agentData) + { + if (this.AgentCircuits.ContainsKey((uint)agentData.circuitcode)) + { + this.AgentCircuits[(uint)agentData.circuitcode].firstname = agentData.firstname; + this.AgentCircuits[(uint)agentData.circuitcode].lastname = agentData.lastname; + this.AgentCircuits[(uint)agentData.circuitcode].startpos = agentData.startpos; + } + } } } diff --git a/OpenSim.RegionServer/SimClient.cs b/OpenSim.RegionServer/SimClient.cs index ab20846..daaa6dd 100644 --- a/OpenSim.RegionServer/SimClient.cs +++ b/OpenSim.RegionServer/SimClient.cs @@ -116,15 +116,15 @@ namespace OpenSim cirpack = initialcirpack; userEP = remoteEP; - //currently not working due to changes in progress to the authenticating system. - /* if (m_gridServer.GetName() == "Remote") + if (m_gridServer.GetName() == "Remote") { this.startpos = m_authenticateSessionsHandler.GetPosition(initialcirpack.CircuitCode.Code); } else - {*/ + { this.startpos = new LLVector3(128, 128, m_world.Terrain[(int)128, (int)128] + 15.0f); // new LLVector3(128.0f, 128.0f, 60f); - // } + } + PacketQueue = new BlockingQueue(); this.UploadAssets = new AgentAssetUpload(this, m_assetCache, m_inventoryCache); -- cgit v1.1