3tree
Sorceror
Epic new mining macro
I made this mining macro and i just wanted to share it with people and i guess kinda show off at the same time. It lets you mine without having to worry about smelting manually or leaving ore on the ground for other people to steal. You just walk around pushing the same hotkey until your pack animal is full. here ya go, i hope you guys find it useful!!!
/*This is a comprehensive macro designed for Razor consisting of 2 smaller macros,This is not a bot and can not run unattended. A Fire Beetle and a pack animal are both required for this macro to function. Set the MINING macro to a hotkey and ONLY use that hotkey to use this macro, it will start mining and will stop when the ore on that tile is gone, you must then go to a new tile with fresh ore and start the macro over again.*/
/*epic mining macro*/
/*Mining*/ LOOP MACRO!!
{
(1.)Double Click (pickaxe (0E86))
(2.)Else
(3.)Double Click (shovel (0f39))
(4.)Wait for Target /*right click and reset timeout to 1*/
(5.)TargetRelLoc (0.0)
(6.)If (sysMessage "you dig some") /*you put ore in your pack*/
(7.)Exec: Play gather & smelt macro
(8.)Else
(9.)If ( SysMessage "There is no metal here to mine"
(10.)Exec Play: Macro END /*just make an empty macro, no loop*/
}
/*Gather & Smelt*/ LOOP MACRO!!
{
(1.)Double Click (iron ore) (19B9))
(2.)Wait for Target /*right click and reset timeout to 1*/
(3.)Target by Type 169 /*fire beetle*/
(4.)If (SysMessage "no item type") /*(bug fix)macro trips on nill amount of ore in your backpack)*/
(5,)Exec Orginizer Agent-1 /*put ingots in backpack onto pack animal*/
(6.)Pause 3.00sec
(7.)Exec: Play: Mining Macro
(8.)Else
(9.)If (SysMessage "you smelt the ore and put it in your backpack.")
(10.)Exec Orginizer Agent-1 /*put ingots in backpack onto pack animal*/
(11.)Pause .30sec
(12.)Exec: Play: Mining Macro
(13.)End If
}
/*NOTE.*/ /*Make sure you don't have the box checked in options that makes you drop ore logs and fish to the ground, you need them to go directly into your pack. Make sure to right click all "Wait for Target" functions and reset timeout to 1 or the macro will be constantly timing out for ungodly periods of time. Also, in order to get multiple macros to play in one macro or to get an agent to work in a macro you need to set a hot key to the second macro or agent and use that hotkey while recording the first macro. Sometimes while doing this you might need to logout and exit the entire program and start razor again to save changes*/
ok so it's not PERFECT per se seeing as how there's no recalling and dropping ore off and coming back, or using runebooks to recall around so you don't have to walk around but i'm working on that and hope to have something soon
****************************************************************************************************************
ok so after reading my old macro and realising how badly written in was and the fact that. . . well kinda didn't work so i've decided to update it with an actual WORKING one.
In this macro you don't have to keep restarting it when you get to a new spot to mine on and i haven't had any problems with being overweight or building up ques. also, this way, the macro runs much faster and much more stable, perfectly stable in fact, world saves don't even disrupt this macro. It's also easier to install into your computer this way
/* This is how the mining macro as it will look in razor */
If (Weight>545) /*put in your own max weight minus at least 1 */
Exec: Orginizer Agent-1
Exec: Play: gather & smelt macro
Else
Double click (shovel (0F39))
Double click (pickaxe (0E86))
TargetRelLoc (0.0)
/* this is the gather & smelt macro as it will look in razor*/
Double Click (iron ore (19B9))
If (SysMessage "no item of type iron ore"
Exec: Organizer Agent-1
Exec: Play: Mining macro
Else
Target by Type 169 /* fire beetle */
/* this is my mining macro as i have it saved in my computer */
!Loop
Assistant.Macros.IfAction|5|1|545
Assistant.Macros.HotKeyAction|0|Organizer Agent-1
Assistant.Macros.HotKeyAction|0|Play: everyone\Farming\Mining\Gather&Smelt
Assistant.Macros.ElseAction
Assistant.Macros.DoubleClickTypeAction|3897|True
Assistant.Macros.DoubleClickTypeAction|3718|True
Assistant.Macros.TargetRelLocAction|0|0
Assistant.Macros.IfAction|4|0|there is no metal here to mine
/* this is my smelting macro as i have it saved in my computer */
!Loop
Assistant.Macros.DoubleClickTypeAction|6585|True
Assistant.Macros.IfAction|4|0|no item of type iron ore
Assistant.Macros.HotKeyAction|0|Organizer Agent-1
Assistant.Macros.HotKeyAction|0|Play: everyone\Farming\Mining\Mining
Assistant.Macros.ElseAction
Assistant.Macros.TargetTypeAction|True|169
I made this mining macro and i just wanted to share it with people and i guess kinda show off at the same time. It lets you mine without having to worry about smelting manually or leaving ore on the ground for other people to steal. You just walk around pushing the same hotkey until your pack animal is full. here ya go, i hope you guys find it useful!!!
/*This is a comprehensive macro designed for Razor consisting of 2 smaller macros,This is not a bot and can not run unattended. A Fire Beetle and a pack animal are both required for this macro to function. Set the MINING macro to a hotkey and ONLY use that hotkey to use this macro, it will start mining and will stop when the ore on that tile is gone, you must then go to a new tile with fresh ore and start the macro over again.*/
/*epic mining macro*/
/*Mining*/ LOOP MACRO!!
{
(1.)Double Click (pickaxe (0E86))
(2.)Else
(3.)Double Click (shovel (0f39))
(4.)Wait for Target /*right click and reset timeout to 1*/
(5.)TargetRelLoc (0.0)
(6.)If (sysMessage "you dig some") /*you put ore in your pack*/
(7.)Exec: Play gather & smelt macro
(8.)Else
(9.)If ( SysMessage "There is no metal here to mine"
(10.)Exec Play: Macro END /*just make an empty macro, no loop*/
}
/*Gather & Smelt*/ LOOP MACRO!!
{
(1.)Double Click (iron ore) (19B9))
(2.)Wait for Target /*right click and reset timeout to 1*/
(3.)Target by Type 169 /*fire beetle*/
(4.)If (SysMessage "no item type") /*(bug fix)macro trips on nill amount of ore in your backpack)*/
(5,)Exec Orginizer Agent-1 /*put ingots in backpack onto pack animal*/
(6.)Pause 3.00sec
(7.)Exec: Play: Mining Macro
(8.)Else
(9.)If (SysMessage "you smelt the ore and put it in your backpack.")
(10.)Exec Orginizer Agent-1 /*put ingots in backpack onto pack animal*/
(11.)Pause .30sec
(12.)Exec: Play: Mining Macro
(13.)End If
}
/*NOTE.*/ /*Make sure you don't have the box checked in options that makes you drop ore logs and fish to the ground, you need them to go directly into your pack. Make sure to right click all "Wait for Target" functions and reset timeout to 1 or the macro will be constantly timing out for ungodly periods of time. Also, in order to get multiple macros to play in one macro or to get an agent to work in a macro you need to set a hot key to the second macro or agent and use that hotkey while recording the first macro. Sometimes while doing this you might need to logout and exit the entire program and start razor again to save changes*/
ok so it's not PERFECT per se seeing as how there's no recalling and dropping ore off and coming back, or using runebooks to recall around so you don't have to walk around but i'm working on that and hope to have something soon
****************************************************************************************************************
ok so after reading my old macro and realising how badly written in was and the fact that. . . well kinda didn't work so i've decided to update it with an actual WORKING one.
In this macro you don't have to keep restarting it when you get to a new spot to mine on and i haven't had any problems with being overweight or building up ques. also, this way, the macro runs much faster and much more stable, perfectly stable in fact, world saves don't even disrupt this macro. It's also easier to install into your computer this way
/* This is how the mining macro as it will look in razor */
If (Weight>545) /*put in your own max weight minus at least 1 */
Exec: Orginizer Agent-1
Exec: Play: gather & smelt macro
Else
Double click (shovel (0F39))
Double click (pickaxe (0E86))
TargetRelLoc (0.0)
/* this is the gather & smelt macro as it will look in razor*/
Double Click (iron ore (19B9))
If (SysMessage "no item of type iron ore"
Exec: Organizer Agent-1
Exec: Play: Mining macro
Else
Target by Type 169 /* fire beetle */
/* this is my mining macro as i have it saved in my computer */
!Loop
Assistant.Macros.IfAction|5|1|545
Assistant.Macros.HotKeyAction|0|Organizer Agent-1
Assistant.Macros.HotKeyAction|0|Play: everyone\Farming\Mining\Gather&Smelt
Assistant.Macros.ElseAction
Assistant.Macros.DoubleClickTypeAction|3897|True
Assistant.Macros.DoubleClickTypeAction|3718|True
Assistant.Macros.TargetRelLocAction|0|0
Assistant.Macros.IfAction|4|0|there is no metal here to mine
/* this is my smelting macro as i have it saved in my computer */
!Loop
Assistant.Macros.DoubleClickTypeAction|6585|True
Assistant.Macros.IfAction|4|0|no item of type iron ore
Assistant.Macros.HotKeyAction|0|Organizer Agent-1
Assistant.Macros.HotKeyAction|0|Play: everyone\Farming\Mining\Mining
Assistant.Macros.ElseAction
Assistant.Macros.TargetTypeAction|True|169