From f10d895105452d5713b963fb4ed20af9bf85df9e Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sun, 24 Feb 2008 17:01:20 +0000 Subject: Ok, so NOW scripts work. New patch to break them coming soon. --- OpenSim/Region/Application/OpenSimMain.cs | 6 +++--- OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs | 2 ++ OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 59f7c63..3fba35c 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -300,9 +300,9 @@ namespace OpenSim // Called from app startup (OpenSim.Application) // - m_log.Info("========================================================================"); - m_log.Info("=========================== STARTING OPENSIM ==========================="); - m_log.Info("========================================================================"); + m_log.Info("====================================================================="); + m_log.Info("========================= STARTING OPENSIM =========================="); + m_log.Info("====================================================================="); m_console = CreateConsole(); MainConsole.Instance = m_console; diff --git a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs index 80360ee..f112e58 100644 --- a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs @@ -40,11 +40,13 @@ namespace OpenSim.Region.ScriptEngine.Common : base(scriptEngine, host, localID, itemID) { Prim = new OSSLPrim(this); + } public OSSLPrim Prim; + [Serializable] public class OSSLPrim { private OSSL_BuilIn_Commands OSSL; diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index b0ddf37..e564b5d 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs @@ -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. - 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 CompiledScript.Start(LSLB); -- cgit v1.1