aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-05 15:53:11 +0000
committerTeravus Ovares2008-05-05 15:53:11 +0000
commitce19234dc865e645166dbe5cc52b6d8eb7c6d0af (patch)
treec84ebb52428d4c4db3305832a5bad5cb283164be /OpenSim/Region/ScriptEngine
parent* A bit of spice from here, a pinch of salt from there, some brains that attr... (diff)
downloadopensim-SC-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.zip
opensim-SC-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.tar.gz
opensim-SC-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.tar.bz2
opensim-SC-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.tar.xz
* Unraveled the DEBUG_CHANNEL mystery.
* Moved script errors to the debug channel. * Typing '/2147483647 OK' results in a debug_channel message. * Expanded the available parameters that are send-able through IClientAPI
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs4
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
index 1b1a5fa..2a6f775 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
@@ -326,8 +326,8 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
326 m_ScriptEngine.World.GetSceneObjectPart(QIS.localID); 326 m_ScriptEngine.World.GetSceneObjectPart(QIS.localID);
327 //if (m_host != null) 327 //if (m_host != null)
328 //{ 328 //{
329 m_ScriptEngine.World.SimChat(Helpers.StringToField(text), 329 m_ScriptEngine.World.SimChat(Helpers.StringToField(text.Substring(0,999)),
330 ChatTypeEnum.Say, 0, 330 ChatTypeEnum.DebugChannel, 2147483647,
331 m_host.AbsolutePosition, 331 m_host.AbsolutePosition,
332 m_host.Name, m_host.UUID); 332 m_host.Name, m_host.UUID);
333 } 333 }
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
index 32c98a8..ed2c0a3 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
@@ -114,7 +114,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
114 string text = "Error compiling script:\r\n" + e.Message.ToString(); 114 string text = "Error compiling script:\r\n" + e.Message.ToString();
115 if (text.Length > 1500) 115 if (text.Length > 1500)
116 text = text.Substring(0, 1500); 116 text = text.Substring(0, 1500);
117 World.SimChat(Helpers.StringToField(text), ChatTypeEnum.Say, 0, m_host.AbsolutePosition, 117 World.SimChat(Helpers.StringToField(text), ChatTypeEnum.DebugChannel, 2147483647, m_host.AbsolutePosition,
118 m_host.Name, m_host.UUID); 118 m_host.Name, m_host.UUID);
119 } 119 }
120 catch (Exception e2) // LEGIT: User Scripting 120 catch (Exception e2) // LEGIT: User Scripting