aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2008-01-19 02:58:19 +0000
committerTeravus Ovares2008-01-19 02:58:19 +0000
commit8fdeab57b14f1a901e36a5255304a8bfc1555051 (patch)
tree45a1a9c93ba5ba59844d8502ff011b0079665730
parentAdded block for scenario: global exception handler called in loop when except... (diff)
downloadopensim-SC_OLD-8fdeab57b14f1a901e36a5255304a8bfc1555051.zip
opensim-SC_OLD-8fdeab57b14f1a901e36a5255304a8bfc1555051.tar.gz
opensim-SC_OLD-8fdeab57b14f1a901e36a5255304a8bfc1555051.tar.bz2
opensim-SC_OLD-8fdeab57b14f1a901e36a5255304a8bfc1555051.tar.xz
* Potential fix to the 'can't run a script anymore bug'
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
index ced4863..949d5b6 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
@@ -108,6 +108,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
108 /// <summary> 108 /// <summary>
109 /// Structure to hold data for llDetect* commands 109 /// Structure to hold data for llDetect* commands
110 /// </summary> 110 /// </summary>
111 [Serializable]
111 public struct Queue_llDetectParams_Struct 112 public struct Queue_llDetectParams_Struct
112 { 113 {
113 // More or less just a placeholder for the actual moving of additional data 114 // More or less just a placeholder for the actual moving of additional data
@@ -238,17 +239,17 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
238 { 239 {
239 // DISPLAY ERROR INWORLD 240 // DISPLAY ERROR INWORLD
240 string text = "Error executing script function \"" + QIS.functionName + "\":\r\n"; 241 string text = "Error executing script function \"" + QIS.functionName + "\":\r\n";
241 //if (e.InnerException != null) 242 if (e.InnerException != null)
242 //{ 243 {
243 // Send inner exception 244 // Send inner exception
244 text += e.InnerException.Message.ToString(); 245 text += e.InnerException.Message.ToString();
245 //} 246 }
246 //else 247 else
247 //{ 248 {
248 text += "\r\n"; 249 text += "\r\n";
249 // Send normal 250 // Send normal
250 text += e.Message.ToString(); 251 text += e.Message.ToString();
251 //} 252 }
252 try 253 try
253 { 254 {
254 if (text.Length > 1500) 255 if (text.Length > 1500)