Download
(118Kb)
Download
Updated: 07-07-07 12:45 AM
Pictures
File Info
Updated:07-07-07 12:45 AM
Created:unknown
Downloads:29,759
Favorites:142
MD5:

AutoBuff [Emerald]  Popular! (More than 5000 hits)

Version: 20100-3
by: DSanai [More]

AutoBuff casts self-buffs, weapon buffs, tracking abilites, aspects, and seals.

Originally authored by Frosty, adopted by Dsanai in August 2005.

Frosty is no longer playing World of Warcraft. He has allowed me to officially adopt AutoBuff. I intend to continue it while respecting his vision. Please direct any suggestions, comments, or blame, to Dsanai.

FEATURES =================================

-- The Burning Crusade compatible. Won't cast in combat. Uses secure template.
-- Casts buffs when you roll your scrollwheel forward or backward.
-- Casts buffs when you hit an [optional] keybinding.
-- Casts buffs when you click a secure UI button.
-- Casts buffs through a macroable slash command.
-- All triggers can be individually or globally configured.
-- All spells can be disabled or configured as desired.
-- You can set mana/health thresholds, and only trigger if the conditions are met.
-- You can set which rank of spell will be cast (or it will default to using the highest known rank).
-- You can set waterbreathing spells (Warlock and Shaman) to only cast after 30 seconds or more underwater, or cast any time your spell conditions are met.
-- Only cast in combat, out of combat, or always.
-- Cast before the buff has expired so you never lose the effect.
-- All options can be set as a default, or per spell.
-- Optional Titan Panel and FuBar 2+ support allows you to access the UI through a click of its icon, or access certain options through a right-click menu. Mousing over the icon will show you the status of several AutoBuff options.
-- Won't try and cast if you are mounted, or are polymorphed, or if certain spells (such as Mind Control) are active.
-- Won't try to cast while your loot window is showing (when hunting or looting your hook during fishing).
-- Won't try to cast while you are channeling a spell or ability, eating, drinking, or using a bandage.
-- Won't cast if an ability with the same effect is already active (Arcane Brilliance, Gift of the Wild, Prayer of Fortitude).
-- Druid will auto-use "Track Humanoids" if it's enabled, and you go into cat form.
-- For abilities that override each other, it won't override a manually-used buff (ie. Mage Armor and Ice Armor).
-- All options can be configured with a graphical interface.
-- All options are saved per-character.
-- Will not cast if you're a Priest or Warlock with active Spirit Tap (but will if you have full mana, to maximize its usefulness). This 'block' can be deactivated, if desired.
-- Translated and localized for English, German, French, and Korean clients.

CLASS ABILITIES ==========================

-- All: Tracking abilities
-- Rogue: "Feint", "Blade Flurry", "Evasion", "Sprint", "Cold Blood"
-- Shaman: "Lightning Shield", "Water Breathing", "Earth/Water Shield" and all four weapon buffs.
-- Priest: "Inner Fire", "Power Word: Fortitude", "Power Word: Shield", "Shadow Protection", "Elune's Grace", "Fear Ward", "Divine Spirit", "Feedback", "Shadowguard", "Touch of Weakness", "Fade", "Renew", "Focused Casting", "Shadowform"
-- Warrior: "Battle Shout", "Bloodrage", "Berserker Rage", "Commanding Shout"
-- Druid: "Nature's Grasp", "Mark of the Wild", "Thorns", "Omen of Clarity", "Track Humanoids" (Cat Form), "Cower" (Cat Form), "Rejuvenation"
-- Mage: "Frost Armor", "Ice Armor", "Mage Armor", "Arcane Intellect", "Mana Shield", "Amplify Magic", "Dampen Magic", "Frost Ward", "Fire Ward", "Ice Barrier", "Ice Block", "Molten Armor"
-- Warlock: "Demon Armor", "Demon Skin", "Detect Invisibility" (all 3), "Unending Breath", "Soul Link", "Life Tap", "Dark Pact"
-- Hunter: "Trueshot Aura", all Tracking abilities, and all Aspects
-- Paladin: "Sense Undead", "Righteous Fury", "Holy Shield", "Divine Favor", "Avenging Wrath", "Spiritual Attunement", all Auras, Blessings, and Seals

