Lay out script status in property per row format, since getting too long for console lines.
parent
8c271802ac
commit
6c72381732
|
@ -428,15 +428,21 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
status = "running";
|
status = "running";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
Queue eq = instance.EventQueue;
|
Queue eq = instance.EventQueue;
|
||||||
|
|
||||||
|
sb.AppendFormat("Script name : {0}\n", instance.ScriptName);
|
||||||
|
sb.AppendFormat("Status : {0}\n", status);
|
||||||
|
|
||||||
lock (eq)
|
lock (eq)
|
||||||
{
|
sb.AppendFormat("Queued events : {0}\n", eq.Count);
|
||||||
MainConsole.Instance.OutputFormat(
|
|
||||||
"{0}.{1}, queued events = {2}, item UUID {3}, prim UUID {4} @ {5} ({6})",
|
sb.AppendFormat("Item UUID : {0}\n", instance.ItemID);
|
||||||
instance.PrimName, instance.ScriptName, eq.Count, instance.ItemID, instance.ObjectID,
|
sb.AppendFormat("Containing part name: {0}\n", instance.PrimName);
|
||||||
sop.AbsolutePosition, status);
|
sb.AppendFormat("Containing part UUID: {0}\n", instance.ObjectID);
|
||||||
}
|
sb.AppendFormat("Position : {0}\n", sop.AbsolutePosition);
|
||||||
|
|
||||||
|
MainConsole.Instance.OutputFormat(sb.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void HandleSuspendScript(IScriptInstance instance)
|
private void HandleSuspendScript(IScriptInstance instance)
|
||||||
|
|
Loading…
Reference in New Issue