aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authordahlia2009-11-30 01:09:03 -0800
committerdahlia2009-11-30 01:09:03 -0800
commite987e85c0ccf405c7717ab06a08867d6db4a6ab2 (patch)
treeef1aee0d0c897ee9554d76308b3f63df4ac35f9a /OpenSim/Region/Application
parentMerge branch 'master' of ssh://MyConnection/var/git/opensim (diff)
downloadopensim-SC_OLD-e987e85c0ccf405c7717ab06a08867d6db4a6ab2.zip
opensim-SC_OLD-e987e85c0ccf405c7717ab06a08867d6db4a6ab2.tar.gz
opensim-SC_OLD-e987e85c0ccf405c7717ab06a08867d6db4a6ab2.tar.bz2
opensim-SC_OLD-e987e85c0ccf405c7717ab06a08867d6db4a6ab2.tar.xz
add agent position to output of "show users" console command
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 5228e4b..82b2fd4 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -939,8 +939,8 @@ namespace OpenSim
939 m_log.Info(String.Format("\nAgents connected: {0}\n", agents.Count)); 939 m_log.Info(String.Format("\nAgents connected: {0}\n", agents.Count));
940 940
941 m_log.Info( 941 m_log.Info(
942 String.Format("{0,-16}{1,-16}{2,-37}{3,-11}{4,-16}", "Firstname", "Lastname", 942 String.Format("{0,-16}{1,-16}{2,-37}{3,-11}{4,-16}{5,-30}", "Firstname", "Lastname",
943 "Agent ID", "Root/Child", "Region")); 943 "Agent ID", "Root/Child", "Region", "Position"));
944 944
945 foreach (ScenePresence presence in agents) 945 foreach (ScenePresence presence in agents)
946 { 946 {
@@ -958,12 +958,13 @@ namespace OpenSim
958 958
959 m_log.Info( 959 m_log.Info(
960 String.Format( 960 String.Format(
961 "{0,-16}{1,-16}{2,-37}{3,-11}{4,-16}", 961 "{0,-16}{1,-16}{2,-37}{3,-11}{4,-16}{5,-30}",
962 presence.Firstname, 962 presence.Firstname,
963 presence.Lastname, 963 presence.Lastname,
964 presence.UUID, 964 presence.UUID,
965 presence.IsChildAgent ? "Child" : "Root", 965 presence.IsChildAgent ? "Child" : "Root",
966 regionName)); 966 regionName,
967 presence.AbsolutePosition.ToString()));
967 } 968 }
968 969
969 m_log.Info(String.Empty); 970 m_log.Info(String.Empty);