HizurosWoWAddOns / FarmHud

Turn your minimap into a hud for farming ore / herb.
GNU General Public License v3.0
5 stars 6 forks source link

[BUG]:Action[SetPoint] failed because[SetPoint would result in anchor family connection] #13

Open JerichoZG opened 1 year ago

JerichoZG commented 1 year ago

WoW client

WoW Retail

What happened?

7x [string "FarmHud.SetPoint(Minimap,"CENTER",0,0)"]:1: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: Minimap:SetPoint. [string "=[C]"]: in function SetPoint' [string "FarmHud.SetPoint(Minimap,"CENTER",0,0)"]:1: in functionf' [string "@FarmHud/FarmHud.lua"]:674: in function <FarmHud/FarmHud.lua:579> [string "=[C]"]: in function SetShown' [string "@FarmHud/FarmHud.lua"]:921: in functionToggle'

Locals: (temporary) = Minimap { 0 = OnEnter = defined @FrameXML/Minimap.lua:182 CreateTexture = defined @FarmHud/FarmHud.lua:172 EnableMouse = defined =[C]:-1 SetAlpha = defined =[C]:-1 OnClick = defined @FrameXML/Minimap.lua:60 SetZoom = defined =[C]:-1 SetPlayerTexture = defined =[C]:-1 SetMaskTexture = defined =[C]:-1 OnLoad = defined @FrameXML/Minimap.lua:52 ZoomOut = Button { } OnEvent = defined @FrameXML/Minimap.lua:151 location = FontString { } backdrop = Frame { } SetIgnoreParentAlpha = defined =[C]:-1 ZoomIn = Button { } timer = 0 ZoomHitArea = Frame { } OnLeave = defined @FrameXML/Minimap.lua:191 OnMouseWheel = defined @FrameXML/Minimap.lua:73 } (temporary) = "CENTER" (temporary) = 0 (temporary) = 0

Lua Error Message?

No response

Other addons?

No response

ghost commented 1 year ago

Seems to be caused by an update to LibDBIcon. FarmHUD won't work for me with LibDBIcon v10.1.3 still works with LibDBIcon v10.1.0

ghost commented 1 year ago

After checking further, this problem occurs for me when an addon called ElvUI WindTools' minimap button bar is turned on and you toggle FarmHUD on if you have LibDBIcon v10.1.1 or newer.

Turning the WindTool button bar off and using another similar addon, such as Minimap Button Button, doesn't cause the error.

JerichoZG commented 1 year ago

After checking further, this problem occurs for me when an addon called ElvUI WindTools' minimap button bar is turned on and you toggle FarmHUD on if you have LibDBIcon v10.1.1 or newer.

Turning the WindTool button bar off and using another similar addon, such as Minimap Button Button, doesn't cause the error.

Problem solved. Thank you so much!