Make filtering out OP_ClientUpdate less aggressive to fix spinning toons

If we are too aggressive filtering out the same position packets it's
possible for toons to continue to spin indefinitely. Instead of
just not sending the update when the position is the same we keep a
tally of how many we get and stop once a threshold (6) is reached.
This commit is contained in:
Michael Cook (mackal) committed 2015-06-08 18:04:08 -04:00
1 parent 226bb4f3b2
commit 5186d3a2ef
3 files changed
+16 -1

No files matched your search

+1
View File
@@ -208,6 +208,7 @@ Client::Client(EQStreamInterface* ieqs)
npclevel = 0;
pQueuedSaveWorkID = 0;
position_timer_counter = 0;
position_update_same_count = 0;
fishing_timer.Disable();
shield_timer.Disable();
dead_timer.Disable();