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 | |
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')
3 files changed, 7 insertions, 6 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"]); |
diff --git a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj index d6abd13..390326e 100644 --- a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj +++ b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj | |||
@@ -116,16 +116,16 @@ | |||
116 | </ProjectReference> | 116 | </ProjectReference> |
117 | </ItemGroup> | 117 | </ItemGroup> |
118 | <ItemGroup> | 118 | <ItemGroup> |
119 | <Compile Include="CommunicationsOGS1.cs"> | 119 | <Compile Include="OGS1UserServices.cs"> |
120 | <SubType>Code</SubType> | 120 | <SubType>Code</SubType> |
121 | </Compile> | 121 | </Compile> |
122 | <Compile Include="OGS1GridServices.cs"> | 122 | <Compile Include="CommunicationsOGS1.cs"> |
123 | <SubType>Code</SubType> | 123 | <SubType>Code</SubType> |
124 | </Compile> | 124 | </Compile> |
125 | <Compile Include="OGS1InterSimComms.cs"> | 125 | <Compile Include="OGS1InterSimComms.cs"> |
126 | <SubType>Code</SubType> | 126 | <SubType>Code</SubType> |
127 | </Compile> | 127 | </Compile> |
128 | <Compile Include="OGS1UserServices.cs"> | 128 | <Compile Include="OGS1GridServices.cs"> |
129 | <SubType>Code</SubType> | 129 | <SubType>Code</SubType> |
130 | </Compile> | 130 | </Compile> |
131 | <Compile Include="Properties\AssemblyInfo.cs"> | 131 | <Compile Include="Properties\AssemblyInfo.cs"> |
diff --git a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build index 04d61b9..06f0b9e 100644 --- a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build +++ b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build | |||
@@ -11,10 +11,10 @@ | |||
11 | <resources prefix="OpenSim.Region.Communications.OGS1" dynamicprefix="true" > | 11 | <resources prefix="OpenSim.Region.Communications.OGS1" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="OGS1UserServices.cs" /> | ||
14 | <include name="CommunicationsOGS1.cs" /> | 15 | <include name="CommunicationsOGS1.cs" /> |
15 | <include name="OGS1GridServices.cs" /> | ||
16 | <include name="OGS1InterSimComms.cs" /> | 16 | <include name="OGS1InterSimComms.cs" /> |
17 | <include name="OGS1UserServices.cs" /> | 17 | <include name="OGS1GridServices.cs" /> |
18 | <include name="Properties/AssemblyInfo.cs" /> | 18 | <include name="Properties/AssemblyInfo.cs" /> |
19 | </sources> | 19 | </sources> |
20 | <references basedir="${project::get-base-directory()}"> | 20 | <references basedir="${project::get-base-directory()}"> |