diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs index ecf2a45..214f7c9 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | |||
@@ -145,7 +145,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
145 | 145 | ||
146 | public void money(uint localID, LLUUID agentID, int amount) | 146 | public void money(uint localID, LLUUID agentID, int amount) |
147 | { | 147 | { |
148 | myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "money", EventQueueManager.llDetectNull, new object[] { agentID.ToString(), new LSL_Types.LSLInteger(amount) }); | 148 | myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "money", EventQueueManager.llDetectNull, new object[] { new LSL_Types.LSLString(agentID.ToString()), new LSL_Types.LSLInteger(amount) }); |
149 | } | 149 | } |
150 | 150 | ||
151 | // TODO: Replace placeholders below | 151 | // TODO: Replace placeholders below |
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs index ed11337..b08a0fa 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | |||
@@ -326,12 +326,12 @@ 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.Substring(0,999)), | 329 | m_ScriptEngine.World.SimChat(Helpers.StringToField(text), |
330 | ChatTypeEnum.DebugChannel, 2147483647, | 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 | } |
334 | catch | 334 | catch (Exception f) |
335 | { | 335 | { |
336 | //} | 336 | //} |
337 | //else | 337 | //else |