azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.13k stars 2.46k forks source link

Unit update object cache may need invalidation when death state is changed. #19205

Open heyitsbench opened 5 days ago

heyitsbench commented 5 days ago

Current Behaviour

Very intermittent issue, but creatures can appear dead to the client but to the server be very much alive and attack players. The only solution seems to be to close the client and launch it again to refresh the object.

Expected Blizzlike Behaviour

There should never be a disconnect between what the client and server see in terms of death state.

Source

Assumption.

Steps to reproduce the problem

  1. 🤷‍♀️

Extra Notes

Has been pointed out in the support channels of the Discord a few times, I suspect a knock-on effect of 1f640c98729ddfd5e3aba885fd0fcb6bc8740000.

AC rev. hash/commit

c28a0973a2e5381309c9aaa1fa887b6d8c9070dc

Operating system

Windows 10 x64

Custom changes or Modules

mod-ptr-template

heyitsbench commented 5 days ago

CC: @walkline