aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/SimStatsReporter.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
index 55bd6a7..b0f0e06 100644
--- a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
+++ b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
@@ -59,7 +59,14 @@ namespace OpenSim.Region.Environment.Scenes
59 statpack.Region = new SimStatsPacket.RegionBlock(); 59 statpack.Region = new SimStatsPacket.RegionBlock();
60 statpack.Region.RegionX = ReportingRegion.RegionLocX; 60 statpack.Region.RegionX = ReportingRegion.RegionLocX;
61 statpack.Region.RegionY = ReportingRegion.RegionLocY; 61 statpack.Region.RegionY = ReportingRegion.RegionLocY;
62 statpack.Region.RegionFlags = (uint)21; 62 try
63 {
64 statpack.Region.RegionFlags = (uint)ReportingRegion.EstateSettings.regionFlags;
65 }
66 catch
67 {
68 statpack.Region.RegionFlags = (uint)0;
69 }
63 statpack.Region.ObjectCapacity = (uint)15000; 70 statpack.Region.ObjectCapacity = (uint)15000;
64 71
65 sb[0] = new SimStatsPacket.StatBlock(); 72 sb[0] = new SimStatsPacket.StatBlock();
@@ -68,7 +75,7 @@ namespace OpenSim.Region.Environment.Scenes
68 75
69 sb[1] = new SimStatsPacket.StatBlock(); 76 sb[1] = new SimStatsPacket.StatBlock();
70 sb[1].StatID = (uint)Stats.SimFPS; 77 sb[1].StatID = (uint)Stats.SimFPS;
71 sb[1].StatValue = (int)(m_fps); 78 sb[1].StatValue = (int)(m_fps * 5);
72 79
73 sb[2] = new SimStatsPacket.StatBlock(); 80 sb[2] = new SimStatsPacket.StatBlock();
74 sb[2].StatID = (uint)Stats.PhysicsFPS; 81 sb[2].StatID = (uint)Stats.PhysicsFPS;