RACIAL ABILITIES =========================

-- Troll: "Berserking"
-- Human: "Perception"
-- Orc: "Blood Fury"
-- Dwarf: "Stoneform"

COMMANDS =================================

-- User Interface: /autobuff OR /ab
-- List of Commands: /autobuff help

FREQUENTLY ASKED QUESTIONS (FAQ) =========

Q: It won't cast in combat!

A: The Burning Crusade removed our ability to cast spells while in combat. It has also make it impossible to cast by moving or changing targets; only clicks (and mousewheel movement) are supported.

Q: It won't cast Waterbreathing spells!

A: You MUST be underwater for AT LEAST 30 seconds before it will cast it. If you want it to cast all the time, regardless of whether you're swimming or not, use the "/autobuff water" command, or change the WaterBreathing option on the Titan Menu.

Q: It won't cast my Aspects, Tracking spells, or Seals!

A: If you already have an Aspect or Tracking spell or Seal on you, it will NOT override it. It only casts these spells if you do not currently have one turned on. For hunters, this ensures that after death or a gryphon ride (if you had Cheetah on), your chosen default Aspect or Tracking spell will be recast. For a paladin, this allows you to manually cast any seal, and the AutoBuff default Seal will only be automatically cast once that one has expired (or been judged). In this manner, you can set one that you normally like to have on you, and STILL be able to manually choose one for a specific function or reason.

Q: Battle Shout won't cast!

A: Remember, rage is the same as mana (for the purposes of the AutoBuff options panel). The default mana casting level is set to > 40%. For a Warrior, this means that you'd have to have 40 rage before Battle Shout will cast! You need to set the Mana slider for Battle Shout to > 10% instead. This will allow it to cast when you have more than 10 rage (which is what the spell costs). It will then fire as soon as it possibly can.

Q: How do I get rid of the floating button, especially now that there's a Titan/FuBar one?

