From cbcba1f026f3fb7b4a0601f7955270aa7e7bf818 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 12 Jan 2008 04:12:38 +0000 Subject: * 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) --- OpenSim/Region/Environment/Scenes/Scene.cs | 1 + OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 5278202..575fe01 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -643,6 +643,7 @@ namespace OpenSim.Region.Environment.Scenes { if (!agent.IsChildAgent) { + pack.Header.Reliable = false; agent.ControllingClient.OutPacket(pack, ThrottleOutPacketType.Task); } } diff --git a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs index 5033965..420769c 100644 --- a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs +++ b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs @@ -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; -- cgit v1.1