Close
Showing results 1 to 5 of 5
  1. #1

    Question Macro to Greed and Confirm loot rolls

    Trying make a macro that will greed roll and then confirm the roll. Currently i'm using Jamba's Opt out of loot function, but not rolling on loot cuts out how much I make when its only 1 of my toons and a pug rolling (i'm a 4 boxer). Yes I realize that I could just manually click the button but that takes time and i'd like to speed things up a bit.

    http://www.wowwiki.com/World_of_Warcraft_API

    Following scripts from above link under Loot Functions you'll find

    ConfirmLootRoll(rollId[, roll]) - Confirm a loot roll (NEW IN 1300)
    Arguments
    (required)
    Rollid
    Number - The number increases with every roll you have in a party. Till how high it counts is currently unknown.
    (Optional)
    roll
    Number/nil - Is the roll a pass on the item or a real roll? send nil to pass on the item, send 1 to roll. Note: Blizzard uses 0 to pass, 1 to Need an item, 2 to Greed an item, and 3 to Disenchant an item.

    RollOnLoot(rollId[, roll]) - Roll or pass on a loot event started by the game engine.
    RollID
    Number - As passed by the event. (The number increases with every roll you have in a party)
    roll
    Number - Type of roll: (also passed by the event) 1 : Need roll 2 : Greed roll 3 : Disenchant roll

    So why doesn't the following work?

    /script RollOnLoot(1[, 2])
    /script ConfirmLootRoll(1[, 2])
    Interested in the worlds largest multiboxer guild for Classic WoW?
    <Overload> Multiboxer guild for end game raiding
    Server: Herod - NA-PvP, Eastern
    Faction: Horde
    Raid Time: 6pm-11pm EST on Sat, Sun, Tues.
    Discord:https://discord.gg/keWJpHF

  2. #2

    Default

    Use this macro to find the name of those buttons and create a click macro for it.

    /run local f = GetMouseFocus(); if f then DEFAULT_CHAT_FRAME:AddMessage(f:GetName()) end

  3. #3
    Member
    Join Date
    Aug 2009
    Location
    Svpernova's Hillbilly Cousin
    Posts
    128

    Default

    Take out the brackets. They are there to indicate optional parameters.

    /script RollOnLoot(1, 2)
    /script ConfirmLootRoll(1, 2)

  4. #4

    Default

    /click worked. Haven't tested Poyzon's idea.
    Here's the macro:

    /click GroupLootFrame1GreedButton
    /click StaticPopup1Button1
    /click GroupLootFrame2GreedButton
    /click StaticPopup1Button1
    /click GroupLootFrame3GreedButton
    /click StaticPopup1Button1
    /click GroupLootFrame4GreedButton
    /click StaticPopup1Button1
    Works with up to 4 roll items dropped at a time.
    Interested in the worlds largest multiboxer guild for Classic WoW?
    <Overload> Multiboxer guild for end game raiding
    Server: Herod - NA-PvP, Eastern
    Faction: Horde
    Raid Time: 6pm-11pm EST on Sat, Sun, Tues.
    Discord:https://discord.gg/keWJpHF

  5. #5
    Member Tdog's Avatar
    Join Date
    Mar 2008
    Location
    In 5 places at once...
    Posts
    1029

    Default

    sweet im going to have to go try this out now.

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •