aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-26 23:05:10 +0100
committerJustin Clark-Casey (justincc)2012-06-26 23:05:10 +0100
commit97437feb06060fa58f8209e32c362bfe91c279f5 (patch)
tree341d6b4ab07b53097c3b3de29e000913aeea5ca4 /OpenSim/Services/GridService
parentminor: correct GridService "show regions" cibsike cinnabd usage statement (diff)
downloadopensim-SC_OLD-97437feb06060fa58f8209e32c362bfe91c279f5.zip
opensim-SC_OLD-97437feb06060fa58f8209e32c362bfe91c279f5.tar.gz
opensim-SC_OLD-97437feb06060fa58f8209e32c362bfe91c279f5.tar.bz2
opensim-SC_OLD-97437feb06060fa58f8209e32c362bfe91c279f5.tar.xz
Show region positions in "show regions" robust console command
Diffstat (limited to 'OpenSim/Services/GridService')
-rw-r--r--OpenSim/Services/GridService/GridService.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 36cd573..aab403a 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -650,13 +650,19 @@ namespace OpenSim.Services.GridService
650 ConsoleDisplayTable dispTable = new ConsoleDisplayTable(); 650 ConsoleDisplayTable dispTable = new ConsoleDisplayTable();
651 dispTable.AddColumn("Name", 16); 651 dispTable.AddColumn("Name", 16);
652 dispTable.AddColumn("ID", 36); 652 dispTable.AddColumn("ID", 36);
653 dispTable.AddColumn("Position", 11);
653 dispTable.AddColumn("Owner ID", 36); 654 dispTable.AddColumn("Owner ID", 36);
654 dispTable.AddColumn("Flags", 60); 655 dispTable.AddColumn("Flags", 60);
655 656
656 foreach (RegionData r in regions) 657 foreach (RegionData r in regions)
657 { 658 {
658 OpenSim.Data.RegionFlags flags = (OpenSim.Data.RegionFlags)Convert.ToInt32(r.Data["flags"]); 659 OpenSim.Data.RegionFlags flags = (OpenSim.Data.RegionFlags)Convert.ToInt32(r.Data["flags"]);
659 dispTable.AddRow(r.RegionName, r.RegionID.ToString(), r.Data["owner_uuid"].ToString(), flags.ToString()); 660 dispTable.AddRow(
661 r.RegionName,
662 r.RegionID.ToString(),
663 string.Format("{0},{1}", r.coordX, r.coordY),
664 r.Data["owner_uuid"].ToString(),
665 flags.ToString());
660 } 666 }
661 667
662 MainConsole.Instance.Output(dispTable.ToString()); 668 MainConsole.Instance.Output(dispTable.ToString());