diff options
author | Adam Frisby | 2008-02-08 17:49:53 +0000 |
---|---|---|
committer | Adam Frisby | 2008-02-08 17:49:53 +0000 |
commit | a637473f80e6695326ec2d9d6050df37e0d74a2d (patch) | |
tree | 97293aabdc7e4e11dccbf78b31cf1e78a0d38bb4 /OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |
parent | change counter from 3 => 2 based on feedback from mirceakitsune on mantis (diff) | |
download | opensim-SC_OLD-a637473f80e6695326ec2d9d6050df37e0d74a2d.zip opensim-SC_OLD-a637473f80e6695326ec2d9d6050df37e0d74a2d.tar.gz opensim-SC_OLD-a637473f80e6695326ec2d9d6050df37e0d74a2d.tar.bz2 opensim-SC_OLD-a637473f80e6695326ec2d9d6050df37e0d74a2d.tar.xz |
* Adding console spam to help track 'The Steve Bug'.
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1GridServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index fb84466..29f5472 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -456,7 +456,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
456 | /// <returns></returns> | 456 | /// <returns></returns> |
457 | public XmlRpcResponse ExpectUser(XmlRpcRequest request) | 457 | public XmlRpcResponse ExpectUser(XmlRpcRequest request) |
458 | { | 458 | { |
459 | Console.WriteLine("Expecting User..."); | 459 | m_log.Debug("[CONNECTION DEBUGGING]: Expect User called, starting agent setup ... "); |
460 | Hashtable requestData = (Hashtable) request.Params[0]; | 460 | Hashtable requestData = (Hashtable) request.Params[0]; |
461 | AgentCircuitData agentData = new AgentCircuitData(); | 461 | AgentCircuitData agentData = new AgentCircuitData(); |
462 | agentData.SessionID = new LLUUID((string) requestData["session_id"]); | 462 | agentData.SessionID = new LLUUID((string) requestData["session_id"]); |
@@ -469,10 +469,12 @@ namespace OpenSim.Region.Communications.OGS1 | |||
469 | 469 | ||
470 | if (requestData.ContainsKey("child_agent") && requestData["child_agent"].Equals("1")) | 470 | if (requestData.ContainsKey("child_agent") && requestData["child_agent"].Equals("1")) |
471 | { | 471 | { |
472 | m_log.Debug("[CONNECTION DEBUGGING]: Child agent detected"); | ||
472 | agentData.child = true; | 473 | agentData.child = true; |
473 | } | 474 | } |
474 | else | 475 | else |
475 | { | 476 | { |
477 | m_log.Debug("[CONNECTION DEBUGGING]: Main agent detected"); | ||
476 | agentData.startpos = | 478 | agentData.startpos = |
477 | new LLVector3(Convert.ToUInt32(requestData["startpos_x"]), | 479 | new LLVector3(Convert.ToUInt32(requestData["startpos_x"]), |
478 | Convert.ToUInt32(requestData["startpos_y"]), | 480 | Convert.ToUInt32(requestData["startpos_y"]), |
@@ -482,6 +484,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
482 | 484 | ||
483 | ulong regionHandle = Convert.ToUInt64((string) requestData["regionhandle"]); | 485 | ulong regionHandle = Convert.ToUInt64((string) requestData["regionhandle"]); |
484 | 486 | ||
487 | m_log.Debug("[CONNECTION DEBUGGING]: Triggering welcome for " + agentData.AgentID.ToString() + " into " + regionHandle.ToString()); | ||
485 | m_localBackend.TriggerExpectUser(regionHandle, agentData); | 488 | m_localBackend.TriggerExpectUser(regionHandle, agentData); |
486 | 489 | ||
487 | m_log.Info("[GRID]: Welcoming new user..."); | 490 | m_log.Info("[GRID]: Welcoming new user..."); |