* Killed hard coded heart after stats update

* Did some voodoo math on the sim FPS to make the values 0-50
afrisby
Teravus Ovares 2007-12-12 13:36:53 +00:00
parent 081f4403ea
commit 2fd2e0285c
2 changed files with 10 additions and 3 deletions

View File

@ -213,7 +213,7 @@ namespace OpenSim.Framework
{
m_estateSettings = new EstateSettings();
}
return m_estateSettings;
}
}

View File

@ -59,7 +59,14 @@ namespace OpenSim.Region.Environment.Scenes
statpack.Region = new SimStatsPacket.RegionBlock();
statpack.Region.RegionX = ReportingRegion.RegionLocX;
statpack.Region.RegionY = ReportingRegion.RegionLocY;
statpack.Region.RegionFlags = (uint)21;
try
{
statpack.Region.RegionFlags = (uint)ReportingRegion.EstateSettings.regionFlags;
}
catch
{
statpack.Region.RegionFlags = (uint)0;
}
statpack.Region.ObjectCapacity = (uint)15000;
sb[0] = new SimStatsPacket.StatBlock();
@ -68,7 +75,7 @@ namespace OpenSim.Region.Environment.Scenes
sb[1] = new SimStatsPacket.StatBlock();
sb[1].StatID = (uint)Stats.SimFPS;
sb[1].StatValue = (int)(m_fps);
sb[1].StatValue = (int)(m_fps * 5);
sb[2] = new SimStatsPacket.StatBlock();
sb[2].StatID = (uint)Stats.PhysicsFPS;