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() The lua that is tainting is this: Lua Code:
Could someone tell me what would be causing errors in that lua? Thanks. |
Lua Code:
This line that replaces the Show function for each of those objects also taints every one of them. Anytime :Show() is called for one of those objects from signed code, the execution path will get tainted and break if it hits a protected function call afterwards. This happens because the noop function is not from signed code. A better approach to forcing them to stay hidden would be: Lua Code:
Instead of replacing the Show function, this line will make sure it immediately calls :Hide() on the object any time :Show() is called on it. |
Thanks, do you think I should be hiding frames that way anyway?
Should I just be doing "FrameName:Hide()" for each of those? |
Sure, but if their visibility state is altered by the UI at any point they will show up again. Since you're getting errors with taint, that tells me at least one of them has their state altered through the execution path. And you can't hook the script handler on textures, because they don't have any script handlers.
|
bit of a necro
but i also ran into the same problem the line thats tainting this example is: "PlayerStatusTexture" also another example is: "PlayerRestGlow" hope this helps someone else who might be searching |
Quote:
|
All times are GMT -6. The time now is 03:03 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI