aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-25 03:02:08 +0000
committerJustin Clark-Casey (justincc)2013-01-25 03:02:08 +0000
commit614d4eda3ee2889e7b122b4a5c522c6ef72a7765 (patch)
tree838ad198c518edf4578e863cff4842aae30eaa00 /OpenSim/Region/OptionalModules/Scripting
parentIncrease logging by enabling during test setup rather than during individual ... (diff)
downloadopensim-SC_OLD-614d4eda3ee2889e7b122b4a5c522c6ef72a7765.zip
opensim-SC_OLD-614d4eda3ee2889e7b122b4a5c522c6ef72a7765.tar.gz
opensim-SC_OLD-614d4eda3ee2889e7b122b4a5c522c6ef72a7765.tar.bz2
opensim-SC_OLD-614d4eda3ee2889e7b122b4a5c522c6ef72a7765.tar.xz
See if getting the registering JsonReadNotecard with MethodInfo works around an apparent issue with registering methods with more than 5 parameters on mono 2.4.3
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs
index 0c175ca..77be828 100644
--- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs
@@ -168,7 +168,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore
168 m_comms.RegisterScriptInvocation(this,"JsonCreateStore"); 168 m_comms.RegisterScriptInvocation(this,"JsonCreateStore");
169 m_comms.RegisterScriptInvocation(this,"JsonDestroyStore"); 169 m_comms.RegisterScriptInvocation(this,"JsonDestroyStore");
170 170
171 m_comms.RegisterScriptInvocation(this,"JsonReadNotecard"); 171 m_comms.RegisterScriptInvocation(
172 this, this.GetType().GetMethod(
173 "JsonReadNotecard", BindingFlags.NonPublic | BindingFlags.Instance, null, new Type[] { typeof(UUID), typeof(UUID), typeof(UUID), typeof(string), typeof(UUID)}, null));
174
172 m_comms.RegisterScriptInvocation(this,"JsonWriteNotecard"); 175 m_comms.RegisterScriptInvocation(this,"JsonWriteNotecard");
173 176
174 m_comms.RegisterScriptInvocation(this,"JsonTestPath"); 177 m_comms.RegisterScriptInvocation(this,"JsonTestPath");
@@ -191,7 +194,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore
191 catch (Exception e) 194 catch (Exception e)
192 { 195 {
193 // See http://opensimulator.org/mantis/view.php?id=5971 for more information 196 // See http://opensimulator.org/mantis/view.php?id=5971 for more information
194 m_log.WarnFormat("[JsonStroreScripts] script method registration failed; {0}",e.Message); 197 m_log.WarnFormat("[JsonStoreScripts]: script method registration failed; {0}", e.Message);
195 m_enabled = false; 198 m_enabled = false;
196 } 199 }
197 } 200 }