- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
5,105 Maps
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks WoT Mods
- Top Starcraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Videos
- Forums
LibFail-2.0
- 2 Likes
- World of Warcraft
- 66 Monthly Downloads
- Supports: 4.3
- 22,712 Total Downloads
- Updated 12/13/2011 7:26:13 AM
- Created 12/2/2010 7:33:11 AM
- 8 Favorites
- Project Site
- Release Type: Release
- License: MIT License
- Newest File: 4.302-RELEASE-LFr104
About LibFail-2.0
Next version of LibFail updated for Cataclysm. It is still a library that detects failures at certain raid tasks.
In LibFail-2.0 fail detection is completely rewritten which should allow fail events to be added more easier. There are also some new API calls that might come in handy when building your front-end.
You can find a list of supported fails: here
This is an open repository. Feel free to add to it, and make fixes yourself.
API: http://www.wowace.com/projects/libfail-2-0/pages/api/lib-fail-2-0/
Make sure that LibFail-2.0 dependencies are loaded before loading LibFail-2.0
Sample Code
local fail = LibStub("LibFail-2.0") local failEvents = fail:GetSupportedEvents() local LF = LibStub("AceLocale-3.0"):GetLocale("LibFail-2.0") -- ... extra arguments such as spell used to trigger a barrier on Omnotron local function onFail(failName, playerName, failType, ...) -- Get a localized string to be used as a name for the fail event local eventName = fail:GetEventName(failName) or "" -- Use either your own or one of the commonly used strings to print out the fail local faimsg = LF["%s fails at %s (%s)"] print( failmsg:format(playerName, failType, eventName) ) end for _, event in ipairs(failEvents) do fail.RegisterCallback("SampleAddon", event, onFail) end
------------------------------------------------------------------------
r105 | maat | 2011-12-13 13:24:37 +0000 (Tue, 13 Dec 2011) | 1 line
Changed paths:
A /tags/4.302-RELEASE-LFr104 (from /trunk:104)
Tagging as 4.302-RELEASE-LFr104 for LibFail-2.0 r104
------------------------------------------------------------------------
r104 | Maat | 2011-12-13 13:22:38 +0000 (Tue, 13 Dec 2011) | 1 line
Changed paths:
M /trunk/LibFail-2.0.lua
add deepCorruptionSpellIdExceptions based on http://goo.gl/yrfD6
------------------------------------------------------------------------
r103 | Maat | 2011-12-13 09:42:13 +0000 (Tue, 13 Dec 2011) | 4 lines
Changed paths:
M /trunk/LibFail-2.0.lua
add:
Fading Light spellIds
Yor'sahj - Deep Corruption (might need exceptions, please report them via the ticket tracker if you find any)
Hagara - Storm Pillar
------------------------------------------------------------------------
r102 | Maat | 2011-12-11 22:05:22 +0000 (Sun, 11 Dec 2011) | 1 line
Changed paths:
M /trunk/LibFail-2.0.lua
blade rush 10 heroic spellId
------------------------------------------------------------------------
r101 | oscarucb | 2011-12-08 23:00:14 +0000 (Thu, 08 Dec 2011) | 2 lines
Changed paths:
M /trunk/LibFail-2.0.lua
default to overkill only for Black Blood of the Earth which was very spammy
------------------------------------------------------------------------
r100 | Maat | 2011-12-05 15:58:05 +0000 (Mon, 05 Dec 2011) | 2 lines
Changed paths:
M /trunk/LibFail-2.0.lua
add Blackhorn Shockwave
add some spellIds
------------------------------------------------------------------------
r99 | oscarucb | 2011-12-02 10:18:19 +0000 (Fri, 02 Dec 2011) | 2 lines
Changed paths:
M /trunk/LibFail-2.0.lua
add Ultraxion_Hour of Twilight
------------------------------------------------------------------------
r97 | Maat | 2011-11-29 12:54:23 +0000 (Tue, 29 Nov 2011) | 2 lines
Changed paths:
M /trunk/LibFail-2.0.lua
M /trunk/LibFail-2.0.toc
add Dragon Soul fails
bump toc
------------------------------------------------------------------------
r96 | oscarucb | 2011-10-17 09:14:32 +0000 (Mon, 17 Oct 2011) | 2 lines
Changed paths:
M /trunk/LibFail-2.0.lua
add spellids for sinestra 10
------------------------------------------------------------------------
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| 4.302-RELEASE-LFr104-nolib | Release | 4.3 | 250 | 12/13/2011 7:26:13 AM |
| 4.302-RELEASE-LFr104 | Release | 4.3 | 2,158 | 12/13/2011 7:26:13 AM |
| 1.6-nolib | Release | 4.2 | 263 | 11/29/2011 6:57:05 AM |
| 1.6 | Release | 4.2 | 2,468 | 11/29/2011 6:57:05 AM |
| 1.5-nolib | Release | 4.2 | 159 | 9/12/2011 7:32:16 AM |
| 1.5 | Release | 4.2 | 2,156 | 9/12/2011 7:32:16 AM |
| 1.4 | Release | 4.2 | - | 6/28/2011 4:50:53 AM |
| 1.4-nolib | Release | 4.2 | 111 | 6/28/2011 4:50:52 AM |
| 1.3 | Release | 4.1 | 1,044 | 4/28/2011 2:20:54 PM |
| 1.3-nolib | Release | 4.1 | 129 | 4/28/2011 2:20:53 PM |
| 1.2 | Release | 4.0.3a | 1,149 | 1/26/2011 6:34:31 PM |
| 1.2-nolib | Release | 4.0.3a | 117 | 1/26/2011 6:34:30 PM |
| 1.1 | Release | 4.0.3a | 554 | 1/12/2011 8:03:54 AM |
| 1.1-nolib | Release | 4.0.3a | 39 | 1/12/2011 8:03:53 AM |
| 1 | Release | 4.0.3a | 94 | 12/28/2010 7:12:04 AM |
| 1-nolib | Release | 4.0.3a | 29 | 12/28/2010 7:12:03 AM |
| 0.1_BETA | Beta | 4.0.3a | 130 | 12/2/2010 2:37:01 PM |
| 0.1_BETA-nolib | Beta | 4.0.3a | 54 | 12/2/2010 2:37:00 PM |
Addon Packs Containing This...
Top Downloads
-
- Bagnon
- Bags & Inventory
- 380,324 Monthly Downloads
-
- Deadly Boss Mods
- Combat and Boss Encounters
- 302,560 Monthly Downloads
-
- Recount
- Combat
- 301,016 Monthly Downloads
-
- SpellFlash
- PvP, Buffs & Debuffs, Quests & Leveling, Action Bars, and Combat
- 282,737 Monthly Downloads
-
- GatherMate2_Data
- Achievements
- 210,508 Monthly Downloads