[BUG] v3.0-alpha16-bcc fresh install
Road-block opened this issue ยท 5 comments
Describe the bug
1x Ace3\AceEvent-3.0\AceEvent-3.0-4.lua:33: Attempt to register unknown event "CURSOR_CHANGED"
[string "=[C]"]: in function `RegisterEvent'
[string "@Ace3\AceEvent-3.0\AceEvent-3.0-4.lua"]:33: in function `OnUsed'
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:142: in function `RegisterEvent'
[string "@FarmingBar\Modules\Bars.lua"]:39: in function `InitializeBars'
[string "@FarmingBar\Core.lua"]:87: 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>
followed by
12x FarmingBar\Modules\Trackers.lua:137: 'end' expected (to close 'function' at line 132) near 'return'
Locals:
and
12x FarmingBar\Modules\Templates.lua:228: '}' expected (to close '{' at line 203) near '{'
Locals:
Client
2.5.3 build 41812
To Reproduce
Steps to reproduce the behavior:
- Exit the game
- Search WTF for FarmigBar.*
- Delete found saved variables.
- Start the game
Hmm... I can see packager directives at least around the second event registration but it has not been excluded.
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>
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.