Script loads into separate AppDomain without errors. Events and llFunctions not working yet.
parent
f444fe4f87
commit
6faa8d8d68
|
@ -233,7 +233,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
|
|||
"using System.Text;\r\n" +
|
||||
"using OpenSim.Region.ScriptEngine.Common;\r\n" +
|
||||
"namespace SecondLife {\r\n";
|
||||
Return += "[Serializable] public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass {\r\n";
|
||||
Return += "" +
|
||||
//"[Serializable] " +
|
||||
"public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass {\r\n";
|
||||
Return += @"public Script() { }"+"\r\n";
|
||||
Return += Script;
|
||||
Return += "} }\r\n";
|
||||
|
|
|
@ -7,8 +7,7 @@ using System.Threading;
|
|||
|
||||
namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
|
||||
{
|
||||
[Serializable]
|
||||
public class LSL_BaseClass : LSL_BuiltIn_Commands_Interface
|
||||
public class LSL_BaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface
|
||||
{
|
||||
|
||||
public LSL_BuiltIn_Commands_Interface m_LSL_Functions;
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
|
|||
/// <summary>
|
||||
/// Contains all LSL ll-functions. This class will be in Default AppDomain.
|
||||
/// </summary>
|
||||
public class LSL_BuiltIn_Commands: LSL_BuiltIn_Commands_Interface
|
||||
public class LSL_BuiltIn_Commands: MarshalByRefObject, LSL_BuiltIn_Commands_Interface
|
||||
{
|
||||
private System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding();
|
||||
private ScriptManager m_manager;
|
||||
|
|
Loading…
Reference in New Issue