Modifying EventTracker_events.lua for ignored events doesn't work
comiluv opened this issue ยท 1 comments
Environments:
WOW version 10.0.2, addon version 4.4.2
Steps to reproduce the bug:
- 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",
};
- In game, /et to open UI
- /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