Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/29/14, 05:04 PM   #1
mattmillus
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 13
EVENT_PLAYER_COMBAT_STATE timing incorrect?

Hi guys, something strange came up while coding my new combat logging addon..

It seems that EVENT_PLAYER_COMBAT_STATE events come in before EVENT_COMBAT_EVENT -> ACTION_RESULT_DIED (and the associated damage events for the final killing blow)

The picture should pretty much say it all:


Has anyone else noticed such things? Does the game not have some sort of event queue that guarantees ordering? Advice appreciated on this, I am considering using an asynchronous timer to delay my HandleLeaveCombat() function until like 0.1 seconds after EVENT_PLAYER_COMBAT_STATE comes in, but this seems like a **** hack.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » EVENT_PLAYER_COMBAT_STATE timing incorrect?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off