Get an Epic Experience with Premium

MillButton

Inscription Login to Add Favorites
  • 4 Likes
  • World of Warcraft
  • 223 Monthly Downloads
  • Supports: 5.4.2
  • 6,264 Total Downloads
  • Updated 02/28/2014
  • Created 09/07/2011
  • 10 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: Creative Commons
  • Newest File: MillButton 1.1
or

About MillButton

Description

MillButton is a very small addon that greatly simplifies the macro a scribe uses to mill semi-large quantities of herbs. Instead of being limited by the macro's resources - character limit, what functions can be called - the new macro (instructions are further down) calls MillButton, which executes from the Addons.

Important:

  • The herbs must be: in stacks of 5; multiples of 5; or at least greater than or equal to 5. The addon will not and cannot compact disparate same-type stacks. It will output the message "No more herbs in stacks of 5 or more." to your chat window.
  • Make certain that only the herbs you want to mill are in your bags. The addon is not capable of differentiating between mill and don't-mill.
  • There must be no partial herbs (the ones that require ten of them in order to turn them into a complete herb) in-between your stacks of millable herbs. You will get a game error message telling you "You cannot mill that" instead of the addon error message in your chat box. If that occurs and you still have herbs you want milled, you will need to open your bags and shuffle stuff around.
  • If you are a scribe that does a super load of milling on a constant basis, i.e.: to create and sell lots of glyphs on the Auction House, I suggest using a different addon. MillButton is geared for scribes that perform milling in spurts.
  • MillButton now mills Desecrated Herb again! Thank you Puxx and Ro.
  • Added locale support for deDE, esES/esMX, frFR, itIT, and ptBR! Big thank you to flow0284!

Instructions

Download the addon and place it in your AddOns folder. The AddOns folder is located within the Interface folder of your World of Warcraft folder. To give you an idea: C:\Program Files\World of Warcraft\Interface\AddOns. If you are using the Curse client, then don't worry about this step.

Next, make certain you have MillButton enabled in the Addons list. Launch World of Warcraft. At the character selection screen, look at the bottom left for the AddOns button. Click the button. Scroll, if necessary, down the list until you see "MillButton". Click next to it to place a check mark (click again to remove the check mark, disabling MillButton, if you want to turn the addon off). Click "Okay".

Now log in to the character you mill with. Once in the game, type /macro . This shortcut command opens up your Macro page. NOTE: If you have multiple characters that you will use to mill herbs, then stay in the General Macros tab. Otherwise, click <Character name> Specific Macros. Or not. Whichever you prefer or works best for you.

Choose an icon for the macro to use. Name it something appropriate to what you will use it for. Keep it short. In my case, I named it "mill".

In the box labeled "Enter Macro Commands" type the following text:

#showtooltip Milling
/run MillButtonSetup()
/click MillButton

This macro works no matter your game locale.

Remember to click the Save button! Just in case. :)

Finally, click and drag the icon to any location on your action bars. Now if you want, you can - as Ro put it - "Put it on mousewheel and spin ahoy." I myself prefer to click.

I hope this is useful! If I wasn't clear on something, please let me know in the Comments section on Curse.com.

Credit

Last but never least - credit and thank you to Ro of Hyjal for creating and sharing this in the WoW Professions forum (link). (Plus, I'm really sorry that I missed giving you credit for so long, I honestly thought I'd written it in here!) I'm maintaining it on Curse so more people are aware of it and can benefit from it. Ro, you are awesome. <3

28 Feb 2014 - MillButton now supports additional locales: deDE, esES/esMX, frFR, itIT, and ptBR. Thank you to flow0284 for helping make this happen! As a side note, I need French and Italian translators. Don't worry, it's only for a single line - "No more herbs in stacks of 5 or more." Any Russian speakers? flow0284 provided framework for adding ruRU but I need a Russian translator to verify that the translations are correct. Additionally, if anyone else wants a locale not listed here, please send me a PM at Curse.com. I'll do my best to add it, but I make no guarantee on fast it will happen. I hope everyone is enjoying the new year!

14 Sep 2013 - ToC bump and inclusion of readme.txt (just so there is off-line documentation of how to use the add-on). I also want to take this opportunity to inform users that MillButton is 100% within the rules laid down by Blizzard Entertainment for add-ons. There was incident in which a former user claimed it got his account banned and, on appeal, instead suspended. This had nothing to do with the add-on and everything to do with what the user was doing. If a player sits down and continuously mills hundreds and hundreds of herbs for hour or two then that is going to trigger an automated response by Blizzard's anti-botting system regardless of the add-on being used. I am sorry that the incident occurred but I am not responsible for its occurrence. On to a lighter note: I hope everyone is enjoying Patch 5.4 - especially all the new glyphs!

22 May 2013 - ToC bump. Everything is working (including Desecrated Herb). I hope everyone is enjoying the 5.3 patch!

17 Apr 2013 - Fixed MillButton so that it mills Desecrated Herb. Big thank you to Puxx and Ro! (Also, I noticed that I wrote the wrong year for the previous entry in the change log, so I fixed that, too.)

