A library with reusable code to detect failure at certain raid tasks. At last count there are 107 different "fails" that are tracked (updated for ToC/Icecrown courtesy of Maat/sztanpet/MysticalOS). Please note, this list is not always up-to-date.
The Icecrown Citadel list includes:
- Fail_Rotface_OozeExplosion
- Fail_Rotface_StickyOoze
- Fail_Marrowgar_Whirlwind
- Fail_Marrowgar_Coldflame
- Fail_Marrowgar_SaberLash
- Fail_Festergut_VileGas
- Fail_Festergut_PungentBlight
- Fail_Deathwhisper_DeathNDecay
- Fail_Sindragosa_TailSmash
- Fail_Sindragosa_FrostBreath
- Fail_Sindragosa_BlisteringCold
- Fail_Sindragosa_Cleave
- Fail_Sindragosa_UnchainedMagic
- Fail_Sindragosa_FrostBomb
- Fail_Sindragosa_IceTomb
- Fail_Professor_MutatedSlime
- Fail_LanaThel_UncontrollableFrenzy
- Fail_LanaThel_BloodboltSplash
- Fail_BloodPrinces_SystemicShockVortex
- Fail_LanaThel_DeliriousSlash
- Fail_Gunship_Explosion
- Fail_Gunship_Explosion_Knockback
The Onyxia's Lair list includes:
- Fail_Onyxia_DeepBreath
- Fail_Onyxia_FlameBreath
- Fail_Onyxia_TailSweep
- Fail_Onyxia_WarderCleave
- Fail_Onyxia_WarderNova
- Fail_Onyxia_Cleave
The Trial of The Crusader list includes:
- Fail_Acidmaw_AcidicSpew
- Fail_Acidmaw_ParalyticToxin
- Fail_Acidmaw_SlimePool
- Fail_Anubarak_Impale
- Fail_Dreadscale_MoltenSpew
- Fail_FactionChampions_Hellfire
- Fail_Gorehowl_FireBomb
- Fail_Icehowl_Trample
- Fail_Jaraxxus_FelInferno
- Fail_Jaraxxus_LegionFlame
- Fail_Valkyr_Orb
- Fail_Valkyr_Vortex
- Fail_FactionChampions_Bladestorm
The Ulduar list includes:
- Fail_Algalon_BigBang
- Fail_Algalon_CosmicSmash
- Fail_Auriaya_SonicScreech
- Fail_Auriaya_Voidzone
- Fail_Council_Overload
- Fail_Council_RuneOfDeath
- Fail_Deconstructor_Light
- Fail_Deconstructor_Gravity
- Fail_Deconstructor_Voidzone
- Fail_Freya_NatureBomb
- Fail_Freya_Sunbeam
- Fail_Freya_UnstableEnergy
- Fail_Hodir_BitingCold
- Fail_Hodir_FlashFreeze
- Fail_Hodir_Icicle
- Fail_Kologarn_Eyebeam
- Fail_Mimiron_BombBots
- Fail_Mimiron_Flames
- Fail_Mimiron_FrostBomb
- Fail_Mimiron_LaserBarrage
- Fail_Mimiron_NapalmShell
- Fail_Mimiron_ProximityMine
- Fail_Mimiron_Rocket
- Fail_Mimiron_Shock
- Fail_Mimiron_Siren
- Fail_Mimiron_WaterSpray
- Fail_Racorscale_Flame
- Fail_Thorim_Blizzard
- Fail_Thorim_LightningChain
- Fail_Thorim_LightningCharge
- Fail_Thorim_Smash
- Fail_Vezax_Leech
- Fail_Vezax_Saronite
- Fail_Vezax_ShadowCrash
- Fail_Yogg_DeathRay
- Fail_Yogg_LunaticGaze
- Fail_Yogg_OminousCloud
- Fail_Yogg_Sanity
The Vault of Archavon list includes:
- Fail_Koralon_MeteorFist
- Fail_Archavon_ChokingCloud
- Fail_Emalon_LightningNova
- Fail_Emalon_ChainLightning
- Fail_Koralon_FlameCinder
The Obsidian Sanctum list includes:
- Sartherion's Lava Waves
- Sartherion's Void Zones
- Sartherion's Flame Breath
- Sartherion's Tail Lash
The Eye of Eternity list includes:
- Fail_Malygos_Dot
- Fail_Malygos_ArcaneBreath
The Naxxramas list includes:
- Heigan Dance
- Kel'Thuzad's Void Zones
- Sapphiron's Breath
- Sapphiron's Cleave
- Sapphiron's Tail Sweep
- Frogger
- Thaddius Left/Right
- Thaddius Jump
- Grobbulus - Dispelling Mutating Injection
- Grobbulus - Standing in the poison cloud
- Four Horseman - Mark
- Four Horseman - Void Zone
Rewrite of FailBot logic to perform these detections.
This is an open repository. Feel free to add to it, and make fixes yourself.
API: http://www.wowace.com/projects/libfail-1-0/pages/api/lib-fail-1-0/
Sample Code
local fail = LibStub("LibFail-1.0")
local fail_events = fail:GetSupportedEvents()
local function onFail(event, who, failtype)
-- Use the spellid as a default localized string for the fail event
local spell = GetSpellInfo(fail:GetEventSpellId(event)) or ""
-- Use the "failtype" argument to print appropriate messages based on it.
local failmsg
if failtype == fail.FAIL_TYPE_NOTMOVING then
failmsg = "%s fails at moving (%s)"
end
print( failmsg:format(who, spell) )
end
for _, event in ipairs(fail_events) do
fail.RegisterCallback("SampleAddon", event, onFail)
end
------------------------------------------------------------------------
r172 | sylvanaar | 2009-12-10 19:07:46 +0000 (Thu, 10 Dec 2009) | 1 line
Changed paths:
A /tags/1.0.172 (from /trunk:171)
Tagging as 1.0.172
------------------------------------------------------------------------
r171 | sztanpet | 2009-12-09 09:17:07 +0000 (Wed, 09 Dec 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
3.3 guid changes were reverted, so revert the compat code for it
------------------------------------------------------------------------
r170 | mysticalos | 2009-12-08 10:21:36 +0000 (Tue, 08 Dec 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.toc
Bump toc to 30300
------------------------------------------------------------------------
r169 | sztanpet | 2009-12-03 16:11:16 +0000 (Thu, 03 Dec 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
dont fail on a few things at onyxia when feared
------------------------------------------------------------------------
r168 | mysticalos | 2009-12-02 07:43:17 +0000 (Wed, 02 Dec 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
Added Fail for Faction Champion Bladestorm if you die and are not snared
------------------------------------------------------------------------
r167 | sztanpet | 2009-12-01 20:32:04 +0000 (Tue, 01 Dec 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
more aggressive sartharion flame breath
------------------------------------------------------------------------
r166 | sztanpet | 2009-11-22 17:44:01 +0000 (Sun, 22 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
dont nil out the onUpdate function, just hide/show the frame
------------------------------------------------------------------------
r165 | mysticalos | 2009-11-22 01:54:42 +0000 (Sun, 22 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
Vortex only a fail if cause death regardless of difficulty. This will solve spam for guilds that stay same color and bubblesac the vortex.
------------------------------------------------------------------------
r164 | mysticalos | 2009-11-19 08:51:00 +0000 (Thu, 19 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
Add Missing anub impale spellid, remove useless spellids from kologarn eyebeams and vezax shadow crash. Removed mobid from shadow crash since it's no longer needed (now that we don't include the spellid from his trash). Maybe some other stuff I forgot about. Went over all spellids in attempt to cleanup bad ones :)
------------------------------------------------------------------------
r163 | maat | 2009-11-18 21:20:35 +0000 (Wed, 18 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
add: gunship - explosion
------------------------------------------------------------------------
r162 | sztanpet | 2009-11-16 21:23:44 +0000 (Mon, 16 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
fuck the valkyr orbs, fuck you guys too who need the verbosity
------------------------------------------------------------------------
r161 | sztanpet | 2009-11-16 20:57:38 +0000 (Mon, 16 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
fail instantly on death for hellfire and fellinferno, and tweak the time it takes to fail for hellfire, lets see if its too much or not
------------------------------------------------------------------------
r160 | sztanpet | 2009-11-16 20:54:48 +0000 (Mon, 16 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
tweak fel_inferno the same way we tweaked hellfire, lets see if it makes a difference or not
------------------------------------------------------------------------
r159 | maat | 2009-11-16 08:02:53 +0000 (Mon, 16 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
add Blood Queen Lana'thel - Delirious Slash
------------------------------------------------------------------------
r158 | sztanpet | 2009-11-15 16:00:12 +0000 (Sun, 15 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
fucked up the "removing unneded check" thing, we are checking the source to be a player not the destination so add it back in
------------------------------------------------------------------------
r157 | sztanpet | 2009-11-15 15:39:41 +0000 (Sun, 15 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
change fail types of systemic shock vortex and bloodbolt splash, add datamined spellIds
------------------------------------------------------------------------
r156 | sztanpet | 2009-11-15 15:29:26 +0000 (Sun, 15 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
remove useless check, whitespace cleanup
------------------------------------------------------------------------
r155 | maat | 2009-11-15 14:38:48 +0000 (Sun, 15 Nov 2009) | 2 lines
Changed paths:
M /trunk/LibFail-1.0.lua
add: Lana'Thel - Uncontrollable Frenzy, Bloodbolt, Blood Princes - Systemic Shock Vortex
make Hodir - Biting Cold configurable
------------------------------------------------------------------------
r154 | sztanpet | 2009-11-09 10:45:25 +0000 (Mon, 09 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
fix putricide - mutated slime, also whitespace cleanups
------------------------------------------------------------------------
r153 | mysticalos | 2009-11-09 08:34:04 +0000 (Mon, 09 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
Added other known spellid to Maat's last commit. ;)
------------------------------------------------------------------------
r152 | maat | 2009-11-09 08:19:56 +0000 (Mon, 09 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
add professor putricide - mutated slime (at least I think this is what its called)
------------------------------------------------------------------------
r151 | sztanpet | 2009-11-05 18:35:23 +0000 (Thu, 05 Nov 2009) | 1 line
Changed paths:
M /trunk/LibFail-1.0.lua
its prettier this way (sorry)
------------------------------------------------------------------------
Installation Guide
- Exit "World of Warcraft" completely
- Download the mod you want to install
- Make a folder on your desktop called "My Mods"
- Save the .zip/.rar files to this folder.
- If, when you try to download the file, it automatically "opens" it... you need to RIGHT click on the link and "save as..." or "Save Target As".
- Extract the file - commonly known as 'unzipping'
Do this ONE FILE AT A TIME!
- Windows
- Windows XP has a built in ZIP extractor. Double click on the file to open it, inside should be the file or folders needed. Copy these outside to the "My Mods" folder.
- WinRAR: Right click the file, select "Extract Here"
- WinZip: You MUST make sure the option to "Use Folder Names" is CHECKED or it will just extract the files and not make the proper folders how the Authors designed
- Mac Users
- StuffitExpander: Double click the archive to extract it to a folder in the current directory.
- Verify your WoW Installation Path
That is where you are running WoW from and THAT is where you need to install your mods.
- Move to the Addon folder
- Open your World of Warcraft folder. (default is C:\Program Files\World of Warcraft\)
- Go into the "Interface" folder.
- Go into the "AddOns" folder.
- In a new window, open the "My Mods" folder.
- The "My Mods" folder should have the "Addonname" folder in it.
- Move the "Addonname" folder into the "AddOns" folder
- Start World of Warcraft
- Make sure AddOns are installed
- Log in
- At the Character Select screen, look in lower left corner for the "addons" button.
- If button is there: make sure all the mods you installed are listed and make sure "load out of date addons" is checked.
- If the button is NOT there: means you did not install the addons properly. Look at the above screenshots. Try repeating the steps or getting someone who knows more about computers than you do to help.
Translations
When you download a mod, please be sure that the mod is compatible with your translation of wow. Some mods only work on the US versions, while some only work on some of the various European versions. These variations are called "Localizations".
TOC Numbers (Out of Date Mods)
When Blizzard patches WoW, they change the Interface number. This means that all mods will be "out of date" unless or until the author releases a new version for that interface. Some people go into the .toc files and update the numbers themselves, but this is STRONGLY advised against as it will cause problems locating possible incompatibilities addons. When you log into WoW after a patch, you DO NOT have to delete your interface directory. All you have to do is simply tell WoW to ignore the interface numbers and load all the mods anyway. All you have to do is, while at the "character select" screen, look in the lower left corner and click on the "addons" button. A window will pop up listing all your installed mods.
If you look in the upper left corner of that window there should be a box that says "Load Out of Date AddOns". You want to CHECK this box. Now simply go into WoW normally and all your mods should load. As of the 1.9 patch, you will have to do this after EVERY patch/update that Blizzard posts! If you encounter any problems with a mod after a patch, please be sure to let the author of the mod know so they can fix it.
See also: About "Out Of Date AddOns"
Mac Support
WoW addons are not platformed based. As such, they can be used on either Mac or PC. You can extract both .zip and .rar files on a Mac using StuffitExpander.
Directory Structure
World of Warcraft
|_ Interface
|_AddOns
|_*AddonName*
|_ *AddonName*.toc
|_ *AddonName*.xml
|_ *AddonName*.lua
|_ (possibly others as well)...