* 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
							parent
							
								
									c2ca98519b
								
							
						
					
					
						commit
						cbcba1f026
					
				|  | @ -643,6 +643,7 @@ namespace OpenSim.Region.Environment.Scenes | ||||||
|             { |             { | ||||||
|                 if (!agent.IsChildAgent) |                 if (!agent.IsChildAgent) | ||||||
|                 { |                 { | ||||||
|  |                     pack.Header.Reliable = false; | ||||||
|                     agent.ControllingClient.OutPacket(pack, ThrottleOutPacketType.Task); |                     agent.ControllingClient.OutPacket(pack, ThrottleOutPacketType.Task); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  |  | ||||||
|  | @ -105,14 +105,14 @@ namespace OpenSim.Region.Environment.Scenes | ||||||
|             float simfps = (int) (m_fps*5); |             float simfps = (int) (m_fps*5); | ||||||
| 
 | 
 | ||||||
|             if (simfps > 45) |             if (simfps > 45) | ||||||
|                 simfps = simfps - (simfps - 45); |                simfps = simfps - (simfps - 45); | ||||||
|             if (simfps < 0) |             if (simfps < 0) | ||||||
|                 simfps = 0; |                 simfps = 0; | ||||||
| 
 | 
 | ||||||
|             float physfps = (m_pfps/statsUpdatesEveryMS); |             float physfps = (m_pfps/statsUpdatesEveryMS); | ||||||
| 
 | 
 | ||||||
|             if (physfps > 50) |             if (physfps > 500) | ||||||
|                 physfps = physfps - (physfps - 50); |                 physfps = physfps - (physfps - 500); | ||||||
| 
 | 
 | ||||||
|             if (physfps < 0) |             if (physfps < 0) | ||||||
|                 physfps = 0; |                 physfps = 0; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Teravus Ovares
						Teravus Ovares