* Unmoderated the ODE FPS in the sim stats. Decided to do that after Andrew Linden insisted that Havok was running at 45fps internally.

* Set the SimStats packet as unreliable (so we don't require an ack and do resends on it)
ThreadPoolClientBranch
Teravus Ovares 2008-01-12 04:12:38 +00:00
parent c2ca98519b
commit cbcba1f026
2 changed files with 4 additions and 3 deletions

View File

@ -643,6 +643,7 @@ namespace OpenSim.Region.Environment.Scenes
{
if (!agent.IsChildAgent)
{
pack.Header.Reliable = false;
agent.ControllingClient.OutPacket(pack, ThrottleOutPacketType.Task);
}
}

View File

@ -105,14 +105,14 @@ namespace OpenSim.Region.Environment.Scenes
float simfps = (int) (m_fps*5);
if (simfps > 45)
simfps = simfps - (simfps - 45);
simfps = simfps - (simfps - 45);
if (simfps < 0)
simfps = 0;
float physfps = (m_pfps/statsUpdatesEveryMS);
if (physfps > 50)
physfps = physfps - (physfps - 50);
if (physfps > 500)
physfps = physfps - (physfps - 500);
if (physfps < 0)
physfps = 0;