Thread Tools Display Modes
09-15-23, 11:00 AM   #21
bekaylai
A Murloc Raider
Join Date: Nov 2022
Posts: 4
Since 10.1.7, keep getting error

[ADDON_ACTION_BLOCKED] AddOn 'Hide' tried to call the protected function 'StatusBar:Show()'.
[string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481>
[string "=[C]"]: in function `Show'
[string "@FrameXML/TextStatusBar.lua"]:82: in function `TextStatusBar_UpdateTextStringWithValues'
[string "@FrameXML/TextStatusBar.lua"]:68: in function `TextStatusBar_UpdateTextString'
[string "@FrameXML/TextStatusBar.lua"]:183: in function `TextStatusBar_OnValueChanged'
[string "@FrameXML/UnitFrame.lua"]:925: in function `UnitFrameHealthBar_OnValueChanged'
[string "@FrameXML/TargetFrame.lua"]:1052: in function <FrameXML/TargetFrame.lua:1051>
[string "=[C]"]: in function `SetValue'
[string "@FrameXML/UnitFrame.lua"]:916: in function `UnitFrameHealthBar_Update'
[string "@FrameXML/UnitFrame.lua"]:231: in function `UnitFrame_Update'
[string "@FrameXML/TargetFrame.lua"]:132: in function `Update'
[string "@FrameXML/TargetFrame.lua"]:240: in function `OnEvent'
[string "@FrameXML/UnitFrame.lua"]:1072: in function <FrameXML/UnitFrame.lua:1070>
[string "=[C]"]: in function `FocusUnit'
[string "@SharedXML/UnitPopupSharedButtonMixins.lua"]:1789: in function `OnClick'
[string "@SharedXML/UnitPopupShared.lua"]:148: in function `func'
[string "@SharedXML/UIDropDownMenu.lua"]:1008: in function `UIDropDownMenuButton_OnClick'
[string "*UIDropDownMenuTemplates.xml:131_OnClick"]:1: in function <[string "*UIDropDownMenuTemplates.xml:131_OnClick"]:1>

Locals:
_ = Frame {
RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
0 = <userdata>
UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
SetScript = <function> defined @!BugGrabber/BugGrabber.lua:487
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:553
ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:553
PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:547
LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:562
ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:507
}
  Reply With Quote
09-18-23, 08:58 AM   #22
bekaylai
A Murloc Raider
Join Date: Nov 2022
Posts: 4
-- hides default target/focus buffs/debuffs
TargetFrame.maxBuffs = 0
TargetFrame.maxDebuffs = 0
MAX_TARGET_BUFFS = 0
MAX_TARGET_DEBUFFS = 0
if TargetFrame_UpdateAuras then
TargetFrame_UpdateAuras(TargetFrame)
end

if FocusFrame:IsShown() then
FocusFrame.maxBuffs = 0
FocusFrame.maxDebuffs = 0
MAX_FOCUS_BUFFS = 0
MAX_FOCUS_DEBUFFS = 0
if FocusFrame_UpdateAuras then
FocusFrame_UpdateAuras(FocusFrame)
end
end

local f = CreateFrame("Frame")
f:RegisterEvent("PLAYER_LOGIN")
f:SetScript("OnEvent", function()
TargetFrameSpellBar:ClearAllPoints()
TargetFrameSpellBar:SetPoint("TOPLEFT", TargetFrame, "TOPLEFT", 43, 30)
TargetFrameSpellBar.SetPoint = function() end
end)

Copy and paste work. Not sure how effective this is but at least its working for me.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Hide Buffs/Debuffs on Target/Focus.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off