Ok, so NOW scripts work. New patch to break them coming soon.

0.6.0-stable
Tedd Hansen 2008-02-24 17:01:20 +00:00
parent 8af64c979f
commit f10d895105
3 changed files with 6 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);