hellwina
Sorceror
Recall Mining Macro
The following macro will recall to all runes in a book and mine each location, recall to your house, offload the ore and restock on pickaxes/shovels. When you have mined all 16 spots in the book it will stop (you can loop it if you want too).
You can create one of these macro's for each runebook you have of mining spots and paste them all into one macro and run it. I have marked in the macro where you need to change things. When running this macro make sure that you have no marked or unmarked runes loose in your backpack. You can reset the 2nd For Loop (1 to 10) depending on how much ore your character can carry.
You will need a secure container locked down at the front of your house (somewhere you can recall in front of) for your ore to be dropped, and a container to restock from. The macro is currently set for pickaxes but you can re-target to use shovels if you prefer.
Fill a runebook full of mining spots in caves.
Set your Restock 1 agent for 2 pickaxes or 2 shovels
Set your Organizer 1 agent for ore/gems and set the container locked down at your house as the hot bag.
Make a runebook that contains your recall spot to your house in front of the secure containers in a seperate runebook and make sure it is in the 2nd spot inside your book. This is important because the mining books runes get rotated as you mine.
I'm sure this macro could be improved on but it works fine for what I need.
PS: Don't use it to mine AFK, you can get jailed.
The following macro will recall to all runes in a book and mine each location, recall to your house, offload the ore and restock on pickaxes/shovels. When you have mined all 16 spots in the book it will stop (you can loop it if you want too).
You can create one of these macro's for each runebook you have of mining spots and paste them all into one macro and run it. I have marked in the macro where you need to change things. When running this macro make sure that you have no marked or unmarked runes loose in your backpack. You can reset the 2nd For Loop (1 to 10) depending on how much ore your character can carry.
You will need a secure container locked down at the front of your house (somewhere you can recall in front of) for your ore to be dropped, and a container to restock from. The macro is currently set for pickaxes but you can re-target to use shovels if you prefer.
Fill a runebook full of mining spots in caves.
Set your Restock 1 agent for 2 pickaxes or 2 shovels
Set your Organizer 1 agent for ore/gems and set the container locked down at your house as the hot bag.
Make a runebook that contains your recall spot to your house in front of the secure containers in a seperate runebook and make sure it is in the 2nd spot inside your book. This is important because the mining books runes get rotated as you mine.
I'm sure this macro could be improved on but it works fine for what I need.
Code:
// Mine 1 Book
Assistant.Macros.ForAction|16
Assistant.Macros.IfAction|4|0|world will save
Assistant.Macros.PauseAction|00:00:35
Assistant.Macros.EndIfAction
// re-target mining runebook
Assistant.Macros.DoubleClickAction|1134963930|8901
// -----------------------------
Assistant.Macros.WaitForGumpAction|1431013363|False|4
Assistant.Macros.GumpResponseAction|5|0|0
Assistant.Macros.PauseAction|00:00:02
//edit this depending on weight to carry
Assistant.Macros.ForAction|10
Assistant.Macros.IfAction|4|0|worn out your
// re-target shovel if preferred
Assistant.Macros.DoubleClickTypeAction|3718|True
// ------------------------------
Assistan.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
//------------------------------
Assistant.Macros.IfAction|4|0|world will save
Assistant.Macros.PauseAction|00:00:35
Assistant.Macros.EndIfAction
// re-target to a shovel if preferred
Assistant.Macros.DoubleClickTypeAction|3718|True
// ------------------------------
Assistant.Macros.WaitForTargetAction|4
Assistant.Macros.TargetRelLocAction|1|-1
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.IfAction|4|0|worn out your
// re-target shovel if preferred
Assistant.Macros.DoubleClickTypeAction|3718|True
// ------------------------------
Assistan.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
Assistant.Macros.EndForAction
// re-target mining runebook
Assistant.Macros.DoubleClickAction|1134963930|8901
// ------------------------------
Assistant.Macros.WaitForGumpAction|1431013363|False|4
Assistant.Macros.GumpResponseAction|3|0|0
Assistant.Macros.WaitForGumpAction|1431013363|False|4
Assistant.Macros.GumpResponseAction|0|0|0
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.LiftTypeAction|7956|1
// set this to mining runebook
Assistant.Macros.DropAction|0x43A62CDA|(-1, -1, 0)|0
// ------------------------------
Assistant.Macros.PauseAction|00:00:01
// set to home book
Assistant.Macros.DoubleClickAction|1085934701|8901
// ------------------------------
Assistant.Macros.WaitForGumpAction|1431013363|False|4
Assistant.Macros.GumpResponseAction|11|0|0
Assistant.Macros.PauseAction|00:00:02
Assistant.Macros.HotKeyAction|0|Organizer Agent-1
Assistant.Macros.PauseAction|00:00:01.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
// re-target restock container
Assistant.Macros.AbsoluteTargetAction|0|0|1089796803|4120|322|3|3651
// ------------------------------
Assistant.Macros.PauseAction|00:00:01.5000000
Assistant.Macros.EndForAction