-
-
Notifications
You must be signed in to change notification settings - Fork 319
Deprecated CLEU
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.
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.
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:
- Look for any mention of
COMBAT_LOG_EVENT_UNFILTERED
- In the code after that, look for any mention of
subEvent
(or something similar) ORselect(2,...)
- Note down the names of the relevant subEvents. E.g.
if subEvent == "SPELL_AURA_APPLIED" then
would mean that you need to filter bySPELL_AURA_APPLIED
- Apply the filters you identified to
COMBAT_LOG_EVENT_UNFILTERED
(orCLEU
) 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.
Going through the steps on a random old classic Overpower WA:
- Check out all Custom Triggers in the "Triggers" Tab to find the ones that are an issue.
- Click on "Expand" to see the full Custom Trigger Function.
- Identify subEvents like this:
- We found out we need to filter by
SWING_MISSED
andSPELL_MISSED
, so we change the "Event(s)" box like this: - Done
- Home
- API Documentation
- Getting Involved
- Setting up a Lua Dev Environment
- Deprecations
- Useful Snippets
- Aura Types
- Trigger Types
- Triggers and Untriggers
- Aura Activation
- Dynamic Information
- Text Replacements