CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from Eraslin »

    Thanks for pointing out that bidstate thing; you actually uncovered a minor bug. The routine in the lootframe that calls :AddDistributionActionOptions() wasn't actually passing the bidstate.

    Hmm, well I'm glad to have found a bug then. :) Any idea when you'll get a chance to fix this? No rush, I can just remove the check until then.
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from Eraslin »

    If that's not the fix, then I'd suggest removing the bidstate test entirely, for testing purposes, just to see if your menu item gets added at all; if it doesn't, then there might be a problem with your dewdrop construction. <shrug>


    Yeah, there's something in my check that's not right. Removing the test gave me the menu item. I tried setting it as you said too, but the value is still always nil. The reason I was testing on bidstate directly was because that's the argument passed to the :AddDistributionActionOptions method.

    Bah, I'm most likely doing something wrong somewhere. Oh well. Thanks for the help.
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Mornin' folks,

    I'm hard at work creating DKPmon and Bidder modules to accommodate our guild's raid loot rules. The system we use is roughly based on Ni Karma, and I'm happy to say that I've been able to set things up pretty good so far, which says a lot about the great work done on the base addons.

    However, I'm stuck now. What I'm trying to do is add a new "Action" menu item on the loot distribution window that would spam the list of current individuals who have declared interest an the item to raid chat (people must declare interest for an item, then a roll is added to their current dkp, highest total wins). This menu item would only be available in bid state 2 (bidding closed / deciding winners). Not much has been said about this section, and I thought this would be done through AddDistributionActionOptions in my DKPmon module, but however I try to set it up, the option never appears.

    Although I have coding background, LUA and WoW addon is new to me. What I was doing looks a bit like this:

    if bidstate == 2 then
      dewOptions.args.spam = {
       type = 'execute',
       name = L["Spam list"],
       desc = L["Spams the list of bidders to raid chat."],
       func = function() ** to do** end
      }
    end


    Any help getting new menu options to appear would be greatly appreciated since I will be adding another one to do the actual roll next and spamming that one next.

    Thanks.
    Posted in: General AddOns
  • To post a comment, please or register a new account.