Closed Road-block closed 2 years ago
Can verify that the BCC client has no CURSOR_CHANGED
event.
Repro: /run (CreateFrame"Frame"):RegisterEvent"CURSOR_CHANGED"
in-game
Commenting out the CURSOR_CHANGED event registration reveals another event registered that does not exist on BCC client.
1x FarmingBar\Modules\DragFrame.lua:86: Attempt to register unknown event "GLOBAL_MOUSE_DOWN"
[string "=[C]"]: in function `RegisterEvent'
[string "@FarmingBar\Modules\DragFrame.lua"]:86: in function `InitializeDragFrame'
[string "@FarmingBar\Core.lua"]:90: in function <FarmingBar\Core.lua:83>
[string "=[C]"]: ?
[string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:70: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:527: in function `EnableAddon'
[string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:630: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>
Hmm... I can see packager directives at least around the second event registration but it has not been excluded.
The other 2 errors are also blocks that failed to be commented out / excluded by the packager inside -- @retail@ -- @end-retail@
blocks.
CURSOR_CHANGED was changed to CURSOR_UPDATE to be valid for retail and TBCC. Packager tags have been corrected; auto formatter in VSCode added spaces after the comments, when there should be no space in the keywords. Further bugs with table nesting were also fixed from the non-retail tags.
Describe the bug
followed by
and
Client 2.5.3 build 41812
To Reproduce Steps to reproduce the behavior: