From 198dea28add519a5cd14b47a01345cf4207b4ee3 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Wed, 2 Jan 2008 15:58:33 +0000 Subject: Full .dll-name in config option for ScriptEngine. Loading only scriptengine specified in config. ScriptServer will still not start! --- OpenSim/Region/Application/OpenSimMain.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 6eb292d..fdc3d79 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -173,7 +173,7 @@ namespace OpenSim config.Set("storage_connection_string", "URI=file:OpenSim.db,version=3"); config.Set("startup_console_commands_file", ""); config.Set("shutdown_console_commands_file", ""); - config.Set("script_engine", "DotNetEngine"); + config.Set("script_engine", "OpenSim.Region.ScriptEngine.DotNetEngine.dll"); config.Set("asset_database", "sqlite"); } @@ -246,7 +246,7 @@ namespace OpenSim m_startupCommandsFile = startupConfig.GetString("startup_console_commands_file", ""); m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", ""); - m_scriptEngine = startupConfig.GetString("script_engine", "DotNetEngine"); + m_scriptEngine = startupConfig.GetString("script_engine", "OpenSim.Region.ScriptEngine.DotNetEngine.dll"); m_assetStorage = startupConfig.GetString("asset_database", "sqlite"); @@ -374,7 +374,7 @@ namespace OpenSim m_moduleLoader.PickupModules(scene, "."); //m_moduleLoader.PickupModules(scene, "ScriptEngines"); - m_moduleLoader.LoadRegionModules(Path.Combine("ScriptEngines", "OpenSim.Region.ScriptEngine.DotNetEngine.dll"), scene); + m_moduleLoader.LoadRegionModules(Path.Combine("ScriptEngines", m_scriptEngine), scene); m_moduleLoader.InitialiseSharedModules(scene); -- cgit v1.1