Get an Epic Experience with Premium

Weakest Link

Boss Encounters Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 59 Monthly Downloads
  • Supports: 5.1.0
  • 10,702 Total Downloads
  • Updated 12/13/2012
  • Created 11/22/2009
  • 45 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: Public Domain
  • Newest File: r31
or

About Weakest Link

Ever try to figure out why your raid is failing? Ever try to figure out who died first, or what killed the tank, or just want to sound like a raid leader without doing any work?? The combat log is horrible at reporting player deaths. It doesn't include how they died in the death, it doesn't let you single out a specific player, and sometimes it just doesn't show deaths period, even when you have the option checked. WeakestLink attempts to overcome these shortcomings by announcing raid deaths in all sorts of options.

Features:

  • Deaths may be announced to raid, say, officer, a whisper, a channel, or just yourself.
  • Report who killed them, by how much, when, and a link to the spell if possible. Overkill is also an option.
  • Show events before that person died! You have the option to see the attacks that player took before he died. You can specify how many lines you want to report
  • Show however many deaths you want, per fight (since after the first five die, who cares what happens after that)
  • Only report a certain player, such as a tank.
  • Raid icons support with the newest beta
  • Party deaths for 5-man instances can be enabled in options

Commands:

  • '/wl' to bring up the options
  • '/wl on' to turn it on
  • '/wl off' to turn it off
  • '/wl debug' to see all deaths, not just raid members (warning, tracks NPCs too so lots of spam)

Thanks to Fatality for the idea, and its author for some code optimizations I used.

------------------------------------------------------------------------
r31 | gorilivan | 2012-12-13 19:26:03 +0000 (Thu, 13 Dec 2012) | 1 line
Changed paths:
   M /trunk/WeakestLink.lua

Changes made as noted from comments testing for further issues.  Haven't seen any issues yet, let me know if you see any and I'll see what I can do, thanks Dracula for the latest changes you found.
------------------------------------------------------------------------
r30 | gorilivan | 2012-12-13 10:38:38 +0000 (Thu, 13 Dec 2012) | 1 line
Changed paths:
   M /trunk/WeakestLink.toc

removed file within file waiting on some changes to see if they work.
------------------------------------------------------------------------
r29 | gorilivan | 2012-12-13 10:32:50 +0000 (Thu, 13 Dec 2012) | 1 line
Changed paths:
   D /trunk/AddFriend

doesnt belong here
------------------------------------------------------------------------
r28 | gorilivan | 2012-12-09 16:06:24 +0000 (Sun, 09 Dec 2012) | 1 line
Changed paths:
   A /trunk/AddFriend
   A /trunk/AddFriend/AddFriend.lua
   A /trunk/AddFriend/AddFriend.toc
   A /trunk/AddFriend/Changelog-AddFriend-r27.txt
   A /trunk/AddFriend/embeds.xml
   A /trunk/AddFriend/libs
   A /trunk/AddFriend/libs/AceAddon-3.0
   A /trunk/AddFriend/libs/AceAddon-3.0/AceAddon-3.0.lua
   A /trunk/AddFriend/libs/AceAddon-3.0/AceAddon-3.0.xml
   A /trunk/AddFriend/libs/AceHook-3.0
   A /trunk/AddFriend/libs/AceHook-3.0/AceHook-3.0.lua
   A /trunk/AddFriend/libs/AceHook-3.0/AceHook-3.0.xml
   A /trunk/AddFriend/libs/CallbackHandler-1.0
   A /trunk/AddFriend/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua
   A /trunk/AddFriend/libs/CallbackHandler-1.0/CallbackHandler-1.0.xml
   A /trunk/AddFriend/libs/LibStub
   A /trunk/AddFriend/libs/LibStub/LibStub.lua
   A /trunk/AddFriend/libs/LibStub/LibStub.toc
   A /trunk/AddFriend/libs/LibStub/tests
   A /trunk/AddFriend/libs/LibStub/tests/test.lua
   A /trunk/AddFriend/libs/LibStub/tests/test2.lua
   A /trunk/AddFriend/libs/LibStub/tests/test3.lua
   A /trunk/AddFriend/libs/LibStub/tests/test4.lua
   A /trunk/AddFriend/mainline
   A /trunk/AddFriend/mainline/.pkgmeta
   A /trunk/AddFriend/mainline/AddFriend.lua
   A /trunk/AddFriend/mainline/AddFriend.toc
   A /trunk/AddFriend/mainline/embeds.xml
   A /trunk/Weakest Link

1
------------------------------------------------------------------------
r27 | gorilivan | 2011-11-30 01:00:19 +0000 (Wed, 30 Nov 2011) | 1 line
Changed paths:
   M /trunk/WeakestLink.toc

Beta 4.3
------------------------------------------------------------------------

Comments

