How to hide error text in a macro?

Tried multiple ways I’ve found around online and nothing seems to work. I’m questioning whether it’s possible nowadays.

I want to have a macro that lets me essentially hit Curse of Tongues on my warlock while in combat (and with a caster), but that lets me do Fishing with the same button click when I find some water I want to dip in. Would just be nice to get rid of both the “Your cast didn’t land in fishable water” and “You have no target.” error messages.

Just trying to consolidate what buttons I can, so any help would be appreciated.

Quoting the specific guy (Ketho?)

For some reason around patch 8.2.0 when calling UIErrorsFrame:Clear() in the same macro indeed doesn’t clear it. You can use a timer to workaround it, but then it would still appear for a split second

/run C_Timer.After(.2, function() UIErrorsFrame:Clear() end)

I’d advise using an addon now to filter only certain error messages if you don’t want to hide the whole thing
https://www.curseforge.com/wow/addons/error-monster

I tried the C_Timer… workaround and found that I liked it less because on my pc the text still showed up but would disappear very quickly creating an almost “flash” effect that I found more distracting. Other people experienced no such problems though. YMMV

3 Likes

Thanks for the link. :slight_smile: I ended up just getting Error Monster. It got rid of the error messages but now when I click my macro it still does the “foom” error sound effect. Anything I can do to fix that by chance?

It gets a bit ugly but this is something I posted a while ago and not tested since so…

#showtooltip Kill Command
/console Sound_EnableErrorSpeech 0
/cast [harm] Kill Command
/targetenemy [noharm][dead][noexists]
/use 14
/run C_Timer.After(0, function() SetCVar("Sound_EnableErrorSpeech", 1) UIErrorsFrame:Clear() end)

the /console Sound_EnableErrorSpeech 0 turns off error sounds before casting/using etc.
the /run C_Timer.After(0, function() SetCVar(“Sound_EnableErrorSpeech”, 1) UIErrorsFrame:Clear() end) turns the sound back (and clears the error frame but that’s optional).

Everything in between is your macro.

1 Like

This is the macro I tried just now.

#showtooltip Curse of Tongues
/console Sound_EnableErrorSpeech 0
/cast Fishing
/run C_Timer.After(0, function() SetCVar("Sound_EnableErrorSpeech", 1)
/cast Curse of Tongues

I omitted the error frames clear line since I have the Error Monster addon. Dunno if I did something wrong but that sadly doesn’t work.

Are you equipping a fishing pole before trying to fish? If so you can just do this

#showtoolip
/cast [equipped:fishing pole] fishing; Curse of Tongues

Oh no, fishing poles aren’t necessary to fish anymore.

The not working is possibly because of an incomplete function causing an error condition.

The /run C_Timer.After... line should be:

/run C_Timer.After(0, function() SetCVar("Sound_EnableErrorSpeech", 1) end)

and make it the last line in the macro.

I’m aware of that, but many fishing poles provide +fishing skill and one even enables water walking, reduced aggro, very fast underwater movement. Some people still use them

Changed to…

#showtooltip Curse of Tongues
/console Sound_EnableErrorSpeech 0
/cast Fishing
/cast Curse of Tongues
/run C_Timer.After(0, function() SetCVar("Sound_EnableErrorSpeech", 1) end)

Still getting the “Fwoom” sadly, hehe.

That is true. I’m playing an exp locked 45 warlock atm though, don’t really have access to the good ones just yet. Right now I’m just trying to find a convenient way to consolidate some keybinds and make fishing an easy single click when I fly by a pool or something. Even at 45 my warlock abilities are filling my bars to the point where they’re tough to handle.

#showtooltip Curse of Tongues
/console Sound_EnableSFX 0
/cast Fishing
/cast Curse of Tongues
/run C_Timer.After(0, function() SetCVar("Sound_EnableSFX", 1) end)
1 Like

Success!

Thank you guys for your help. :slight_smile: My warlock’s action bars are very grateful!

Try this. I just released an addon that will make this easier to do.

The addon is called ErrorToggleCommand on curseforge

You simply just use in your macro
/error_off
/use 14
/error_on

This was released in 2007, but still works to this day

QuietCast