* Changed implicit string conversion to LSL_Types.LSLString in money event of the key of the payer to an Explicit one.

* Fixes Mantis: #1045
This commit is contained in:
Teravus Ovares
2008-05-11 12:01:12 +00:00
parent 0c831a0c2e
commit efc680f45b
3 changed files with 6 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
public void money(uint localID, LLUUID agentID, int amount)
{
myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "money", EventQueueManager.llDetectNull, new object[] { agentID.ToString(), new LSL_Types.LSLInteger(amount) });
myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "money", EventQueueManager.llDetectNull, new object[] { new LSL_Types.LSLString(agentID.ToString()), new LSL_Types.LSLInteger(amount) });
}
// TODO: Replace placeholders below

View File

@@ -326,12 +326,12 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
m_ScriptEngine.World.GetSceneObjectPart(QIS.localID);
//if (m_host != null)
//{
m_ScriptEngine.World.SimChat(Helpers.StringToField(text.Substring(0,999)),
m_ScriptEngine.World.SimChat(Helpers.StringToField(text),
ChatTypeEnum.DebugChannel, 2147483647,
m_host.AbsolutePosition,
m_host.Name, m_host.UUID);
}
catch
catch (Exception f)
{
//}
//else