Mining Macro

Playguides written by Staff and Players.
Much more information on specific skills can be found in our T2A wiki.
Post Reply
Farlist
Posts: 51
Joined: Tue Jan 10, 2012 8:45 am

Mining Macro

Post by Farlist »

The following will loop mining unless there is nothing to mine, will say "done over here" and stop the macro.

Conditions: Pick axes must be placed within the backpack (you may use shovels but you must retarget the shovel by type with razor), if a tool wares out (breaks) it will automatically continue with the next tool available as targeted by type.

Code: Select all

Assistant.Macros.ForAction|9999
Assistant.Macros.DoubleClickTypeAction|3718|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetRelLocAction|0|0
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.IfAction|4|0|tool
Assistant.Macros.EndIfAction
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|4|0|there is no metal here to mine.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Done over here
Assistant.Macros.EndIfAction
To use this macro, copy paste it into the program Notepad and save it as .macro

Place it in *"C:\Documents and Settings\user\Application Data\Razor\Macros\Skills"

If you can't see applications data do the following:

Click Tools, Folder Options, The Tab view, and under hidden filed and folders mark "Show hidden files and folders"

Now go to the path above *

Scrapped due to failure : /

It all worked fine and then it did not.


I am taking a break from this.IfAction|4|0|there is no metal here to mine

If an Admin can remove my thread it would be much appriciated, I was certain I would be able to make it work (and at some point it did, I think...)
Last edited by Farlist on Sun Feb 05, 2012 3:57 am, edited 3 times in total.

Eastwood
Posts: 428
Joined: Tue Feb 16, 2010 6:52 pm
Location: United States

Re: Mining Macro

Post by Eastwood »

How do you put this to use exactly,

Use it while watching TV, move your character around periodically? Does it automatically drop ore at your feet?
Catskills 97-99

Farlist
Posts: 51
Joined: Tue Jan 10, 2012 8:45 am

Re: Mining Macro

Post by Farlist »

Eastwood wrote:How do you put this to use exactly,

Use it while watching TV, move your character around periodically? Does it automatically drop ore at your feet?
This is not a fully automated Macro, you still need to move around and occasionally smelt ore/get new pick axes.

I wrote this and posted it since I did not find another one that suited my needs.

This can certainly do with an improvement, you are welcome to have a crack at it XD

Post Reply

Return to “Guides”