First Previous Page 1 of 4 Next Last
  • #58

    Never done addon development or looked at LUA in my life but tried replacing the cachegroup;

     

    function WL:cachegroup() --store list of party names for local access

    if (time() - prevtime < DELAY) then return end; --one invite creates several events :(
    WL:print("Caching group at time "..tostring(date()))
    wipe(WL.groupnames)

    if(WLsavedtable.playertowatch and WLsavedtable.playertowatch~="") then
    WL.groupnames[WLsavedtable.playertowatch] = true
    else
    if (UnitInRaid("player")) then
    local name, rank, subgroup, level, class, fileName, zone, online, isDead, role, isML
    for i = 1,GetNumGroupMembers() do
    name, rank, subgroup, level, class, fileName, zone, online, isDead, role, isML = GetRaidRosterInfo(i);
    if(name) then
    WL.groupnames[name] = true
    end
    end
    elseif (UnitInParty("player")) then
    for i = 1, GetNumGroupMembers() do
    --WL.groupnames[GetPartyMember(i)] = true
    local name = GetUnitName("party"..i, true)
    --end
    WL.groupnames[name] = true
    end
    WL.groupnames[UnitName("player")] = true --yourself doesnt count as a party
    end
    end
    prevtime = time()
    end

     

    It had an end after local name = GetUnitName god knows why as it had no reason?

    GetNumPartyMembers and RaidMembers was removed in 5.0.4 so attempted to do same thing using UnitInRaid/Party then use GetNumGroupMembers to set the number in the for statement

    Not fully tested, but upon doing that I'm getting no LUA errors logging in and /wl commands work again

     

    Edit: Just tried it soloing Sha in a raid group and it seems to work fine

    Edit: http://pastebin.com/HJ9bu5da to make it easier with indentation

    Last edited by Scottehhhhh on 6/8/2013 6:59:42 PM
  • #57

    its neigh impossible for me to test this now, so I need someone else to take over it.

  • #56

    Any news on this getting updated for 5.3? 

  • #55

    Error occured in: Global
    Count: 1
    Message: ..\AddOns\WeakestLink\WeakestLink.lua line 214:
       '<eof>' expected near 'end'
    Debug:
       [string "*:OnLoad"]:6:
          [string "*:OnLoad"]:1
       [C]: ?
    Locals:
    msg = nil
    self = <unnamed> {
     0 = <userdata>
     origErrorHandler = <function> defined @Interface\AddOns\Decursive\Dcr_DIAG.lua:471
     errorHandler = <function> defined @Interface\AddOns\TradeSkillMaster\Util\ErrorHandler.lua:215
     handler = <function> defined *:OnLoad:1
    }

  • #54

    Beta is up on the project site.

  • #52

    Btw, I'm unsure why I did it, but I replaced this:

    local name,realm = UnitName("party"..i)
    if (realm) then
    name = name.."-"..realm
    end

    with:

    local name = GetUnitName("party"..i, true)

    Furthermore, there's IsInRaid() and IsInGroup() that don't require you to deal with counting, especially since GetNumRaidMembers no longer exists.

    Also, how did you accidentally commit an entire addon 'AddFriend' inside the WeakestLink folder without noticing it?

    Last edited by Dracula on 12/11/2012 12:44:08 PM
  • #53

    as far as addon within addon ....... no clue how that one slipped by, send me your modified file let me make sure it works as intended and I'll implement those changes, [email protected]

  • #51

    Updated the interface version number only, see if this works, if not might take me personally quite a bit longer as I am not able to play as much as I used to.

  • #50

    Yes, love this addon.  Would love it to be updated :)

  • #49

    please update this addon!

  • #48

    anyone still using this or need an update to the repository?

  • #46
    Hello, can someone please please please! get a hold of Daxdax and ask him if he would Please update Auction Snatch please! i like that addon better than the auther auction addons. Snatch is eaiser and quicker to use than others i have tried! Please Daxdax, we need you!!!!!!
  • #47

    lol you can just email the link on my profile page

  • #44
    1x WeakestLink-r24\WeakestLink.lua:350: attempt to compare number with string
    WeakestLink-r24\WeakestLink.lua:306: in function `reporthistory'
    WeakestLink-r24\WeakestLink.lua:290: in function `?'
    WeakestLink-r24\WeakestLink.lua:231: in function `?'
    WeakestLink-r24\WeakestLink.lua:70: in function

    From what I can see, the ENVIRONMENT_DAMAGE is putting the 'envType' parameter into 'amount'. I'm assuming eType is supposed to hold the EnvironmentType, but it's currently nowhere ever set.

    Made some changes in ENVIRONMENT_DAMAGE and SPELL_DAMAGE event, but will have to wait for next raid before I can test it ;)
  • #45
    Small adaptation of Pelf's version to fix above-mentioned error:
    http://pastebin.com/NjutRAcq
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Leaguepedia PAX Skin Giveaway