From 434afaf717eef01f26b6b95ba8b4ae50fc470a4c Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 18 Nov 2008 00:47:30 +0000 Subject: * Added and removed debug information relating to client connections * Minor client fixes * Added the ability for a client to login without a UserProfile, allowing certain alternate clients to connect to the region. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 3 ++- OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index b9bc888..3265817 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -775,7 +775,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP // Don't let a failure in an individual client thread crash the whole sim. m_log.ErrorFormat( - "[CLIENT]: Client thread for {0} {1} crashed. Logging them out. Exception {2}", Name, AgentId, e); + "[CLIENT]: Client thread for {0} {1} crashed. Logging them out.", Name, AgentId); + m_log.Error(e.ToString()); try { diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index b6aa961..01f2a09 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs @@ -89,6 +89,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP { m_localScene = value; m_packetServer.LocalScene = m_localScene; + m_location = new Location(m_localScene.RegionInfo.RegionHandle); } } @@ -404,6 +405,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP /// protected virtual void AddNewClient(UseCircuitCodePacket useCircuit, EndPoint epSender, EndPoint epProxy) { + m_log.Debug("[CONNECTION DEBUGGING] AddNewClient Called"); + //Slave regions don't accept new clients if (m_localScene.Region_Status != RegionStatus.SlaveScene) { -- cgit v1.1