aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/ScriptServer/ScriptServerMain.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/ScriptServer/ScriptServerMain.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Grid/ScriptServer/ScriptServerMain.cs b/OpenSim/Grid/ScriptServer/ScriptServerMain.cs
index f86aaba..de70347 100644
--- a/OpenSim/Grid/ScriptServer/ScriptServerMain.cs
+++ b/OpenSim/Grid/ScriptServer/ScriptServerMain.cs
@@ -27,6 +27,7 @@
27*/ 27*/
28 28
29using System.IO; 29using System.IO;
30using libsecondlife;
30using OpenSim.Framework; 31using OpenSim.Framework;
31using OpenSim.Framework.Console; 32using OpenSim.Framework.Console;
32using OpenSim.Grid.ScriptServer.ScriptServer; 33using OpenSim.Grid.ScriptServer.ScriptServer;
@@ -46,6 +47,7 @@ namespace OpenSim.Grid.ScriptServer
46 47
47 // TEMP 48 // TEMP
48 public static ScriptServerInterfaces.ScriptEngine Engine; 49 public static ScriptServerInterfaces.ScriptEngine Engine;
50 //public static FakeScene m_Scene = new FakeScene(null,null,null,null,null,null,null,null,null,false, false, false);
49 51
50 // Objects we use 52 // Objects we use
51 internal RegionCommManager RegionScriptDaemon; // Listen for incoming from region 53 internal RegionCommManager RegionScriptDaemon; // Listen for incoming from region
@@ -64,6 +66,8 @@ namespace OpenSim.Grid.ScriptServer
64 66
65 // Load DotNetEngine 67 // Load DotNetEngine
66 Engine = ScriptEngines.LoadEngine("DotNetEngine"); 68 Engine = ScriptEngines.LoadEngine("DotNetEngine");
69 Engine.InitializeEngine(null, m_log, false);
70
67 71
68 // Set up server 72 // Set up server
69 //m_RemotingServer = new RemotingServer(listenPort, "DotNetEngine"); 73 //m_RemotingServer = new RemotingServer(listenPort, "DotNetEngine");
@@ -85,6 +89,11 @@ namespace OpenSim.Grid.ScriptServer
85 m_log.Notice("SERVER", "Param " + i + ": " + p[i].ToString()); 89 m_log.Notice("SERVER", "Param " + i + ": " + p[i].ToString());
86 } 90 }
87 } 91 }
92
93 if (Command == "OnRezScript")
94 {
95 Engine.EventManager().OnRezScript((uint)p[0], new LLUUID((string)p[1]), (string)p[2]);
96 }
88 } 97 }
89 98
90 ~ScriptServerMain() 99 ~ScriptServerMain()