Skip to content
Guffin7 edited this page Feb 10, 2025 · 5 revisions

Support for unfiltered COMBAT_LOG_EVENT_UNFILTERED is deprecated

image

This warning message is shown when an Aura includes a Custom Trigger with event COMBAT_LOG_EVENT_UNFILTERED or CLEU without any "filters". This event has the potential to be very spammy and can contribute to noticeable loss of FPS.

We introduced a way to filter this event by "subEvent" in 2021. We have disable Custom Triggers using this event without any filter.

This means your Auras with this warning have stopped working.

How to fix

Find an updated aura

If you didn't create the Aura yourself then first check if an update for this Aura exists on wago.io (check the URL field in Information tab) or wherever you found it (Class Discord, Twitch, creator's website, etc.)

If you don't find an update, and aren't confident about fixing it yourself, feel free to ask help on WeakAuras Discord. It's important you provide a link or an export for the problematic Aura.

Fix custom trigger event

The goal is to update the "Event(s)" box of the broken trigger, adding filters to any mention of COMBAT_LOG_EVENT_UNFILTERED or CLEU (they are interchangable in there). For filtering by subEvents in WeakAuras you want to append them to the main event with a :, and you can chain as many of them as you want:

-- these are EXAMPLES of how to do it
CLEU:UNIT_DIED
CLEU:SPELL_AURA_APPLIED:SPELL_AURA_APPLIED_DOSE:SPELL_AURA_REMOVED
CLEU:SWING_DAMAGE:RANGE_DAMAGE:SPELL_DAMAGE

Finding out which subEvents to filter by is done by looking at the "Custom Trigger Function" of the trigger in question. Click on the red "Expand" button to get a better view. From here on out, there can be various solutions depending on how the author wrote their code. 99% of cases can be solved like this though:

  1. Look for any mention of COMBAT_LOG_EVENT_UNFILTERED
  2. In the code after that, look for any mention of subEvent (or something similar) OR select(2,...)
  3. Note down the names of the relevant subEvents. E.g. if subEvent == "SPELL_AURA_APPLIED" then would mean that you need to filter by SPELL_AURA_APPLIED
  4. Apply the filters you identified to COMBAT_LOG_EVENT_UNFILTERED (or CLEU) in "Event(s)"

Step 1 isn't necessarily always required, as some auras will not mention COMBAT_LOG_EVENT_UNFILTERED in their code, e.g. if it's their only event. In those cases, just look for subEvents right away.


Fixing example

Going through the steps on a random old classic Overpower WA:

  1. Check out all Custom Triggers in the "Triggers" Tab to find the ones that are an issue.
  2. Click on "Expand" to see the full Custom Trigger Function.
  3. Identify subEvents like this: exampleTrigger1
  4. We found out we need to filter by SWING_MISSED and SPELL_MISSED, so we change the "Event(s)" box like this: exampleEventsFix1
  5. Done