diff options
author | mingchen | 2007-07-05 15:15:28 +0000 |
---|---|---|
committer | mingchen | 2007-07-05 15:15:28 +0000 |
commit | 583f2a9de8e503773a427facd5f81a82b40bd585 (patch) | |
tree | 35d434db32056e7d0b231f56f2732c031c130a1d /OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |
parent | * Tweaks to Java engine (uses less threads). Added support for OnFrame and On... (diff) | |
download | opensim-SC-583f2a9de8e503773a427facd5f81a82b40bd585.zip opensim-SC-583f2a9de8e503773a427facd5f81a82b40bd585.tar.gz opensim-SC-583f2a9de8e503773a427facd5f81a82b40bd585.tar.bz2 opensim-SC-583f2a9de8e503773a427facd5f81a82b40bd585.tar.xz |
*Removed SimProfile.cs as it is no longer needed (in favor of SimProfileData)
*Added simulator_data_request XMLRPC method to request data from the grid server about a sim instead of faking its login
*Login is progressing, now just getting an XML error (http://pastebin.com/942515) -- if you can fix this, throw MingChen in IRC a Private Message
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1GridServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 99e9c96..e8ed7f4 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -35,7 +35,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
35 | 35 | ||
36 | GridParams["authkey"] = serversInfo.GridSendKey; | 36 | GridParams["authkey"] = serversInfo.GridSendKey; |
37 | GridParams["UUID"] = regionInfo.SimUUID.ToStringHyphenated(); | 37 | GridParams["UUID"] = regionInfo.SimUUID.ToStringHyphenated(); |
38 | GridParams["sim_ip"] = regionInfo.InternalEndPoint.Address.ToString(); | 38 | GridParams["sim_ip"] = regionInfo.ExternalHostName; |
39 | GridParams["sim_port"] = regionInfo.InternalEndPoint.Port.ToString(); | 39 | GridParams["sim_port"] = regionInfo.InternalEndPoint.Port.ToString(); |
40 | GridParams["region_locx"] = regionInfo.RegionLocX.ToString(); | 40 | GridParams["region_locx"] = regionInfo.RegionLocX.ToString(); |
41 | GridParams["region_locy"] = regionInfo.RegionLocY.ToString(); | 41 | GridParams["region_locy"] = regionInfo.RegionLocY.ToString(); |
@@ -166,6 +166,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
166 | // Grid Request Processing | 166 | // Grid Request Processing |
167 | public XmlRpcResponse ExpectUser(XmlRpcRequest request) | 167 | public XmlRpcResponse ExpectUser(XmlRpcRequest request) |
168 | { | 168 | { |
169 | Console.WriteLine("Expecting User..."); | ||
169 | Hashtable requestData = (Hashtable)request.Params[0]; | 170 | Hashtable requestData = (Hashtable)request.Params[0]; |
170 | AgentCircuitData agentData = new AgentCircuitData(); | 171 | AgentCircuitData agentData = new AgentCircuitData(); |
171 | agentData.SessionID = new LLUUID((string)requestData["session_id"]); | 172 | agentData.SessionID = new LLUUID((string)requestData["session_id"]); |