diff options
author | MW | 2007-06-27 15:03:54 +0000 |
---|---|---|
committer | MW | 2007-06-27 15:03:54 +0000 |
commit | 223550b7e4f9eb534728e7763642a2ba6154be96 (patch) | |
tree | cd6ebbefd3c06487f40c3c30b344d6c2fccb1df5 /OpenSim | |
parent | * Begun reimplementing scripting. (diff) | |
download | opensim-SC_OLD-223550b7e4f9eb534728e7763642a2ba6154be96.zip opensim-SC_OLD-223550b7e4f9eb534728e7763642a2ba6154be96.tar.gz opensim-SC_OLD-223550b7e4f9eb534728e7763642a2ba6154be96.tar.bz2 opensim-SC_OLD-223550b7e4f9eb534728e7763642a2ba6154be96.tar.xz |
Some very Preliminary work on .net remoting for interregion comms.
a few more classes for CAPS LLSD types.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Examples/SimpleApp/Program.cs | 7 | ||||
-rw-r--r-- | OpenSim/OpenSim.Region/Caps.cs | 1 | ||||
-rw-r--r-- | OpenSim/OpenSim.Region/Scenes/ScenePresence.cs | 5 | ||||
-rw-r--r-- | OpenSim/OpenSim.RegionServer/RegionApplicationBase.cs | 1 | ||||
-rw-r--r-- | OpenSim/OpenSim.RegionServer/UDPServer.cs | 1 | ||||
-rw-r--r-- | OpenSim/OpenSim/Application.cs | 1 | ||||
-rw-r--r-- | OpenSim/OpenSim/OpenSimMain.cs | 13 |
7 files changed, 6 insertions, 23 deletions
diff --git a/OpenSim/Examples/SimpleApp/Program.cs b/OpenSim/Examples/SimpleApp/Program.cs index 378a09c..e1465d1 100644 --- a/OpenSim/Examples/SimpleApp/Program.cs +++ b/OpenSim/Examples/SimpleApp/Program.cs | |||
@@ -8,7 +8,6 @@ using OpenSim.Framework.Types; | |||
8 | using OpenSim.Framework.Console; | 8 | using OpenSim.Framework.Console; |
9 | using OpenSim.Assets; | 9 | using OpenSim.Assets; |
10 | using libsecondlife; | 10 | using libsecondlife; |
11 | using OpenSim.UserServer; | ||
12 | using OpenSim.Servers; | 11 | using OpenSim.Servers; |
13 | using OpenSim.Framework; | 12 | using OpenSim.Framework; |
14 | using OpenSim.Caches; | 13 | using OpenSim.Caches; |
@@ -32,10 +31,10 @@ namespace SimpleApp | |||
32 | 31 | ||
33 | string simAddr = "127.0.0.1"; | 32 | string simAddr = "127.0.0.1"; |
34 | int simPort = 9000; | 33 | int simPort = 9000; |
35 | 34 | /* | |
36 | LoginServer loginServer = new LoginServer( simAddr, simPort, 0, 0, false ); | 35 | LoginServer loginServer = new LoginServer( simAddr, simPort, 0, 0, false ); |
37 | loginServer.Startup(); | 36 | loginServer.Startup(); |
38 | loginServer.SetSessionHandler( AddNewSessionHandler ); | 37 | loginServer.SetSessionHandler( AddNewSessionHandler );*/ |
39 | 38 | ||
40 | m_circuitManager = new AuthenticateSessionsBase(); | 39 | m_circuitManager = new AuthenticateSessionsBase(); |
41 | 40 | ||
@@ -64,7 +63,7 @@ namespace SimpleApp | |||
64 | // world.PhysicsScene = physicsScene; | 63 | // world.PhysicsScene = physicsScene; |
65 | // udpServer.LocalWorld = world; | 64 | // udpServer.LocalWorld = world; |
66 | 65 | ||
67 | httpServer.AddXmlRPCHandler( "login_to_simulator", loginServer.XmlRpcLoginMethod ); | 66 | // httpServer.AddXmlRPCHandler( "login_to_simulator", loginServer.XmlRpcLoginMethod ); |
68 | httpServer.Start(); | 67 | httpServer.Start(); |
69 | 68 | ||
70 | m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); | 69 | m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); |
diff --git a/OpenSim/OpenSim.Region/Caps.cs b/OpenSim/OpenSim.Region/Caps.cs index 27d4828..13a351d 100644 --- a/OpenSim/OpenSim.Region/Caps.cs +++ b/OpenSim/OpenSim.Region/Caps.cs | |||
@@ -17,7 +17,6 @@ namespace OpenSim.Region | |||
17 | 17 | ||
18 | public class Caps | 18 | public class Caps |
19 | { | 19 | { |
20 | |||
21 | private string httpListenerAddress; | 20 | private string httpListenerAddress; |
22 | private uint httpListenPort; | 21 | private uint httpListenPort; |
23 | private string capsObjectPath = "00001-"; | 22 | private string capsObjectPath = "00001-"; |
diff --git a/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs b/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs index ffec3e5..45d3fed 100644 --- a/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs +++ b/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs | |||
@@ -99,7 +99,7 @@ namespace OpenSim.Region.Scenes | |||
99 | 99 | ||
100 | m_regionInfo = reginfo; | 100 | m_regionInfo = reginfo; |
101 | m_regionHandle = reginfo.RegionHandle; | 101 | m_regionHandle = reginfo.RegionHandle; |
102 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "Avatar.cs - Loading details from grid (DUMMY)"); | 102 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Avatar.cs "); |
103 | ControllingClient = theClient; | 103 | ControllingClient = theClient; |
104 | this.firstname = ControllingClient.FirstName; | 104 | this.firstname = ControllingClient.FirstName; |
105 | this.lastname = ControllingClient.LastName; | 105 | this.lastname = ControllingClient.LastName; |
@@ -216,8 +216,7 @@ namespace OpenSim.Region.Scenes | |||
216 | /// </summary> | 216 | /// </summary> |
217 | /// <param name="pack"></param> | 217 | /// <param name="pack"></param> |
218 | public void HandleAgentUpdate(IClientAPI remoteClient, uint flags, LLQuaternion bodyRotation) | 218 | public void HandleAgentUpdate(IClientAPI remoteClient, uint flags, LLQuaternion bodyRotation) |
219 | { | 219 | { |
220 | |||
221 | if ((flags & (uint)MainAvatar.ControlFlags.AGENT_CONTROL_AT_POS) != 0) | 220 | if ((flags & (uint)MainAvatar.ControlFlags.AGENT_CONTROL_AT_POS) != 0) |
222 | { | 221 | { |
223 | Axiom.MathLib.Quaternion q = new Axiom.MathLib.Quaternion(bodyRotation.W, bodyRotation.X, bodyRotation.Y, bodyRotation.Z); | 222 | Axiom.MathLib.Quaternion q = new Axiom.MathLib.Quaternion(bodyRotation.W, bodyRotation.X, bodyRotation.Y, bodyRotation.Z); |
diff --git a/OpenSim/OpenSim.RegionServer/RegionApplicationBase.cs b/OpenSim/OpenSim.RegionServer/RegionApplicationBase.cs index fd16e93..68a140b 100644 --- a/OpenSim/OpenSim.RegionServer/RegionApplicationBase.cs +++ b/OpenSim/OpenSim.RegionServer/RegionApplicationBase.cs | |||
@@ -41,7 +41,6 @@ using OpenSim.Terrain; | |||
41 | using OpenSim.Framework.Interfaces; | 41 | using OpenSim.Framework.Interfaces; |
42 | using OpenSim.Framework.Types; | 42 | using OpenSim.Framework.Types; |
43 | using OpenSim.Framework; | 43 | using OpenSim.Framework; |
44 | using OpenSim.UserServer; | ||
45 | using OpenSim.Assets; | 44 | using OpenSim.Assets; |
46 | using OpenSim.Caches; | 45 | using OpenSim.Caches; |
47 | using OpenSim.Framework.Console; | 46 | using OpenSim.Framework.Console; |
diff --git a/OpenSim/OpenSim.RegionServer/UDPServer.cs b/OpenSim/OpenSim.RegionServer/UDPServer.cs index 002e664..f2a02d9 100644 --- a/OpenSim/OpenSim.RegionServer/UDPServer.cs +++ b/OpenSim/OpenSim.RegionServer/UDPServer.cs | |||
@@ -40,7 +40,6 @@ using libsecondlife.Packets; | |||
40 | using OpenSim.Terrain; | 40 | using OpenSim.Terrain; |
41 | using OpenSim.Framework.Interfaces; | 41 | using OpenSim.Framework.Interfaces; |
42 | using OpenSim.Framework.Types; | 42 | using OpenSim.Framework.Types; |
43 | using OpenSim.UserServer; | ||
44 | using OpenSim.Assets; | 43 | using OpenSim.Assets; |
45 | using OpenSim.Caches; | 44 | using OpenSim.Caches; |
46 | using OpenSim.Framework.Console; | 45 | using OpenSim.Framework.Console; |
diff --git a/OpenSim/OpenSim/Application.cs b/OpenSim/OpenSim/Application.cs index 7254560..40701b0 100644 --- a/OpenSim/OpenSim/Application.cs +++ b/OpenSim/OpenSim/Application.cs | |||
@@ -28,7 +28,6 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenSim.UserServer; | ||
32 | using OpenSim.Framework.Console; | 31 | using OpenSim.Framework.Console; |
33 | 32 | ||
34 | namespace OpenSim | 33 | namespace OpenSim |
diff --git a/OpenSim/OpenSim/OpenSimMain.cs b/OpenSim/OpenSim/OpenSimMain.cs index a6ad15d..7da2263 100644 --- a/OpenSim/OpenSim/OpenSimMain.cs +++ b/OpenSim/OpenSim/OpenSimMain.cs | |||
@@ -44,7 +44,6 @@ using OpenSim.Terrain; | |||
44 | using OpenSim.Framework.Interfaces; | 44 | using OpenSim.Framework.Interfaces; |
45 | using OpenSim.Framework.Types; | 45 | using OpenSim.Framework.Types; |
46 | using OpenSim.Framework; | 46 | using OpenSim.Framework; |
47 | using OpenSim.UserServer; | ||
48 | using OpenSim.Assets; | 47 | using OpenSim.Assets; |
49 | using OpenSim.Caches; | 48 | using OpenSim.Caches; |
50 | using OpenSim.Framework.Console; | 49 | using OpenSim.Framework.Console; |
@@ -129,21 +128,11 @@ namespace OpenSim | |||
129 | 128 | ||
130 | m_log.Verbose( "Main.cs:Startup() - Initialising HTTP server"); | 129 | m_log.Verbose( "Main.cs:Startup() - Initialising HTTP server"); |
131 | 130 | ||
132 | //Login server setup | 131 | |
133 | LoginServer loginServer = null; | ||
134 | LoginServer adminLoginServer = null; | ||
135 | 132 | ||
136 | if (m_sandbox) | 133 | if (m_sandbox) |
137 | { | 134 | { |
138 | httpServer.AddXmlRPCHandler("login_to_simulator", sandboxCommunications.UserServices.XmlRpcLoginMethod); | 135 | httpServer.AddXmlRPCHandler("login_to_simulator", sandboxCommunications.UserServices.XmlRpcLoginMethod); |
139 | |||
140 | /* | ||
141 | loginServer = new LoginServer(regionData[0].IPListenAddr, regionData[0].IPListenPort, regionData[0].RegionLocX, regionData[0].RegionLocY, false); | ||
142 | loginServer.Startup(); | ||
143 | loginServer.SetSessionHandler(sandboxCommunications.SandBoxServices.AddNewSession); | ||
144 | //sandbox mode with loginserver not using accounts | ||
145 | httpServer.AddXmlRPCHandler("login_to_simulator", loginServer.XmlRpcLoginMethod); | ||
146 | */ | ||
147 | } | 136 | } |
148 | 137 | ||
149 | //Start http server | 138 | //Start http server |