* Changed implicit string conversion to LSL_Types.LSLString in money event of the key of the payer to an Explicit one.
* Fixes Mantis: #10450.6.0-stable
parent
0c831a0c2e
commit
efc680f45b
|
@ -1110,6 +1110,8 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static public implicit operator String(LSLString s)
|
static public implicit operator String(LSLString s)
|
||||||
{
|
{
|
||||||
return s.m_string;
|
return s.m_string;
|
||||||
|
@ -1272,6 +1274,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
i.value++;
|
i.value++;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static LSLInteger operator --(LSLInteger i)
|
public static LSLInteger operator --(LSLInteger i)
|
||||||
{
|
{
|
||||||
|
|
|
@ -145,7 +145,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
||||||
|
|
||||||
public void money(uint localID, LLUUID agentID, int amount)
|
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
|
// TODO: Replace placeholders below
|
||||||
|
|
|
@ -326,12 +326,12 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
||||||
m_ScriptEngine.World.GetSceneObjectPart(QIS.localID);
|
m_ScriptEngine.World.GetSceneObjectPart(QIS.localID);
|
||||||
//if (m_host != null)
|
//if (m_host != null)
|
||||||
//{
|
//{
|
||||||
m_ScriptEngine.World.SimChat(Helpers.StringToField(text.Substring(0,999)),
|
m_ScriptEngine.World.SimChat(Helpers.StringToField(text),
|
||||||
ChatTypeEnum.DebugChannel, 2147483647,
|
ChatTypeEnum.DebugChannel, 2147483647,
|
||||||
m_host.AbsolutePosition,
|
m_host.AbsolutePosition,
|
||||||
m_host.Name, m_host.UUID);
|
m_host.Name, m_host.UUID);
|
||||||
}
|
}
|
||||||
catch
|
catch (Exception f)
|
||||||
{
|
{
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
|
|
Loading…
Reference in New Issue