From d85774c101f5509672fc8d791fa3c923fc2071c9 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 12 Jul 2008 01:34:36 +0000 Subject: Patch #9142 (No mantis) Add a config option to OpenSim.ini to select between script compilers in the XEngine without recompile. Set UseNewCompiler=true in OpenSim.ini and try it out. Creates the ICodeConverter interface and adapts the new compiler to it. --- bin/OpenSim.ini.example | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index c24d030..491e7dd 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -111,10 +111,13 @@ physical_prim = true ;script_engine = OpenSim.Region.ScriptEngine.DotNetEngine.dll,OpenSim.Region.ScriptEngine.RemoteServer.dll ; ; This is the current and most stable ScriptEngine: -script_engine = OpenSim.Region.ScriptEngine.DotNetEngine.dll +script_engine = "OpenSim.Region.ScriptEngine.DotNetEngine.dll" + +; This is the new XEngine (experimental) +;script_engine = "OpenSim.Region.ScriptEngine.XEngine.dll" ;Experimental remote ScriptServer plugin (does not currently work): -;script_engine = OpenSim.Region.ScriptEngine.RemoteServer.dll +;script_engine = "OpenSim.Region.ScriptEngine.RemoteServer.dll" [StandAlone] @@ -596,6 +599,8 @@ AutoSavePeriod = 15 ; Number of minutes between autosave backups [XEngine] +; Use the newer LSL to CS compiler (experimental) +UseNewCompiler = false ; How many threads to keep alive even if nothing is happening MinThreads = 2 ; How many threads to start at maximum load -- cgit v1.1