[Performance] Reduced CPU footprint in cases where a client is checking for aggro excessively every 750 millseconds. This has

been adjusted to 6 seconds per new rule RULE_INT(Aggro, ClientAggroCheckInterval)
	- When zones have many players, with many NPC's, this adds up quickly
This commit is contained in:
Akkadius
2017-03-26 00:03:51 -05:00
parent 719098a97c
commit aa25946dc2
4 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -133,9 +133,9 @@ Client::Client(EQStreamInterface* ieqs)
fishing_timer(8000),
endupkeep_timer(1000),
forget_timer(0),
autosave_timer(RuleI(Character, AutosaveIntervalS)*1000),
autosave_timer(RuleI(Character, AutosaveIntervalS) * 1000),
#ifdef REVERSE_AGGRO
scanarea_timer(AIClientScanarea_delay),
scanarea_timer(RuleI(Aggro, ClientAggroCheckInterval) * 1000),
#endif
tribute_timer(Tribute_duration),
proximity_timer(ClientProximity_interval),