mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
Script loads into separate AppDomain without errors. Events and llFunctions not working yet.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user