Ok, so NOW scripts work. New patch to break them coming soon.
parent
8af64c979f
commit
f10d895105
|
@ -300,9 +300,9 @@ namespace OpenSim
|
||||||
// Called from app startup (OpenSim.Application)
|
// Called from app startup (OpenSim.Application)
|
||||||
//
|
//
|
||||||
|
|
||||||
m_log.Info("========================================================================");
|
m_log.Info("=====================================================================");
|
||||||
m_log.Info("=========================== STARTING OPENSIM ===========================");
|
m_log.Info("========================= STARTING OPENSIM ==========================");
|
||||||
m_log.Info("========================================================================");
|
m_log.Info("=====================================================================");
|
||||||
|
|
||||||
m_console = CreateConsole();
|
m_console = CreateConsole();
|
||||||
MainConsole.Instance = m_console;
|
MainConsole.Instance = m_console;
|
||||||
|
|
|
@ -40,11 +40,13 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
: base(scriptEngine, host, localID, itemID)
|
: base(scriptEngine, host, localID, itemID)
|
||||||
{
|
{
|
||||||
Prim = new OSSLPrim(this);
|
Prim = new OSSLPrim(this);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public OSSLPrim Prim;
|
public OSSLPrim Prim;
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
public class OSSLPrim
|
public class OSSLPrim
|
||||||
{
|
{
|
||||||
private OSSL_BuilIn_Commands OSSL;
|
private OSSL_BuilIn_Commands OSSL;
|
||||||
|
|
|
@ -95,7 +95,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||||
// this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed.
|
// this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed.
|
||||||
|
|
||||||
|
|
||||||
BuilIn_Commands LSLB = (BuilIn_Commands)new OSSL_BuilIn_Commands(m_scriptEngine, m_host, localID, itemID);
|
BuilIn_Commands LSLB = new BuilIn_Commands(m_scriptEngine, m_host, localID, itemID);
|
||||||
|
|
||||||
// Start the script - giving it BuiltIns
|
// Start the script - giving it BuiltIns
|
||||||
CompiledScript.Start(LSLB);
|
CompiledScript.Start(LSLB);
|
||||||
|
|
Loading…
Reference in New Issue