Not entirely sure why you are creating a macro (seems to be targeting but no mention of it in the update notes) but if your character specific macros tab is full you receive the error below (I had 5 free macro slots in the general tab).
There should be a check in place when creating the macro which would attempt to use the general tab if the character tab is full and show a message if both are full such as
edit: above code is only an example, in game it spams the message and errors non-stop when both tabs are full.
edit: fix above seemed to work until I updated to 2450, now it doesn't.
Code:
1x ZygorGuidesViewer-3.2.2432\Goal.lua:1173: CreateMacro() failed, already have 36 macros ZygorGuidesViewer-3.2.2432\Goal.lua:1173: in function `OnEnter' ZygorGuidesViewer-3.2.2432\Step.lua:409: in function `OnEnter' ZygorGuidesViewer-3.2.2432\ZygorGuidesViewer.lua:516: in function `FocusStep' ZygorGuidesViewer-3.2.2432\ZygorGuidesViewer.lua:703: in function `SkipStep' ZygorGuidesViewer-3.2.2432\ZygorGuidesViewer.lua:862: in function `TryToCompleteStep' ZygorGuidesViewer-3.2.2432\Skins\midnight\ViewerFrame.lua:783: in function <...Ons\ZygorGuidesViewer\Skins\midnight\ViewerFrame.lua:591> nil Locals: table: 3EAF1898
Code:
if macro==0 then local numMacros, numPlayerMacros = GetNumMacros() if numPlayerMacros == 18 and numMacros == 36 then DEFAULT_CHAT_FRAME:AddMessage("There are no free slots for Zygor Guides to create the macro.", 1, 0, 0) elseif numPlayerMacros == 18 then macroTab = nil else macroTab = 1 end macro = CreateMacro(macroname,self.macroicon or (self.macrosrc and self.macrosrc:find("showtooltip") and 1) or 656,macrosrc,macroTab) end
edit: fix above seemed to work until I updated to 2450, now it doesn't.
Comment