Easy mining helper macro.

Playguides written by Staff and Players.
Much more information on specific skills can be found in our T2A wiki.
User avatar
MatronDeWinter
UOSA Donor!!
UOSA Donor!!
Posts: 7249
Joined: Wed Mar 04, 2009 3:35 am
Location: 你的錢包

Easy mining helper macro.

Post by MatronDeWinter »

Here is the macro I use, it takes the monotony out of mining. You have a backpack full of shovels and you use one then select a place to mine and play the macro. You will mine a spot dry and then it will present you with a target to select a new spot. Once your overweight (you set this to your max weight minus 20 or so) it will spam "time to smelt" every 5 seconds until you clear the ore from your bag or smelt it into ingots. Just walk around a click, very simple.

I am too lazy to type everything exactly, so here is a screenshot.
Image

Edit: I should also note that I have this macro bound to a hotkey1, and another that is simply a recording of double clicking ore and clicking a forge, and setting both to type. I press hotkey 1, start clicking spots when I stay spamming "time to smelt" I run over to a forge and press hotkey 2 and repeat. I can mine about 6k ingots in an hour using this method.

Edit: Added copy/paste macro text below.
Mining Macro for hotkey 1

Code: Select all

!Loop
Assistant.Macros.IfAction|5|1|370
Assistant.Macros.SpeechAction|0|690|3|ENU|2|16|158|time to smelt
Assistant.Macros.PauseAction|00:00:05
Assistant.Macros.ElseAction
Assistant.Macros.DoubleClickTypeAction|3897|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.LastTargetAction
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.IfAction|4|0|dig some
Assistant.Macros.DoubleClickTypeAction|3897|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.LastTargetAction
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|4|0|no metal
Assistant.Macros.HotKeyAction|1060|
Assistant.Macros.WaitForTargetAction|10
Assistant.Macros.EndIfAction
Assistant.Macros.EndIfAction
Simply smelt macro for hotkey 2 (also used to stop macro 1)

Code: Select all

Assistant.Macros.DoubleClickTypeAction|6585|True
Assistant.Macros.WaitForTargetAction|2
Assistant.Macros.TargetTypeAction|False|4017
It's setup to work with small forges, but you can re-target the last line in the second macro to whatever forge your using. I use shovels because you dont have to equip them and worry about all that extra hassle. Simple is efficient.
Last edited by MatronDeWinter on Tue Mar 24, 2009 6:42 pm, edited 2 times in total.

Daolin
UOSA Donor!!
UOSA Donor!!
Posts: 843
Joined: Fri Feb 13, 2009 7:29 am

Re: Easy mining helper macro.

Post by Daolin »

Just make a macro that does everything. It doesn't cut out the monotony until you can completely free hand it.

Kryptonical
UOSA Donor!!
UOSA Donor!!
Posts: 1209
Joined: Mon Jan 12, 2009 2:54 pm

Re: Easy mining helper macro.

Post by Kryptonical »

whats your daolin?

Daolin
UOSA Donor!!
UOSA Donor!!
Posts: 843
Joined: Fri Feb 13, 2009 7:29 am

Re: Easy mining helper macro.

Post by Daolin »

Kryptonical wrote:whats your daolin?
Would definitely not share :p But I will definitely help with any semi-automatic mining macros.

User avatar
MatronDeWinter
UOSA Donor!!
UOSA Donor!!
Posts: 7249
Joined: Wed Mar 04, 2009 3:35 am
Location: 你的錢包

Re: Easy mining helper macro.

Post by MatronDeWinter »

Free-hand = Unauthorized, FYI

Edit: I should say that unattended free-hand mining is unauthorized, but leaving a script fully automatic could lead to a bannable offense if you get up yo use the restroom ect.. I am just trying to GM tinkering, so I do not need many ingots, as 1000 ingots lasts me a solid 2 hours of tinker-macroing.
Last edited by MatronDeWinter on Tue Mar 24, 2009 6:21 pm, edited 1 time in total.

Daolin
UOSA Donor!!
UOSA Donor!!
Posts: 843
Joined: Fri Feb 13, 2009 7:29 am

Re: Easy mining helper macro.

Post by Daolin »

MatronDeWinter wrote:Free-hand = Unauthorized, FYI
No, unattended is unauthorized!

Also, you can just copy and paste macro from macro folder in razor

User avatar
MatronDeWinter
UOSA Donor!!
UOSA Donor!!
Posts: 7249
Joined: Wed Mar 04, 2009 3:35 am
Location: 你的錢包

Re: Easy mining helper macro.

Post by MatronDeWinter »

Let me guess, your on a boat mining the wall, or recalling from one spot to another (as I see many AFK macroers doing)

Daolin
UOSA Donor!!
UOSA Donor!!
Posts: 843
Joined: Fri Feb 13, 2009 7:29 am

Re: Easy mining helper macro.

Post by Daolin »