A: Type /autobuff hide, or use the right-click menu on the Titan icon (there's a "Show Button" option). Note that the new "Secure Casting" button does not hide via this command.

Q: Can you make it buff party/raid members?

A: Nope, sorry. Try SmartBuff for buffing others.

Q: Can you add MiniPetLeash?

A: No need. MiniPet: http://tinyurl.com/dd47g

Q: Can you make it change between Hawk, Monkey, and Cheetah aspects?

A: Try SmartAspect: http://tinyurl.com/cmjqc

Q: Why isn't it working with Fubar?

A: Do you have Fubar 2.0 or higher? If not, get it from here: http://www.wowinterface.com/downloads/fileinfo.php?id=4571

Q: How do I add new spells or translations?

A: You can add them yourself, but to help others out as well, I ask that you submit them to me. The best way to reach me is through e-mail at the address listed in the TOC file. I ask that you open that file in a Text editor and get it from there -- if I post it directly in this FAQ, it can be grabbed by spambots. Thanks!


v20100-3
-- PRIEST: Added Shadowform.
-- DRUID: Added Tree of Life, Flight, and Swift Flight forms (won't cast in the latter two).
-- WARRIOR: Added Commanding Shout.
-- HUNTER: Added Aspect of the Viper.
-- MAGE: Added Molten Armor.
-- SHAMAN: Added Earth Shield, and Water Shield.
-- PALADIN: Added Avenging Wrath, Seal of Blood, Seal of Vengeance, Crusader Aura, and Spiritual Attunement.
-- Should now block casting while on a flying mount as well as a ground mount.
-- Removed Korean translation as it hasn't been updated in so long, it will throw errors. If I'm sent one, I'll readd it.
-- NOTE: A few of the new spells don't have translations. If you are German or French, please submit translations.

v20100-2
-- Added FuBar module to ZIP file.

v20100-1
-- Updated for The Burning Crusade and Patch 2.1.
-- Added secure casting (with a new, square button that can be used to cast spells and dragged anywhere you like).
-- Updated to allow for scroll-wheel casting via the secure method (keybinding).
-- Updated the FuBar plugin to 2.0 standards and broke it out as a separate module.
-- NOTE: Spells can not be cast in combat, so ones such as Fade, Faint, and Berserking may not be desirable any longer. I have not identified and removed them yet. Disable them in the Options panel if you do not wish to cast them.
-- NOTE: The FuBar options have been removed pending a rewrite of that module.
-- NOTE: May contain bugs as it has not been extensively tested; let me know if you encounter any.

Post A Reply Comment Options
Unread 10-17-05, 02:44 AM  
H0PE
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 299
Uploads: 1
Rock on baby! Nice update, glad you took the stuff over!
If you will be a good boy and you continue the work (on this and on questhistory), hell I will ask you to fix statusbars as well (need a tiny-tiny fixing only its working as it should be 99%). Would you do that?
Report comment to moderator  
Reply With Quote
Unread 10-17-05, 06:41 PM  
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 110
Uploads: 3
Originally posted by H0PE
Rock on baby! Nice update, glad you took the stuff over!
If you will be a good boy and you continue the work (on this and on questhistory), hell I will ask you to fix statusbars as well (need a tiny-tiny fixing only its working as it should be 99%). Would you do that?
Maybe. Depends on what's wrong.

I have a much easier time modifying mods I use on a daily basis, as I know how they function and so can read the LUA easier (this bit does this, that one does the other).

If it's a *simple* fix, I could do that for you. I won't adopt it unless it's something I use day-to-day though.
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
Report comment to moderator  
Reply With Quote
Unread 10-18-05, 01:10 AM  
H0PE
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 299
Uploads: 1
Originally posted by DSanai
Maybe. Depends on what's wrong.

I have a much easier time modifying mods I use on a daily basis, as I know how they function and so can read the LUA easier (this bit does this, that one does the other).

If it's a *simple* fix, I could do that for you. I won't adopt it unless it's something I use day-to-day though.
Thx for the answer. Well I believe it could be amazing to use. Cleans out the ui a lot better than any other mod. You can't select the "bar's ovner" though [that's my experience at least]. So that could be an addition/change later on. The fix I guess should be easy, since no error message, just something "don't turning on" I guess, in order to make the bars visible. So maybe I mentioned that I have nymp's perl unitframe "behind" player/target/pet statusbars invisible (on the same plase), so I can select myself, get the rightclick menu from target (for duel, invite, etc.). I couldn't really do that unfortunatelly with statusbars. I would be happy if you believe this addon is for you!

Thanks for the emerald addon fixes!
Report comment to moderator  
Reply With Quote
Unread 10-19-05, 05:04 AM  
Mykl
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Racial Priest buffs?

I know that Troll priests get Shadowguard and that Undead priests get another racial specific skill/buff. I'm not sure what alliance folks get, but I'm sure there are some. Are these on the list of buffs to be added?
Report comment to moderator  
Reply With Quote
Unread 10-21-05, 03:03 AM  
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 110
Uploads: 3
Re: Racial Priest buffs?

Originally posted by Mykl
I know that Troll priests get Shadowguard and that Undead priests get another racial specific skill/buff. I'm not sure what alliance folks get, but I'm sure there are some. Are these on the list of buffs to be added?
Sure are. I'm adding them as they're mentioned to me (I need the full, case-sensitive name of the spell). Shadowguard is written into the 1800-4 beta, so will be in the next release if it works out alright (it's not an instant, so not sure if there'll be issues with that).
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
Report comment to moderator  
Reply With Quote
Unread 10-22-05, 02:05 PM  
Filadan
A Kobold Labourer

Forum posts: 1
File comments: 17
Uploads: 0
I noticed that you plan to add an under water check for Warlock Unending Breath. I was wondering, would it be possible to add a check for Warlock "Soul Link" to see if you have a pet up? And if that is possible, to make it check that it is not an enslaved pet? Because with the new changes to Soul Link I LOVE having autobuff be able to cast it for BGs, but when when you don't have a pet up, you just get a lot of "can't cast" spam. And when you have an enslaved pet it just spams it until you run out of mana since the spell can be cast on enslaved demons, but does not actually land. Outside of that though, amazing mod! This is just about my #1 favorite WoW addon.
Report comment to moderator  
Reply With Quote
Unread 10-22-05, 04:13 PM  
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 110
Uploads: 3
Originally posted by Filadan
I noticed that you plan to add an under water check for Warlock Unending Breath. I was wondering, would it be possible to add a check for Warlock "Soul Link" to see if you have a pet up? And if that is possible, to make it check that it is not an enslaved pet? Because with the new changes to Soul Link I LOVE having autobuff be able to cast it for BGs, but when when you don't have a pet up, you just get a lot of "can't cast" spam. And when you have an enslaved pet it just spams it until you run out of mana since the spell can be cast on enslaved demons, but does not actually land. Outside of that though, amazing mod! This is just about my #1 favorite WoW addon.
I've actually added several checks for a pet, and still it false-positives. This has been an issue for a while, in the Blizzard API. It's why PetXPBar floated ghost-like without a pet around. Unfortunately, the fix for this one will be harder, since I can't just ride the PetFrame.

If you can give me the exact error message that occurs when the pet isn't out (the red text that floats on the screen), I can trap for it and prevent the spell from casting again, though.

Oh, and the message for the enslaved pet too, if it's different.
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
Report comment to moderator  
Reply With Quote
Unread 10-23-05, 04:05 PM  
Filadan
A Kobold Labourer

Forum posts: 1
File comments: 17
Uploads: 0
Originally posted by DSanai
I've actually added several checks for a pet, and still it false-positives. This has been an issue for a while, in the Blizzard API. It's why PetXPBar floated ghost-like without a pet around. Unfortunately, the fix for this one will be harder, since I can't just ride the PetFrame.

If you can give me the exact error message that occurs when the pet isn't out (the red text that floats on the screen), I can trap for it and prevent the spell from casting again, though.

Oh, and the message for the enslaved pet too, if it's different.
Ok, the big red text for not having a pet up is "You do not have a pet". Really, its not the spam that is bad, its the fact that autobuff will not move on along the list of buffs until you summon a pet so it can do Soul Link. (So all of my buffs could have worn off, but until it casts Soul Link it will just sit there and sulk).

As for enslaved pets, there is no text what so ever. It's kind of more a game mechanics problem then anything. Since you are allowed to cast Soul Link a an Enslaved pet autobuff will cast Soul Link. However, since enslaved pets do not "cast it back" with the new changes autobuff thinks that it didn't land so it trys again... and again until you run out of mana. The only idea I have for this would be to maybe add a check for "Enslave Demon" buff/debuff.
Report comment to moderator  
Reply With Quote
Unread 10-24-05, 05:28 AM  
Schlacht
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 2
Uploads: 1
I had noticed that the buff process fails when casting of soul link is enabled but there is no pet out.

Here's a little snippet of code I use in my self buff button to cast soul link when I have any demon but an imp out. The typePet variable will be nil when you have no demon (note that will will give the demon type for a few seconds after a demon dies or is sacrificed.)

local typePet = UnitCreatureFamily("pet")

if (typePet ~= nil) and (strlower(typePet) ~= "imp") then
... -- BUFF CASTING CODE HERE
end
Report comment to moderator  
Reply With Quote
Unread 10-24-05, 08:45 AM  
Biship
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Seal of Command, Seal of the Crusader and Seal of Wisdon show up in /autobuff list, but are not able to be enabled via the /autobuff popup menu.
Last edited by Biship : 10-24-05 at 10:55 AM.
Report comment to moderator  
Reply With Quote
Unread 10-28-05, 12:08 AM  
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 110
Uploads: 3
Originally posted by Biship
Seal of Command, Seal of the Crusader and Seal of Wisdon show up in /autobuff list, but are not able to be enabled via the /autobuff popup menu.
I'm investigating why this is happening. Nothing but paladin spells seem to do this, and I can't figure out why they do.

On Soul Link, I've got working code (it'll be in the next version), thanks to Jeromeger@Curse.
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
Report comment to moderator  
Reply With Quote
Unread 10-28-05, 11:46 AM  
Gaal
A Fallenroot Satyr

Forum posts: 22
File comments: 33
Uploads: 0
Could we get the ability for autobuff to not get stuck trying to cast a spell when one of the effects (from another caster or a scroll) gives the same buff in a stronger dose? Last night I have to shut down arcane intellect while in a very heated battle because I couldn't do anything with my mouse or movement keys with it constantly trying to cast the spell and failing because scroll of intelligence II had a stronger effect on me. Then I couldn't figure out why it wasn't casting later because I'd forgotten about manually disabling it.

Couldn't autobuff check for other buffs that cause that error and track the countdown on that to 0s (since you can't cast the lesser effect spell until the other one has worn off completely) until it's able to cast the specified spell, then go back to normal until it attempts to place the spell into the queue again?
Report comment to moderator  
Reply With Quote
Unread 10-29-05, 12:13 PM  
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 110
Uploads: 3
Well THAT's a new one.

