[Performance] Auto Idle / AFK (#4903)

* [Performance] AFK Client Packet Filtering

* Player feedback

* Update client_packet.cpp

* Fixes

* Streamline updates to SetAFK

* Decouple idling and AFK and manual AFK

* Reset clock timer when we take AFK or idle off

* Exclude bard songs in non combat zones from resetting timer

* GM exclusion adjustments
This commit is contained in:
Chris Miles authored and GitHub committed 2025-05-22 13:08:32 -05:00
1 parent 53cc2de459
commit 567d46c3d6
8 files changed
+273 -22

No files matched your search

+4
View File
@@ -536,6 +536,10 @@ bool Client::Process() {
DoEnduranceRegen();
BuffProcess();
if (auto_attack) {
ResetAFKTimer();
}
if (tribute_timer.Check()) {
ToggleTribute(true); //re-activate the tribute.
}