* 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.
This commit is contained in:
Adam Frisby
2008-11-18 00:47:30 +00:00
parent 6fd8960064
commit 434afaf717
6 changed files with 13 additions and 6 deletions

View File

@@ -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
{

View File

@@ -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
/// <param name="epProxy"></param>
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)
{