diff options
Diffstat (limited to 'OpenSim/Region/Communications')
-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..."); |