Download
(4Kb)
Download
Updated: 08-29-17 04:44 PM
Pictures
File Info
Compatibility:
Shadows of Argus (7.3.0)
Updated:08-29-17 04:44 PM
Created:10-22-10 04:30 AM
Downloads:2,799
Favorites:17
MD5:

QuietMacros

Version: 7.3.0
by: adinhb [More]

Note: Legion Bug for Bears: Bear form seems to ignore the AutoUnshift settings when casting Healing Touch.
Swiftmend, Rejuvenation, and Regrowth are properly restricted if AutoUnshift is disallowed.
All four spells are restricted properly for Catform. Healing Touch still works properly with Predatory Swiftness.

One of the common issues of macros is that error sounds and messages are played, even though the player does not wish to hear or see them. This usually happens when abilities, or items are chained together. For example:


#showtooltip
/cast Mangle
/cast [nomod] Maul
/startattack

or

#showtooltip Arcane Blast
/use 13
/use 14
/cast Arcane Blast

In the first case, if Maul is not ready, then the error messages will be played/displayed whenever the macro is activated. Likewise, if either trinket is not ready, the messages will be played/displayed when the second macro is used.


The standard way to fix these macros is to temporarily turn off sound and text warnings, like so:

#showtooltip
/cast Mangle(Bear Form)
/console Sound_EnableErrorSpeech 0
/cast [nomod] Maul(Bear Form)
/console Sound_EnableErrorSpeech 1
/script UIErrorsFrame:Clear()
/startattack

#showtooltip Arcane Blast
/console Sound_EnableErrorSpeech 0
/use 13
/use 14
/console Sound_EnableErrorSpeech 1
/script UIErrorsFrame:Clear()
/cast Arcane Blast

The extra lines temporarily turn off the error sound, then turn it back on, and clear out the messages frame. Now, the error messages are hidden with regards to the secondary effects, but are still displayed when something is wrong with the primary effect (e.g. missing target, our of range, etc).

The problem with this solution is that the extra commands take an extra 84 bytes of macro text. This is almost 1/3 of the allowable characters in a macro!

This mod fixes the situation by converting the long commands to very short ones. Now the macros can be written thusly:

#showtooltip
/cast Mangle
/q 0
/cast [nomod] Maul
/q 1
/startattack

#showtooltip Arcane Blast
/q 0
/use 13
/use 14
/q 1
/cast Arcane Blast

Now the extra character count is a mere 10 characters. Also, the commands are a lot easier to remember.

Full listing of QuietMacros Commands:
/q 0
Turns off error sounds.
/q 1
Turns on error sounds, and clears the errors frame.
/q c
/q C
Clears the errors frame. Has no effect on sound.
/q seo
Turns off sound effects
Mnemonic: Sound Effects Off
/q nsic
Turns of auto-shift in combat
(useful for ferals casting Healing Touch thanks to Predatory Swiftness)
Mnemonic: No Shift In Combat
/q ns
Turns off auto-shift completely
Mnemonic: No Shift
/q as
Turns auto-shift back on
Mnemonic: Allow Shift
/q debugon
Will make QuietMacros print the current value of Sound_EnableErrorSpeech in the chatframe whenever QuietMacros is called.
/q debugoff
Turns off debugging.



Note: /q 1 will only turn on Sound Effects or Error Sounds if QuietMacros was used to turn them off. If they were turned off another way, QuietMacros will not reactive the sound type.

Turning Off Sound Effects vs Turing Off Error Speech
Most of the advice found on the web says to turn Sound_EnableSFX off and on again to eliminate the error voice. However, this setting affects more than just the error voice. For example, try flying around on a flying mount, and then type '/console Sound_EnableSFX 0' and you will find that your mount is no longer making the flapping wings sound. Another sound that will be lost will be when druids shapechange. (Type '/console Sound_EnableSFX 1' to turn the sound back on again.) By using Sound_EnableErrorSpeech, only the error speech is turned off, and so you will not have other sounds suddenly disappearing.

Controlling AutoShift
This is particularly useful for ferals who want to cast Healing Touch when Predatory Swiftness procs, but doesn't want to accidentally go out of cat form otherwise.

Here is the macro:
#showtooltip
/q nsic
/cast [mod,@player][help][@targettarget,help][@player]Healing Touch
/q as

7.3.0
Version number updated

7.2.0
Version number updated

7.0.0
Minor rewrite, compatible with Legion

6.1.0
revised toc fields to indicate compatibility with WoD

6.0.0
revised toc fields to indicate compatibility with WoD

5.4.7
Works with Wow 5.4 +
revamped code
added help command
made commands non-case sensitive

5.2.0
Works with MoP 5.2
Added /q [nsic|ns|as] parameters to allow controlling of auto-shift
Added /q seo to turn off sound effects
/q 1 now only turns sounds back on if QuietMacros had turned them off

5.1.0
Version number update

5.0.1
Works with Mists of Pandaria
Version number reflects the version of Wow that it works with

1.0.4
Maintenance release

1.0.3
Added /q [c|C] parameter to clear errors frame without affecting sound output.

1.0.1
Changed Sound_EnableSFX to Sound_EnableErrorSpeech
Post A Reply Comment Options
Unread 03-15-13, 03:10 PM  
adinhb
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 3
Re: Work with Macro bank?

Originally Posted by Rasend
Hi,

I'd like to try your addon. I have it downloaded and ready to go, but when I open macros, there is nothing indicating that quiet macros is running. I am using MacroBank and wonder if that is the issue or am I missing something? Thanks a ton!
QuietMacros should work with MacroBank.

To test it, do these steps:

Set up a macro like this:
/q 0
/cast [spell with cool down]
/q 1

Then type /q debugon in the console. Every time a QuietMacros is used, it will output to the console what settings are on or off.

Now use the macro. The console will display:

Sound_EnableErrorSpeech: 0
Sound_EnableSFX: 1
AutoUnshift: 1

Sound_EnableErrorSpeech: 1
Sound_EnableSFX: 1
AutoUnshift: 1

The first block shows that the error sounds were turned off, while the second block shows the error sounds were turned back on.

Also, when you use the macro again, assuming that the spell has a cool down, your character will not say "you can't do that yet" nor will the error text appear on your screen.

Once you are done, type /q debugoff to stop outputting the status to the console.
Report comment to moderator  
Reply With Quote
Unread 12-22-12, 04:05 PM  
Rasend
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Work with Macro bank?

Hi,

I'd like to try your addon. I have it downloaded and ready to go, but when I open macros, there is nothing indicating that quiet macros is running. I am using MacroBank and wonder if that is the issue or am I missing something? Thanks a ton!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: