View Single Post
10-04-17, 10:03 AM   #1
Lesteryoung
A Black Drake
Join Date: Aug 2015
Posts: 81
Action blocked taint spam.

I've been getting action blocked errors consistently and so did a taintLog and this showed up,
Code:
10/3 01:42:50.577  An action was blocked in combat because of taint from ModifyFrames - Boss1TargetFrame:SetPoint()
10/3 01:42:50.577      Interface\FrameXML\UIParent.lua:2861 <unnamed>:UIParentManageFramePositions()
10/3 01:42:50.577      Interface\FrameXML\UIParent.lua:2160
10/3 01:42:50.577      <unnamed>:SetAttribute()
10/3 01:42:50.577      Interface\FrameXML\UIParent.lua:2912 UIParent_ManageFramePositions()
10/3 01:42:50.577      Interface\FrameXML\BuffFrame.lua:331 BuffFrame_UpdateAllBuffAnchors()
10/3 01:42:50.577      Interface\FrameXML\BuffFrame.lua:104 BuffFrame_Update()
10/3 01:42:50.577      Interface\FrameXML\BuffFrame.lua:49
.

The lua that is tainting is this:

Lua Code:
  1. --[[PetActionBarFrame:ClearAllPoints()
  2. PetActionBarFrame:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", 322, 112)
  3. PetActionBarFrame:SetScale(.87)]]
  4.  
  5. LossOfControlFrame:SetScale(.93)
  6. SpellActivationOverlayFrame:SetScale(.94)
  7.  
  8. PlayerFrame.feedbackText = PlayerFrame:CreateFontString(nil, "OVERLAY", "NumberFontNormalHuge")
  9. PlayerFrame.feedbackStartTime = 0
  10. PetFrame.feedbackText = PlayerFrame.feedbackText
  11. PetFrame.feedbackStartTime = 0
  12.  
  13. local noop = function() return end
  14.  
  15. for _, objname in ipairs({
  16.     "PlayerStatusTexture",
  17.     "PetAttackModeTexture",
  18.     "UIErrorsFrame",
  19.     "PetName",
  20.     "PlayerFrameGroupIndicator",
  21.     "MainMenuBarRightEndCap",
  22.     "MainMenuBarLeftEndCap",
  23.     "PlayerFrameRoleIcon",
  24.     "PlayerAttackGlow",
  25.     "PlayerPrestigeBadge",
  26.     "PlayerPrestigePortrait",
  27.     "FocusFrameTextureFramePrestigeBadge",
  28.     "FocusFrameTextureFramePrestigePortrait",
  29.     "TargetFrameTextureFramePrestigeBadge",
  30.     "TargetFrameTextureFramePrestigePortrait",
  31.     "FramerateLabel"
  32. }) do
  33.     local obj = _G[objname]
  34.     if obj then
  35.         obj:Hide()
  36.         obj.Show = noop
  37.     end
  38. end
  39.  
  40. local obj = PlayerPlayTime:GetParent().MultiGroupFrame
  41. obj:Hide()
  42. obj:HookScript("OnShow",function(self) self:Hide() end)
  43.  
  44. FramerateText:SetPoint("LEFT",FramerateLabel,"RIGHT",-19,0)

Could someone tell me what would be causing errors in that lua? Thanks.
  Reply With Quote