WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   Addon request: disable disenchant warning (https://www.wowinterface.com/forums/showthread.php?t=51798)

Cantankerous 01-29-15 11:11 PM

Addon request: disable disenchant warning
 
In your garrison's enchanter's study, when you click the "Essence Font" aka the cauldron, I would like to NEVER SEE THAT WARNING DIALOG AGAIN.

No config options, just get rid of that damn dialog. Anybody? Please and thank you!

Clamsoda 01-29-15 11:28 PM

I just whipped up a small test, and it appears that automating the acceptance of this (or perhaps all?) spell confirmation prompts causes taint. I assume it is because accepting the prompt executes a spell immediately, and spell casting via Lua is certainly restricted to Blizzard.

I tried using the static popup's OnClick function, the "Okay" button's Click method, and AcceptSpellConfirmationPrompt.

Lua Code:
  1. local eventHandler = CreateFrame("Frame")
  2.  
  3. eventHandler:RegisterEvent("SPELL_CONFIRMATION_PROMPT")
  4. eventHandler:SetScript("OnEvent", function (self, event, spellID)
  5.     -- The spell ID is 161736.
  6.     for i = 1, STATICPOPUP_NUMDIALOGS do
  7.         local frame = _G["StaticPopup"..i]
  8.  
  9.         if (frame.which == "SPELL_CONFIRMATION_PROMPT") and (frame.data == spellID) then
  10.             -- StaticPopup_OnClick(frame, 1)
  11.            
  12.             -- _G["StaticPopup"..i.."Button1"]:Click()
  13.             -- frame.Button1:Click()
  14.  
  15.             -- AcceptSpellConfirmationPrompt(spellID)
  16.         end
  17.     end
  18. end)

10leej 01-29-15 11:33 PM

tekkub made an addon for this a while ago called tekkrush or something like that.

Clamsoda 01-29-15 11:39 PM

Accepting warnings regarding disenchanting, and accepting the warning for using the Essence Font inside of a Garrison's enchanting building are NOT the same thing.

10leej 01-29-15 11:59 PM

Quote:

Originally Posted by Clamsoda (Post 305825)
Accepting warnings regarding disenchanting, and accepting the warning for using the Essence Font inside of a Garrison's enchanting building are NOT the same thing.

Ah well I haven't played the game for almost a year now so... Didn't know.

Phanx 01-30-15 12:49 AM

Quote:

Originally Posted by Cantankerous (Post 305821)
In your garrison's enchanter's study, when you click the "Essence Font" aka the cauldron, I would like to NEVER SEE THAT WARNING DIALOG AGAIN.

Sadly it's not possible. Blizzard really really wants to annoy the everliving f**k out of us with that dialog. :(

Cantankerous 01-30-15 11:33 PM

Quote:

Originally Posted by Clamsoda (Post 305822)
I just whipped up a small test...

Thanks very much for trying. At least the dialog only comes up for the first item per session. Small consolation.


All times are GMT -6. The time now is 04:29 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI