Better Milling/Prospecting Macros (Never fail on stacks less than 5 again!) menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Sklug's Avatar ★ Elder ★
    Reputation
    1084
    Join Date
    Mar 2008
    Posts
    1,210
    Thanks G/R
    210/224
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Better Milling/Prospecting Macros (Never fail on stacks less than 5 again!)

    Essentially this is a two-part macro. Rather than getting stuck in your bags when you hit an uneven stack of herbs/ore, it will skip them and move on to larger stacks further on in your bags. It will also update your current icon to show whichever herb you are milling/prospecting and however much you have left.

    FIRST:


    MILLING

    MILLING MACRO 1
    (Can be named whatever you want, and just needs to run once upon login)


    Code:
    /run function FnH() for i=0,4 do for j=1,GetContainerNumSlots(i) do local t={GetItemInfo(GetContainerItemLink(i,j) or 0)} if t[7]=="Herb" and select(2,GetContainerItemInfo(i,j))>=5 then return i.." "..j,t[1] end end end end

    MILLING MACRO 2
    Main Milling macro. IT MUST BE TITLED "Milling2" without the quotations


    Code:
    /run local f,l,n=AuM or CreateFrame("Button","AuM",nil,"SecureActionButtonTemplate") f:SetAttribute("type","macro") l,n=FnH() if l then f:SetAttribute("macrotext","/cast Milling\n/use "..l) SetMacroItem("Milling2",n) end
    /click AuM
    /use Desecrated Herb
    PROSPECTING

    Prospecting Macro 1
    (Can be named whatever you want, and just needs to run once upon login)


    Code:
    /run function FnO() for i=0,4 do for j=1,GetContainerNumSlots(i) do local t={GetItemInfo(GetContainerItemLink(i,j) or 0)} if t[7]=="Metal & Stone" and select(2,GetContainerItemInfo(i,j))>4 then return i.." "..j,t[1] end end end end

    PROSPECTING MACRO 2
    Main Prospecting macro. IT MUST BE TITLED "Prospecting2" without the quotations


    Code:
    /run local f,l,n=AuP or CreateFrame("Button","AuP",nil,"SecureActionButtonTemplate") f:SetAttribute("type","macro") l,n=FnO() if l then f:SetAttribute("macrotext","/cast Prospecting\n/use "..l) SetMacroItem("Prospecting2",n) end
    /click AuP
    HEADS UP!!! This works best with Ore that doesn't produce things like heavy stones as it will try to prospect those... so it works perfect with MoP stuff, just maybe not low lvl stuff. Also, it will try to prospect bars, so make sure you don't have any bars in your bags either.
    Last edited by Sklug; 01-27-2013 at 01:59 AM.

    Better Milling/Prospecting Macros (Never fail on stacks less than 5 again!)
  2. #2
    Grabberman's Avatar Sergeant
    Reputation
    11
    Join Date
    Sep 2012
    Posts
    58
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't mill nor prospect but props on that macros bro, idk if i can rep

  3. #3
    nivek99's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Confirmed macros work for both milling and prospecting.

    1 issue I encountered with milling is if you have golden lotus or other non milling herbs in your bag it causes the macro to fail

  4. #4
    Sklug's Avatar ★ Elder ★
    Reputation
    1084
    Join Date
    Mar 2008
    Posts
    1,210
    Thanks G/R
    210/224
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by nivek99 View Post
    Confirmed macros work for both milling and prospecting.

    1 issue I encountered with milling is if you have golden lotus or other non milling herbs in your bag it causes the macro to fail
    Ya, it's a trade off... just make sure golden lotus is at the bottom of your last bag or in the bank and you'll be fine... other than that works with everything else.

  5. #5
    makrin's Avatar Member
    Reputation
    1
    Join Date
    Dec 2006
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Works Well !!!

  6. #6
    Hanss's Avatar Established Member 8-) CoreCoins Purchaser
    Reputation
    81
    Join Date
    Sep 2008
    Posts
    132
    Thanks G/R
    14/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Prospecting tries prospecting items like Heavy Stone etc.

    EDIT: Also bars of metal
    Last edited by Hanss; 01-21-2013 at 06:09 PM.

  7. #7
    Sklug's Avatar ★ Elder ★
    Reputation
    1084
    Join Date
    Mar 2008
    Posts
    1,210
    Thanks G/R
    210/224
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Hanss View Post
    Prospecting tries prospecting items like Heavy Stone etc.

    EDIT: Also bars of metal
    Ya thanks for the heads up on that... so be aware people that to use the Prospecting macros, just make sure you are sticking with the current MoP ores in your bags so you don't encounter stones and crap... I'd prob have to adjust the macro for Metal & Stone & <insert what bars/heavy stones are tagged as in API> of which I am not sure... also, it is the Sparkling Shards that are the Stones for some reason... weird.

Similar Threads

  1. Milling / Prospecting Macro
    By mizernik in forum World of Warcraft Guides
    Replies: 6
    Last Post: 09-03-2009, 09:15 AM
  2. prospecting macro/milling macro
    By LemmyRock in forum World of Warcraft Guides
    Replies: 8
    Last Post: 02-19-2009, 04:31 AM
  3. JC prospect macro
    By Pavavion in forum World of Warcraft Guides
    Replies: 1
    Last Post: 10-31-2007, 01:07 AM
All times are GMT -5. The time now is 11:16 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search