aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs18
1 files changed, 12 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 13c5cd9..f11987e 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -428,15 +428,21 @@ namespace OpenSim.Region.ScriptEngine.XEngine
428 status = "running"; 428 status = "running";
429 } 429 }
430 430
431 StringBuilder sb = new StringBuilder();
431 Queue eq = instance.EventQueue; 432 Queue eq = instance.EventQueue;
432 433
434 sb.AppendFormat("Script name : {0}\n", instance.ScriptName);
435 sb.AppendFormat("Status : {0}\n", status);
436
433 lock (eq) 437 lock (eq)
434 { 438 sb.AppendFormat("Queued events : {0}\n", eq.Count);
435 MainConsole.Instance.OutputFormat( 439
436 "{0}.{1}, queued events = {2}, item UUID {3}, prim UUID {4} @ {5} ({6})", 440 sb.AppendFormat("Item UUID : {0}\n", instance.ItemID);
437 instance.PrimName, instance.ScriptName, eq.Count, instance.ItemID, instance.ObjectID, 441 sb.AppendFormat("Containing part name: {0}\n", instance.PrimName);
438 sop.AbsolutePosition, status); 442 sb.AppendFormat("Containing part UUID: {0}\n", instance.ObjectID);
439 } 443 sb.AppendFormat("Position : {0}\n", sop.AbsolutePosition);
444
445 MainConsole.Instance.OutputFormat(sb.ToString());
440 } 446 }
441 447
442 private void HandleSuspendScript(IScriptInstance instance) 448 private void HandleSuspendScript(IScriptInstance instance)