diff options
author | Tedd Hansen | 2007-08-18 21:31:35 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-18 21:31:35 +0000 |
commit | 6faa8d8d68ba5468e3bbcc8c68db499b28c072a9 (patch) | |
tree | 480caa3f0ca1741fae3097f8f44902a82e1e9c40 /OpenSim/Region | |
parent | Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ f... (diff) | |
download | opensim-SC-6faa8d8d68ba5468e3bbcc8c68db499b28c072a9.zip opensim-SC-6faa8d8d68ba5468e3bbcc8c68db499b28c072a9.tar.gz opensim-SC-6faa8d8d68ba5468e3bbcc8c68db499b28c072a9.tar.bz2 opensim-SC-6faa8d8d68ba5468e3bbcc8c68db499b28c072a9.tar.xz |
Script loads into separate AppDomain without errors. Events and llFunctions not working yet.
Diffstat (limited to '')
3 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs index f41cd59..de61ab7 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | |||
@@ -233,7 +233,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
233 | "using System.Text;\r\n" + | 233 | "using System.Text;\r\n" + |
234 | "using OpenSim.Region.ScriptEngine.Common;\r\n" + | 234 | "using OpenSim.Region.ScriptEngine.Common;\r\n" + |
235 | "namespace SecondLife {\r\n"; | 235 | "namespace SecondLife {\r\n"; |
236 | Return += "[Serializable] public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass {\r\n"; | 236 | Return += "" + |
237 | //"[Serializable] " + | ||
238 | "public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass {\r\n"; | ||
237 | Return += @"public Script() { }"+"\r\n"; | 239 | Return += @"public Script() { }"+"\r\n"; |
238 | Return += Script; | 240 | Return += Script; |
239 | Return += "} }\r\n"; | 241 | Return += "} }\r\n"; |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index ff1676e..84fa9eb 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | |||
@@ -7,8 +7,7 @@ using System.Threading; | |||
7 | 7 | ||
8 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | 8 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL |
9 | { | 9 | { |
10 | [Serializable] | 10 | public class LSL_BaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface |
11 | public class LSL_BaseClass : LSL_BuiltIn_Commands_Interface | ||
12 | { | 11 | { |
13 | 12 | ||
14 | public LSL_BuiltIn_Commands_Interface m_LSL_Functions; | 13 | public LSL_BuiltIn_Commands_Interface m_LSL_Functions; |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs index 15de03b..297a45c 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | |||
@@ -14,7 +14,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
14 | /// <summary> | 14 | /// <summary> |
15 | /// Contains all LSL ll-functions. This class will be in Default AppDomain. | 15 | /// Contains all LSL ll-functions. This class will be in Default AppDomain. |
16 | /// </summary> | 16 | /// </summary> |
17 | public class LSL_BuiltIn_Commands: LSL_BuiltIn_Commands_Interface | 17 | public class LSL_BuiltIn_Commands: MarshalByRefObject, LSL_BuiltIn_Commands_Interface |
18 | { | 18 | { |
19 | private System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); | 19 | private System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); |
20 | private ScriptManager m_manager; | 20 | private ScriptManager m_manager; |