MatronDeWinter wrote:Let me guess, your on a boat mining the wall, or recalling from one spot to another (as I see many AFK macroers doing)
I prefer to recall. Its not AFK though. Just easier on the tendonitis

User avatar
MatronDeWinter
UOSA Donor!!
UOSA Donor!!
Posts: 7249
Joined: Wed Mar 04, 2009 3:35 am
Location: 你的錢包

Re: Easy mining helper macro.

Post by MatronDeWinter »

I frequently camp the little patch of mountain north of the Occlo bank with box of potions and a hatchet waiting for someone to recall in all "AFK-like" to mine the whatever type of ore comes out of there. If you hang out at the Occlo bank, you will see 10 or 15 afk miners recall in and out all day long. Good loot on those guys.

Daolin
UOSA Donor!!
UOSA Donor!!
Posts: 843
Joined: Fri Feb 13, 2009 7:29 am

Re: Easy mining helper macro.

Post by Daolin »

haha.. I never go there. Interesting. You don't get guard whacked or counts?

User avatar
MatronDeWinter
UOSA Donor!!
UOSA Donor!!
Posts: 7249
Joined: Wed Mar 04, 2009 3:35 am
Location: 你的錢包

Re: Easy mining helper macro.

Post by MatronDeWinter »

I get murder counts, but they're all on a newbie character and you can stand just outside of the guard zone and toss a potion to the box without gating or anything.

Daolin
UOSA Donor!!
UOSA Donor!!
Posts: 843
Joined: Fri Feb 13, 2009 7:29 am

Re: Easy mining helper macro.

Post by Daolin »

nice!!

Anyway, back on topic! Post the whole macro from a text file. That way we can copy and paste it! :D

Daolin
UOSA Donor!!
UOSA Donor!!
Posts: 843
Joined: Fri Feb 13, 2009 7:29 am

Re: Easy mining helper macro.

Post by Daolin »

Hey, this is an old thread, but a good one. I didn't realize you could mine w/ multiple tools until Matron mentioned it to me. I was making a new crafter that needed GM mining in order for smelting. I decided to do a simple macro w/ 5 shovels to test it out and it took 6 hours, 45 minutes from 0 to GM. I did a small scale test and found that 5 shovels was more than 2x faster than single shoveling. You would probably do just fine w/ 3 shovels as well.

All you need to do is record 5 shovels hitting a relative location. Edit all the wait timers to 1 second. I included a conditional organizer macro. If there is no metal to mine, then move ore to your feet. Definitely choose (0,0) your feet, because obstructions will screw this up if you choose any other location. Don't try to check the drop resources to your feet option. It will completely slow up the process. From here, I simple ran from spot to spot. Make sure your 5 pickaxes are visible in order and just replace them when you need to. If you want to save the ore, you could consider changing the organize macro to a packhorse.

I'll just post the macro i used:

Code: Select all

!Loop
Assistant.Macros.DoubleClickAction|1077807922|3718
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetRelLocAction|-1|0
Assistant.Macros.DoubleClickAction|1077967869|3718
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetRelLocAction|-1|0
Assistant.Macros.DoubleClickAction|1077805430|3718
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetRelLocAction|-1|0
Assistant.Macros.DoubleClickAction|1077805438|3718
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetRelLocAction|-1|0
Assistant.Macros.DoubleClickAction|1077967872|3718
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetRelLocAction|-1|0
Assistant.Macros.IfAction|4|0|there is no metal here to mine.
Assistant.Macros.LiftTypeAction|6585|20
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.DropRelLocAction|0|0|0
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.ElseAction

toddhovre
Posts: 7
Joined: Wed Mar 03, 2010 12:41 pm

Re: Easy mining helper macro.

Post by toddhovre »

.
Last edited by toddhovre on Mon Jan 14, 2019 1:04 pm, edited 1 time in total.

User avatar
nightshark
UOSA Subscriber!
UOSA Subscriber!
Posts: 4550
Joined: Mon Apr 20, 2009 10:47 pm

Re: Easy mining helper macro.

Post by nightshark »

Personally I use very simple macros.
Key 1- Use shovel (for targetting)
Key 2- Mine with 2 shovels at last target loc (looped)
Key 3- Stop playing macro
Key 4- Drop Ore at 0,0

Basically run into a mine and clear the place out, then drag it all into a single pile (for the time being my character has no magery, so I can't carry multiple ore piles using gates - I only take the iron).

I mined 2.5k ingots in about an hour, with 75-85 mining (skill increased 10 points) including time it took me to run around Minoc/Covetous area. Not bad if you just want to play with simple macros.

Using a shovel/pickaxe combo is probably better, so you don't have to retarget. I was just being cheap last night since I don't have much gold on my miner, and I couldn't be bothered transferring it from my other character.
<green> grats pink and co. .... the 3 of you f---ing scrubs together can blow up a bard. IMPRESSIVE

Post Reply