script mono is meaningless for us

0.9.1.0-post-fixes
UbitUmarov 2019-01-25 21:21:23 +00:00
parent df568b1a66
commit 367bd48d91
6 changed files with 9 additions and 12 deletions

View File

@ -594,9 +594,9 @@ namespace OpenSim.Region.ClientStack.Linden
Enqueue(item, avatarID);
}
public OSD ScriptRunningEvent(UUID objectID, UUID itemID, bool running, bool mono)
public OSD ScriptRunningEvent(UUID objectID, UUID itemID, bool running, UUID avatarID)
{
return EventQueueHelper.ScriptRunningReplyEvent(objectID, itemID, running, mono);
return EventQueueHelper.ScriptRunningReplyEvent(objectID, itemID, running);
}
public OSD BuildEvent(string eventName, OSD eventBody)

View File

@ -187,13 +187,13 @@ namespace OpenSim.Region.ClientStack.Linden
return BuildEvent("TeleportFinish", body);
}
public static OSD ScriptRunningReplyEvent(UUID objectID, UUID itemID, bool running, bool mono)
public static OSD ScriptRunningReplyEvent(UUID objectID, UUID itemID, bool running)
{
OSDMap script = new OSDMap();
script.Add("ObjectID", OSD.FromUUID(objectID));
script.Add("ItemID", OSD.FromUUID(itemID));
script.Add("Running", OSD.FromBoolean(running));
script.Add("Mono", OSD.FromBoolean(mono));
script.Add("Mono", OSD.FromBoolean(true));
OSDArray scriptArr = new OSDArray();
scriptArr.Add(script);

View File

@ -60,7 +60,7 @@ namespace OpenSim.Region.Framework.Interfaces
void ChatterBoxForceClose(UUID toAgent, UUID sessionID, string reason);
void ParcelProperties(ParcelPropertiesMessage parcelPropertiesMessage, UUID avatarID);
void GroupMembershipData(UUID receiverAgent, GroupMembershipData[] data);
OSD ScriptRunningEvent(UUID objectID, UUID itemID, bool running, bool mono);
void ScriptRunningEvent(UUID objectID, UUID itemID, bool running, UUID avatarID);
OSD BuildEvent(string eventName, OSD eventBody);
void partPhysicsProperties(uint localID, byte physhapetype, float density, float friction, float bounce, float gravmod, UUID avatarID);

View File

@ -2079,8 +2079,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
}
else
{
eq.Enqueue(eq.ScriptRunningEvent(objectID, itemID, GetScriptState(itemID), true),
controllingClient.AgentId);
eq.ScriptRunningEvent(objectID, itemID, GetScriptState(itemID), controllingClient.AgentId);
}
}
@ -2236,7 +2235,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
stateData.AppendChild(mapData);
// m_log.DebugFormat("[XEngine]: Got XML state for {0}", itemID);
// m_log.DebugFormat("[XEngine]: Got XML state for {0}", itemID);
return doc.InnerXml;
}

View File

@ -1467,9 +1467,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
}
else
{
eq.Enqueue(EventQueueHelper.ScriptRunningReplyEvent(objectID,
itemID, instance.Running, true),
controllingClient.AgentId);
eq.ScriptRunningEvent(objectID, itemID, instance.Running, controllingClient.AgentId);
}
}
}

View File

@ -167,7 +167,7 @@ namespace OpenSim.Tests.Common
AddEvent(receiverAgent, "AgentGroupDataUpdate", data);
}
public OSD ScriptRunningEvent (UUID objectID, UUID itemID, bool running, bool mono)
public void ScriptRunningEvent (UUID objectID, UUID itemID, bool running, UUID avatarID)
{
Console.WriteLine("ONE");
throw new System.NotImplementedException ();