LibFail-2.0

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

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

You must login to post a comment. Don't have an account? Register to get one!

  • 6 comments
  • Avatar of bertrandd bertrandd Nov 28, 2011 at 22:20 UTC - 0 likes

    salut j ai ce message d'erreur qui s affiche et les filtres ne marchent pas : pouvez vous m aider? Date: 2011-11-28 23:10:38 ID: 1 Error occured in: Global Count: 1 Message: ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua line 1796: AceConfigRegistry-3.0:ValidateOptionsTable(): EnsidiaFails-Filter.args.Lost City of the Tol'vir.args.General Husam.name: expected a string or funcref, got 'nil' Debug: (tail call): ? (tail call): ? [C]: ? ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:50: ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:45 ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:187: ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:182 ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:221: ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:196 ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:231: ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:196 ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:231: ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:196 ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:259: ValidateOptionsTable() ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:311: app() ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1796: Open() ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1881: ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1879 (tail call): ? [C]: ? [string "safecall Dispatcher[2]"]:9: [string "safecall Dispatcher[2]"]:5 (tail call): ? Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: Fire() ...GUI-3.0\widgets\AceGUIContainer-BlizOptionsGroup.lua:20: ...GUI-3.0\widgets\AceGUIContainer-BlizOptionsGroup.lua:19 [C]: Show() ..\FrameXML\InterfaceOptionsFrame.lua:28: InterfaceOptionsList_DisplayPanel() ..\FrameXML\InterfaceOptionsFrame.lua:46: InterfaceOptionsListButton_OnClick() [string "*:OnClick"]:2: [string "*:OnClick"]:1 AddOns: Swatter, v5.12.5198 (QuirkyKiwi) Ace3, v AceGUI30SharedMediaWidgets, v4.0.0 ACP, v3.3.16 AtlasLootLoader, vv6.04.04 AucAdvanced, v5.12.5198 (QuirkyKiwi) AucFilterBasic, v5.12.5198 (QuirkyKiwi) AucFilterOutlier, v5.12.5198.5194(5.12/embedded) AucMatchUndercut, v5.12.5198.4828(5.12/embedded) AucStatHistogram, v5.12.5198 (QuirkyKiwi) AucStatiLevel, v5.12.5198 (QuirkyKiwi) AucStatPurchased, v5.12.5198 (QuirkyKiwi) AucStatSales, v5.12.5198.4838(5.12/embedded) AucStatSimple, v5.12.5198 (QuirkyKiwi) AucStatStdDev, v5.12.5198 (QuirkyKiwi) AucStatWOWEcon, v5.12.5198.4828(5.12/embedded) AucUtilAHWindowControl, v5.12.5198.5133(5.12/embedded) AucUtilAppraiser, v5.12.5198.5194(5.12/embedded) AucUtilAskPrice, v5.12.5198.5162(5.12/embedded) AucUtilAutoMagic, v5.12.5198.5184(5.12/embedded) AucUtilCompactUI, v5.12.5198.5016(5.12/embedded) AucUtilEasyBuyout, v5.12.5198.4897(5.12/embedded) AucUtilFixAH, v5.12.5198 (QuirkyKiwi) AucUtilItemSuggest, v5.12.5198.5144(5.12/embedded) AucUtilPriceLevel, v5.12.5198.4861(5.12/embedded) AucUtilScanButton, v5.12.5198.5159(5.12/embedded) AucUtilScanFinish, v5.12.5198.5159(5.12/embedded) AucUtilScanProgress, v5.12.5198.4979(5.12/embedded) AucUtilScanStart, v5.12.5198.5159(5.12/embedded) AucUtilSearchUI, v5.12.5198.5184(5.12/embedded) AucUtilSimpleAuction, v5.12.5198.4993(5.12/embedded) AucUtilVendMarkup, v5.12.5198.4828(5.12/embedded) AutoBar, vv4.2.0.03 Babylonian, v5.1.DEV.312(/embedded) BeanCounter, v5.12.5198 (QuirkyKiwi) Bison, v2.4.4-release Btex, v3.0 ButtonFacade, v4.2.375 CallbackHandler10, v Clique, vv40200-1.5.0 Configator, v5.1.DEV.312(/embedded) DBMCore, v DebugLib, v5.1.DEV.312(/embedded) Decursive, v2.7.0.3 Dominos, v4.2.3 DominosBufftimes, v DominosCast, v DominosConfig, v DominosRoll, v DominosTotems, v DominosXP, v DPSTime, v1.4 EnhaPrio, v EnsidiaFails, v FishingBuddy, v1.0.6a Gatherer, v3.2.4 InspectEquip, v1.9.3 LibAboutPanel, v1.5 LibBabbleBoss30, v LibBabbleDigSites30, v LibBabbleZone30, v LibDBIcon10, v LibExtraTip, v5.12.DEV.311(/embedded) LibFail20, v2.0.87 LibKeyBound10, v LibKeyBoundExtra10, v LibQTip10, vr152-release LibSharedMedia30, v3.0-62 LibSink20, v LibStickyFrames20, v LibStub, v Masque, v4.2.375 Omen, v3.1.4 OmniCC, v4.2.3 OmniCCConfig, v PowerAuras, v4.22 Prat30, v3.4.24 Prat30Libraries, v Quartz, v3.0.7 QuestHubber, v QuestHubberAzeroth, v QuestHubberCataclysm, v QuestHubberDaily, v QuestHubberNorthrend, v QuestHubberOutland, v RatingBuster, v Rawr, v0.68 Recount, v RecountEnsidiaFails, v SlideBar, v5.12.5198 (QuirkyKiwi) SpellFlash, v5.100.4 SpellFlashArgentTournamentMounts, v1.19.4 SpellFlashCore, v1.40.3 Stubby, v5.12.5198 (QuirkyKiwi) TipHelper, v5.12.DEV.310(/embedded) Titan, v5.0.8.40200 - Revision 519 TitanBag, v5.0.8.40200 TitanClock, v5.0.8.40200 TitanDBM, v TitanDurability, v1.22 TitanGold, v5.0.8.40200 TitanLocation, v5.0.8.40200 TitanLootType, v5.0.8.40200 TitanMail, v4.05 TitanPerformance, v5.0.8.40200 TitanRepair, v5.0.8.40200 TitanVolume, v5.0.8.40200 TitanXP, v5.0.8.40200 TomTom, vv40200-1.4.3 TotemTimers, v10.4.3 VuhDo, v2.125 VuhDoOptions, v2.125 WowLua, vv40000-1.0.1 XPerl, v3.2.0 XPerlArcaneBar, v XPerlPlayer, v XPerlPlayerBuffs, v XPerlTarget, v XPerlTargetTarget, v BlizRuntimeLib_frFR v4.2.2.40200 <eu> (ck=da0)

  • Avatar of Maat Maat Jun 29, 2011 at 07:29 UTC - 0 likes

    Mmm, update your addons?

  • Avatar of Shell_Scriptz Shell_Scriptz Jun 28, 2011 at 22:51 UTC - 0 likes

    3x LibFail-2.0-50:975: bad argument #1 to 'band' (number expected, got string) LibFail-2.0-50:975: in function <...s\LibScriptable-1.0\Libs\LibFail-2.0\LibFail-2.0.lua:974> LibFail-2.0-50:637: in function <...s\LibScriptable-1.0\Libs\LibFail-2.0\LibFail-2.0.lua:622>

    sadface

  • Avatar of madar2252 madar2252 Jun 28, 2011 at 09:43 UTC - 0 likes

    Firelands fails, yohooo!

    I worried i need to begin Firelands raiding without the very nice fail monitoring, but not!

    thank you Maat :)

    Last edited Jun 28, 2011 by madar2252
  • Avatar of Maat Maat Jan 18, 2011 at 13:04 UTC - 0 likes

    I've already posted an update on Skada's ticket tracker for LibFail-2.0, you can check it out and let me know if it works for you (it works for me :P )

    http://www.wowace.com/addons/skada/tickets/168-lib-fail-2-0-support/

    If you want a more "compelte" Skada fail module, check out http://www.wowace.com/addons/skadaensidiafails/

  • Avatar of Carighan Carighan Jan 18, 2011 at 13:00 UTC - 0 likes

    Changing the Skada_Failbot module to this on my local copy (I'm not the author). Will see how it works when I get home, and then tinker with the added options.

  • 6 comments

Facts

Date created
Dec 02, 2010
Category
Last update
Mar 12, 2013
Development stage
Abandoned
Language
  • deDE
  • enUS
  • esES
  • frFR
  • koKR
  • ruRU
  • zhCN
  • zhTW
License
MIT License
Downloads
25,159
Recent files

Authors