05 Mar 2013 - Everything still works, so I am bumping the TOC to 5.2. For those who may be interested, orchaceus posted a modified macro in the comments section of the addon page on Curse that allows you to turn autoloot on/off. ( http://www.curse.com/addons/wow/millbutton?comment=2 ) Also in the comments section is a Prospecting version of MillButton, if you are interested in that.

10 Dec 2012 - Bumping the TOC since Patch 5.1.0a made the addon show as out of date.

11 Nov 2012 - Discovered that Curseforge.com actually had accepted the addon way-back-when. So embarrassed. The only change is a bump to the TOC so that it should no longer shows as "out of date" even though it works fine. If you have recently experienced an error using MillButton, it is very likely that another addon is the actual culprit.

Comments

First Previous Page 2 of 2 Next Last
  • #18

    Hi just to let you know, someone posted that they got banned for using this plugin. Not sure why, but perhaps it'll be of interest to you. Don't mean to scare anyone off of it or anything, just thought the creator may want to have a look.

    http://eu.battle.net/wow/en/forum/topic/7527512738

  • #20

    I appreciate your time in reporting this to me. I am already aware of the claim, however, and responded to lanceb's concerns through a private message. Unfortunately, I do not have an EU license for World of Warcraft and am unable to publicly respond to that thread. The add-on is legitimate and does not break any EULA or ToS.

  • #11

    Strangely, it didn't mill Desecrated Herb when I tried today. I still love the addon though ;)

     

  • #14

    So, here is what I suspect is occurring (and I've seen reports in author comments for other milling addons): Desecrated Herb isn't identified as being an herb. This is something I cannot fix because the fault is with Blizzard. In the meanwhile, I'm testing various tweaks to the addon to work around this problem.

  • #12

    Thanks for the report. I will investigate why this is occurring.

     

  • #2
    useful macro

    Great addon! I was just looking for something as simple as this. No idea why it shouldn't be put to 'serious' usage.

    I macroed it with Auto Loot option. To disable Auto Loot, right click the button. Tried to disable it right away but it cannot work.

    #showtooltip Milling
    /script SetCVar("AutoLootDefault", 0)
    /stopmacro [button:2]
    /script SetCVar("AutoLootDefault", 1)
    /run MillButtonSetup()
    /click MillButton

    Thanks, aliok!

  • #4

    I'm a little confused on what you are reporting or asking for. Do you mean that Auto Loot will turn on with the modification you made, but will not turn off when you perform the same action?

    Last edited by aliok on 2/4/2013 11:03:29 PM
  • #7

    Oh, that's good to hear. (Not the game issue - that's a shame.) Thank you for posting the macro for others to use. :)

     

    (Curse keeps putting my replies in the wrong places, sorry if I end up spamming your e-mail.)

  • #5

    I mean, with my macro you can Mill with Auto Loot with left click, and disable Auto Loot with right click. I tried to make a macro that turns on Auto Loot, mills, then turns off Auto Loot but then pigments aren't auto-looted. That's game's issue, not addon's one ;)

  • #1
    MillButton into ProspectButton

    Another user asked me about re-purposing MillButton to perform prospecting. I may upload it as its own mini-Addon at some point, but in the mean-while I'll put the instructions here.

    Create a new folder in your Addons and name it "ProspectButton". Go to your MillButton folder and copy/paste the two files there into the folder you just created.

    Rename MillButton.toc to ProspectButton.toc and MillButton.lua to ProspectButton.lua

    Open ProspectButton.toc using Notepad or similar. Here is what it needs to look like:

    ## Interface: 50400
    ## Title: ProspectButton
    ## Notes: Help for prospecting
    ProspectButton.lua

    Save the changes and close the file.

    Open ProspectButton.lua using Notepad or similar. Here is what it needs to look like:

    --[[ macro should be: /run ProspectButtonSetup() /click ProspectButton ]]

    local prospect = CreateFrame("CheckButton","ProspectButton",UIParent,"SecureActionButtonTemplate")
    prospect:SetAttribute("type","macro")

    local function findmetal()
      local function f(b,s)
        return select(7,GetItemInfo(GetContainerItemLink(b,s) or 0))=="Metal & Stone" and select(2,GetContainerItemInfo(b,s))>=5
      end
      for i=0,4 do
        for j=1,GetContainerNumSlots(i) do
          if f(i,j) then
            return i,j
          end
        end
      end
    end  

    function ProspectButtonSetup()
      local b,s = findmetal()
      if (not b or not s) or LootFrame:IsVisible() or CastingBarFrame:IsVisible() or UnitCastingInfo("player") then
        -- do nothing if no ore, if looting or casting
        ProspectButton:SetAttribute("macrotext","")
        if not b then
          print("No more ore in stacks of 5 or more.")
        end
      else
        ProspectButton:SetAttribute("macrotext","/cast Prospecting\n/use "..b.." "..s)
      end
    end

    Save the changes and close the file.

    Open World of Warcraft and make certain that the addon is enabled. Log in to your server and make the following macro:

    #showtooltip Prospecting
    /run ProspectButtonSetup()
    /click ProspectButton

    -------------------------
    You should be good to go now! **I have one very important caveat, however.** There must be no stone or non-prospectable ore (this includes partial ore such as Ghost Iron Nugget) in-between your stacks of prospectable ore. You will get a game error message telling you "There are no gems in this" instead of the addon error message in your chat box. If that occurs and you still have ore you want prospected, you will need to open your bags and shuffle stuff around.

    Have a good time in WoW!

    Aliok

     

    Last edited by aliok on 3/31/2014 8:04:24 PM
  • 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