The OA never wrote it to watch for scroll effects, and you're the first to bring this up, lol.

I'll see if I can make a spell that's been triggered check for scrolls with the same effect as it's trying to cast. I'm not going to bother looking between the two to decide which is more powerful, though. If your AI is more powerful, you should right-click the scroll to terminate its effect anyway.

Thanks for bringing this up. I'll get to work on it.
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
Report comment to moderator  
Reply With Quote
Unread 10-30-05, 09:44 AM  
Gaal
A Fallenroot Satyr

Forum posts: 22
File comments: 33
Uploads: 0
Right, you don't need to make autobuff think or anything, it'd just be nice if we could keep a list or something of other buffnames that have the same effect such as scrolls or other item related buffs (I dunno if there are trinkets or proc items that give buffs as I've never been high enough to use any trinkets.) perhaps it could detect the error and look at the buff in question to remember for the future (saved variable) or perhaps we could append a separate lua file with an array of spell names with their override buff types. If bufftype is to be cast then... if getoverridebuff is true then cancel, else do whatever autobuff does normally.

I say separate lua file because you might not want to take on yet another chore of discovering all the similar buff types/names to go with every other buff/spellname that exists, thus we'd either have to edit our override buff file every time you released, or you'd just not keep it in the release (put it out as a plugin, optional file: if overridelist is false then overridevariable is false, every call for that variable will simply tell the code to continue as normal and ignore the override) and we'd just upkeep it ourselves.

I don't know if there is a way to tell if one buff is more effective than the buff recorded in Autobuff unless you kept a similar list for a reverse override that showed which spells were equal to which alternate buff types, and if they didn't match then find out which way they don't match and act accordingly... but I can't ask you to go that far for little ol' me. if I could understand how your code worked, I'd attempt it myself.

making any sense?
Report comment to moderator  
Reply With Quote
Unread 11-01-05, 10:45 AM  
Gaal
A Fallenroot Satyr

Forum posts: 22
File comments: 33
Uploads: 0
Modification of the AutoBuff Option Button

I made a teeny little modification of the button you recently added. I lost the original code so I've reproduced it best as I can.

Original:
Code:
function AutoBuffOptionsButton_OnClick(arg1)
	if (arg1 == "LeftButton") then
		-- Open Options Window
		AutoBuffFrame_Toggle();
        else
                -- Do Nothing
        end
end
Modified:
Code:
function AutoBuffOptionsButton_OnClick(arg1)
	if (arg1 == "LeftButton") then
		-- Open Options Window
		AutoBuffFrame_Toggle();
	elseif (arg1 == "RightButton") then
		if (AutoBuff_Data[vC]['e'] == 1) then
			AutoBuff_Off();
		else
			AutoBuff_On();
		end
	end
end
This way, right clicking the button toggles on/off status.
Last edited by Gaal : 11-01-05 at 10:46 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: