I currently use the addon Jax Classic Frames which causes a lot of lua errors/actionbar taints lately. The actionbar taints always occurs when switching between the talent loadouts. LuaError:
AddOn 'ClassicFrames' tried to call the protected function 'UseAction()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function `UseAction'
[string "@FrameXML/SecureTemplates.lua"]:364: in function `handler'
[string "@FrameXML/SecureTemplates.lua"]:690: in function <FrameXML/SecureTemplates.lua:672>
[string "@FrameXML/SecureTemplates.lua"]:704: in function <FrameXML/SecureTemplates.lua:697>
[string "@FrameXML/SecureTemplates.lua"]:746: in function `SecureActionButton_OnClick'
[string "@FrameXML/ActionButton.lua"]:89: in function `TryUseActionButton'
[string "@FrameXML/ActionButton.lua"]:124: in function `ActionButtonDown'
[string "ACTIONBUTTON2"]:2: in function <[string "ACTIONBUTTON2"]:1>
I did some testing and found the following function is causing the error respectively to be more precise the line:
self.playCastFX = false;
Uncommenting/deleting this line fixes the error but the player castbar glow effect is not removed.
local function HookSetLook(self, look)
self:SetStatusBarTexture("Interface\\TargetingFrame\\UI-StatusBar")
if ( look == "CLASSIC" ) then
self.playCastFX = false -- ERROR CAUSE
self:SetSize(195, 13)
self.Border:ClearAllPoints()
self.Border:SetPoint("TOP", 0, 26)
self.Border:SetTexture("Interface\\CastingBar\\UI-CastingBar-Border")
self.Border:SetSize(256, 64)
self.BorderShield:SetTexture("Interface\\CastingBar\\UI-CastingBar-Small-Shield")
self.BorderShield:SetSize(256, 64)
self.BorderShield:ClearAllPoints()
self.BorderShield:SetPoint("TOP", 0, 28)
self.Text:ClearAllPoints()
self.Text:SetPoint("TOPLEFT", 0, 2)
self.TextBorder:ClearAllPoints()
self.TextBorder:SetPoint("TOPLEFT", 0, 0)
self.TextBorder:SetPoint("BOTTOMRIGHT", 0, 0)
elseif ( look == "UNITFRAME" ) then
if (self == PlayerCastingBarFrame and PlayerCastingBarFrame.attachedToPlayerFrame) then
HookOnEventTarget(PlayerCastingBarFrame)
end
end
end
hooksecurefunc(PlayerCastingBarFrame, "SetLook", HookSetLook)
PlayerCastingBarFrame.type = "player"
PlayerCastingBarFrame:HookScript("OnEvent", HookOnEventPlayer)
PermaHide2(PlayerCastingBarFrame.Background)
PermaHide2(PlayerCastingBarFrame.Flash)<br /><br /><br />
Is their a safe way to disable the playCastFX/player castbar glow effect for PlayerCastingBarFrame without tainting my actionbars ? Thank you in advance!
hey,
I currently use the addon Jax Classic Frames which causes a lot of lua errors/actionbar taints lately.
The actionbar taints always occurs when switching between the talent loadouts.
LuaError:
TaintLog:
.
.
.
.
I did some testing and found the following function is causing the error respectively to be more precise the line:
self.playCastFX = false;
Uncommenting/deleting this line fixes the error but the player castbar glow effect is not removed.
Is their a safe way to disable the playCastFX/player castbar glow effect for PlayerCastingBarFrame without tainting my actionbars ?
Thank you in advance!