From b57d9be856ba53a3014a2fac475de35cf730d0f6 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 2 Feb 2008 05:07:02 +0000 Subject: [PATCH] Re-enabled AllowedCompilers function Added notice in OpenSim.ini that config refresh function is disabled --- .../DotNetEngine/Compiler/LSL/Compiler.cs | 2 +- bin/OpenSim.32BitLaunch.exe | Bin 4608 -> 4608 bytes bin/OpenSim.32BitLaunch.pdb | Bin 11776 -> 11776 bytes bin/OpenSim.ini.example | 1 + 4 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index ded0fcc1c7..2622cb922e 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs @@ -247,7 +247,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL // Not allowed to compile to this language! string errtext = String.Empty; errtext += "The compiler for language \"" + l.ToString() + "\" is not in list of allowed compilers. Script will not be executed!"; - //throw new Exception(errtext); + throw new Exception(errtext); } string compileScript = Script; diff --git a/bin/OpenSim.32BitLaunch.exe b/bin/OpenSim.32BitLaunch.exe index 64bef6400a245b893009df45a004385b386b551c..a3a00e877455dee1855b1a1dcfcba86f3f16aef0 100644 GIT binary patch delta 84 zcmZorX;7Ka!Bp^bW7j4&0TB+yEuyMReY@3mu+*qtcs<#N{fSP&&&BQxK)?jVc|h!; j2E-f;3_-yz!954A-?v_Nz-14c-&IyI_uS1f97{L>v1}Ws delta 84 zcmZorX;7Ka!SwUv#;#3l0v*ZczfD^0?Yo_WZ_=YgH^#|6>`!!leq8L%00c}xoCm}n kYCz1vzz`Jd5`1F4c>G_*^J0CUzLH2?qr diff --git a/bin/OpenSim.32BitLaunch.pdb b/bin/OpenSim.32BitLaunch.pdb index f444e0d18807ff22a0f97f1f4506df4c7e814ca1..069afee52fc7111ea8a8916f549e728f49e3472f 100644 GIT binary patch delta 86 zcmZpOX^7dt!X;7gbFn)k0|P_Pf$R6JmmP4~!{&FDRm?qivkcc8PFA}un%5#W^NOVN SF%@KNE>r4b#G^sw2`2!Ccp!cN delta 86 zcmZpOX^7dt!X@$Z<6?J41_p)`>&4^$N_Km#T^+de=#xEPHp_6m;bis8`I{87nO7v8 Sk0~I1bD2^fBOVPZPdEW60wqfT diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 7b2198ba63..49c93d3d51 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -145,6 +145,7 @@ script_engine = OpenSim.Region.ScriptEngine.DotNetEngine.dll ; Set it to number of seconds between refresh, for example 30. ; Will allow you to change ScriptEngine settings while server is running just by editing this file. ; For example to increase or decrease number of threads. +; NOTE! Disabled for now. Feature does not work. RefreshConfig=0 ; Number of threads to use for script event execution