EventTracker

EventTracker

12.5k Downloads

Modifying EventTracker_events.lua for ignored events doesn't work

comiluv opened this issue ยท 1 comments

commented

Environments:
WOW version 10.0.2, addon version 4.4.2

Steps to reproduce the bug:

  1. Have EventTracker_events.lua as following:
--[[ =================================================================
    Description:
        Use this file to specify which events need to be tracked.
    ================================================================= --]]

-- Events to be tracked
    ET_TRACKED_EVENTS = {
        "PLAYER_STARTED_MOVING",
        "PLAYER_XP_UPDATE",
        -- "UPDATE_MOUSEOVER_UNIT",
        -- "CHAT_MSG_GUILD",
        -- "PLAYERREAGENTBANKSLOTS_CHANGED",
        "UNIT_COMBAT",
        --@end-debug
    };

-- Events to be ignored (applied when using /registerall)
    ET_IGNORED_EVENTS = {
        "BAG_UPDATE_COOLDOWN",
        "ACTIONBAR_UPDATE_COOLDOWN",
        "SPELL_UPDATE_COOLDOWN",
        "CRITERIA_UPDATE",
        "UPDATE_MOUSEOVER_UNIT",
        "WORLD_CURSOR_TOOLTIP_UPDATE",
        "CURSOR_CHANGED",
        "PLAYER_STARTED_TURNING",
        "PLAYER_STOPPED_TURNING",
        "MODIFIER_STATE_CHANGED",
        "SPELL_ACTIVATION_OVERLAY_HIDE",
        "SPELL_UPDATE_USABLE",
        "GLOBAL_MOUSE_DOWN",
        "GLOBAL_MOUSE_UP",
        "UNIT_POWER_UPDATE",
        "UNIT_POWER_FREQUENT",
        "COMBAT_LOG_EVENT_UNFILTERED",
        "UPDATE_UI_WIDGET",
        "COMPANION_UPDATE",
        "CHAT_MSG_ADDON",
    };
  1. In game, /et to open UI
  2. /et registerall

What happens:
Addon still shows events that are meant to be ignored such as "GLOBAL_MOUSE_DOWN", "GLOBAL_MOUSE_UP", etc.

Expected Addon Behavior:
Addon ignores events listed in ET_IGNORED_EVENTS table

commented

This is a "feature" that previous author intentionally baked into the addon, i.e., when you use register all you are asking for everything to show up, hence seeing all ignored events.
I don't like it either and future release will have its functionality changed.