Post by Amairgen on Jan 10, 2013 14:41:39 GMT -8
Razor User's Guide to Common Training Macros
(credit to Mara at RunUO 2010)
Section 7: Macros - Lumberjacking, Mace Fighting, Magery, Meditation, Mining
Lumberjacking: (UOT NOTE- Using the training hatchet in the Arete Melee Pits will gain Lumberjacking and Swords. Also - using Macros to gather resources while you are away from your computer is a bannable offence. Don't do it!)
The lumberjacking skill is best trained in conjunction with the swordsmanship melee skill by simply uses any of the axes or a hatchet as your melee weapon (not the halberd, bardiche, or war axe). If desired, you can also set up a macro that double-clicks or uses the axe in your hand and target a tree, while you use Set Last Target to switch from tree to tree. That is, however, a more cumbersome and less desirable method.
Mace Fighting: (UOT NOTE- the Arete Melee Pits and Training Weapons are designed to assist Warriors. Monsters spawned using the 'Levers' will last 20 minutes)
One of the easier methods of training this skill to GM is to utilize an alt character on a second account to spar with. The macing macro will automatically equip a quarterstaff (the fastest weapon for the class) to your hand so you do not need to worry about your weapon breaking. You should purchase an abundance of store bought quarterstaffs from an NPC Carpenter since they will do the least amount of damage. While you are sparring, you will be healing the opponent that you are hitting. This is the best choice for healing since you will not be interrupted by weapon hits and it is much faster to heal someone else than it is yourself. Do not forget to set the defender as your Last Target using Set Last Target or one of the other Razor targeting commands. If desired, you can also modify the attacker macro to use Magery healing instead to heal your opponent. As for the alternate character that you are sparring against, a macro is provided that will automatically equip a plate tunic and plate legs so that you will have armor on. Keep plenty of spares in the defender’s pack to be reequipped when the original ones wear out. It is important that you tab in and out of combat on the alt character after initiating combat so that they will not be fighting back. The alternate character should be holding the weapon that they are trained in (unless wrestling is their melee skill), and they will need to be trained (roughly 60-100 displayed skill) in their weapon skill as well for you to take the attacker to GM in macing. Note: For the two macros, it is essential that you record yourself lifting the weapon and armor and dropping them onto your own characters to equip them, replacing the macro line items that are there by default. This is because your character’s weapon and armor slots are unique to the character. If you fail to do this, the macros will not function properly. You can also train both characters at the same time by modifying the macros.
Macing Attacker (the character being trained)
Lift quarter staff (0E89) – 1 – Convert to Lift by Type
Equip to 0xXXXXX (L:LeftHand) – You must replace this with what you record
Pause .70sec – 700ms – Adjust if necessary
Exec: Drop What You are Currently Holding – A precaution to ensure the macro keeps working
Exec: Clear Drag/Drop Queue – A precaution to ensure the macro keeps working
Exec: Bandage LastTarget
Pause 6.00sec – Adjust as needed to keep the defender healed
Loop - Enabled
!Loop
Assistant.Macros.LiftTypeAction|3721|1
Assistant.Macros.DropAction|0x2CB28|(0, 0, 0)|2
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.HotKeyAction|1309|
Assistant.Macros.HotKeyAction|1389|
Assistant.Macros.HotKeyAction|1026|
Assistant.Macros.PauseAction|00:00:06
Melee Defender (the character being hit)
Lift platemail (1415) – 1 – Convert to Lift by Type
Equip to 0xXXXXX (L:InnerTorso) – You must replace this with what you record
Pause .70sec – 700ms – Adjust if necessary
Lift platemail (1411) – 1 – Convert to Lift by Type
Equip to 0xXXXXX (L:LastUserValid) – You must replace this with what you record
Pause .70sec – 700ms – Adjust if necessary
Exec: Drop What You are Currently Holding – A precaution to ensure the macro keeps working
Exec: Clear Drag/Drop Queue – A precaution to ensure the macro keeps working
Pause 2.00sec – Adjust as needed to keep the defender healed
Loop - Enabled
!Loop
Assistant.Macros.LiftTypeAction|5141|1
Assistant.Macros.DropAction|0x9C78B|(0, 0, 0)|13
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.LiftTypeAction|5137|1
Assistant.Macros.DropAction|0x9C78B|(0, 0, 0)|24
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.HotKeyAction|1309|
Assistant.Macros.HotKeyAction|1389|
Assistant.Macros.PauseAction|00:00:02
Magery: (UOT NOTE- Reagents can be harvested on Arete, behind the Mage Shop, beside the King's castle and at the Farm)
After gaining some initial training from an NPC mage, the following three macros can be used to GM both Magery and Resisting Spells. Use Magery 1 from 30-60 displayed Magery skill. Use Magery 2 from 60-75 displayed Magery skill. Use Magery 3 from 75-100 displayed Magery skill and GM Resisting Spells, if desired. The three spells Mana Drain(BP,MR,SS), Invisibility(BM,NS), and Mana Vampire(BP,BM,MR,SS) are used. It is generally useful to stock about 100-300 of the required reagents for the given spell to be used and then let the macro run its course. You can set up counters for the individual reagents using the Display/Counters tab and incorporate a restock agent into the macro to automatically restock your reagents when they get low. That is beyond the scope of this guide however. Scrolls can also be used (they treats spells as if they were being cast at 2 circles lower) if you have them in abundance, as they do not consume reagents or the scroll if you fail.
Magery 1 (30-60 displayed Magery skill)
If (Mana >= 11)
Exec: Mana Drain
Wait for Target – Right-click->Edit timeout to 2sec
Exec: Target Self
Else
Exec: Meditation
Wait for Mana>=11 – Right-click->Edit timeout to 15sec. Adjust if desired. Med skill and Int is a factor.
End If
Pause .60sec – 600ms – Casting Recovery Time – Adjust if necessary
Loop - Enabled
!Loop
Assistant.Macros.IfAction|1|1|11
Assistant.Macros.HotKeyAction|3002041|
Assistant.Macros.WaitForTargetAction|2
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044106|
Assistant.Macros.WaitForStatAction|1|1|11|15
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:00.6000000
Magery 2 (60-75 displayed Magery skill)
If (Mana >= 20)
Exec: Invisibility
Wait for Target – Right-click->Edit timeout to 3sec
Exec: Target Self
Else
Exec: Meditation
Wait for Mana>=20 – Right-click->Edit timeout to 20sec. Adjust if desired. Med skill and Int is a factor.
End If
Pause .60sec – 600ms – Casting Recovery Time – Adjust if necessary
Loop - Enabled
!Loop
Assistant.Macros.IfAction|1|1|20
Assistant.Macros.HotKeyAction|3002054|
Assistant.Macros.WaitForTargetAction|3
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044106|
Assistant.Macros.WaitForStatAction|1|1|20|20
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:00.6000000
Magery 3 (75-100 displayed Magery skill and GM Resisting Spells if desired)
If (Mana >= 40)
Exec: Mana Vampire
Wait for Target – Right-click->Edit timeout to 3sec
Exec: Target Self
Else
Exec: Meditation
Wait for Mana>=40 – Right-click->Edit timeout to 30sec. Adjust if desired. Med skill and Int is a factor.
End If
Pause .60sec – 600ms – Casting Recovery Time – Adjust if necessary
Loop - Enabled
!Loop
Assistant.Macros.IfAction|1|1|40
Assistant.Macros.HotKeyAction|3002063|
Assistant.Macros.WaitForTargetAction|3
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044106|
Assistant.Macros.WaitForStatAction|1|1|40|40
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:00.6000000
Meditation: (UOT NOTE - the top floor of the Arete Crafthall has a Meditation Room. DBL Click the statues to gain skill)
Meditation does not really need its own training macro. Gains in the Meditation skill are achieved during passive mana regeneration, so any of the Magery related macros will work fine to GM this skill, or you can just allow it to gain through normal spell use.
Mining: (UOT NOTE - using Macros to gather resources while you are away from your computer is a bannable offence. Don't do it!)
This macro makes it easy to walk around and mine quickly using shovels. For training, once you get into the higher levels of the mining skill, you will get faster gains from mining the higher quality ore veins. With the macro presented you simply walk around and hit your set last target hotkey and then target the ground where you want to mine. You can also use the macro to mine the sides of mountains by targeting the junction where the mountain meets the ground, but you need to give the macro a brief moment to double-click the shovels again (after hitting Set Last Target) so that you can target where you will dig (since Set Last Target alone will not allow you to target the side of the mountain). The goal is to achieve continuous motion in your mining. If the macro appears to frequently stop briefly in between digging attempts, then some adjustment should be made to the pauses in the macro. The pauses should be close to your ideal object delay setting, maybe a little less. For this macro, and the purpose of training, the razor feature – ‘Auto-Stack Ore/Fish/Logs at Feet’ and ‘Filter Repeating System Messages’ is turned ‘off’ to aid in getting things set right and to minimize the object delays lost to dropping the ore to the ground. The macro will automatically drop 2 stacks of ore (for two different colors) at your feet if the weight gets heavy enough. If you currently have low strength, you can adjust that setting as needed by Right-clicking that line item and choosing ‘Edit’.
A small variation to the macro below that is very useful for mining inside of caves is to replace the ‘Exec: Last Target’ with ‘Target Relative Location (0,0)’. You can accomplish this by Right-clicking inside the macro, select ‘Begin Recording Here’, and then record yourself hitting Set Last Target and then targeting the ground directly below your feet. Once you have done that, Right-click, and then select Convert to Relative Location. Delete the ‘Set Last Target’ added and move the ‘Target RelLoc (0,0)’ to the place where the ‘Exec: Last Target was’, and then delete the ‘Exec: Last Target’ line item. This works in mines (but not on the side of mountains) such that all you need to do is walk around and the macro will mine if there is ore available in that location.
Double Click Shovel ((0F39)) – I use shovels because they are light and inexpensive
Wait For Target – Edit Timeout to 1sec
Exec: Last Target
Pause .60sec – 600ms – Adjust as necessary. Ideal setting is likely slightly less than your ideal object delay setting. Getting this pause set right based on your ping is needed to achieve the most efficient mining.
If (Weight >= 390) – Adjust as necessary if you have low strength
For (1 to 2)
Lift Iron Ore (19B9) – 40
Drop (Relative) @ (0,0,0)
Pause .60sec – 600ms - Adjust as necessary. Ideal setting is likely slightly less than your ideal object delay setting
End For
End If
Loop - Enabled
!Loop
Assistant.Macros.DoubleClickTypeAction|3897|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.LastTargetAction
Assistant.Macros.PauseAction|00:00:00.6000000
Assistant.Macros.IfAction|5|1|390
Assistant.Macros.ForAction|2
Assistant.Macros.LiftTypeAction|6585|40
Assistant.Macros.DropRelLocAction|0|0|0
Assistant.Macros.PauseAction|00:00:00.6000000
Assistant.Macros.EndForAction
Assistant.Macros.EndIfAction
(credit to Mara at RunUO 2010)
Section 7: Macros - Lumberjacking, Mace Fighting, Magery, Meditation, Mining
Lumberjacking: (UOT NOTE- Using the training hatchet in the Arete Melee Pits will gain Lumberjacking and Swords. Also - using Macros to gather resources while you are away from your computer is a bannable offence. Don't do it!)
The lumberjacking skill is best trained in conjunction with the swordsmanship melee skill by simply uses any of the axes or a hatchet as your melee weapon (not the halberd, bardiche, or war axe). If desired, you can also set up a macro that double-clicks or uses the axe in your hand and target a tree, while you use Set Last Target to switch from tree to tree. That is, however, a more cumbersome and less desirable method.
__________________________________________________________________
Mace Fighting: (UOT NOTE- the Arete Melee Pits and Training Weapons are designed to assist Warriors. Monsters spawned using the 'Levers' will last 20 minutes)
One of the easier methods of training this skill to GM is to utilize an alt character on a second account to spar with. The macing macro will automatically equip a quarterstaff (the fastest weapon for the class) to your hand so you do not need to worry about your weapon breaking. You should purchase an abundance of store bought quarterstaffs from an NPC Carpenter since they will do the least amount of damage. While you are sparring, you will be healing the opponent that you are hitting. This is the best choice for healing since you will not be interrupted by weapon hits and it is much faster to heal someone else than it is yourself. Do not forget to set the defender as your Last Target using Set Last Target or one of the other Razor targeting commands. If desired, you can also modify the attacker macro to use Magery healing instead to heal your opponent. As for the alternate character that you are sparring against, a macro is provided that will automatically equip a plate tunic and plate legs so that you will have armor on. Keep plenty of spares in the defender’s pack to be reequipped when the original ones wear out. It is important that you tab in and out of combat on the alt character after initiating combat so that they will not be fighting back. The alternate character should be holding the weapon that they are trained in (unless wrestling is their melee skill), and they will need to be trained (roughly 60-100 displayed skill) in their weapon skill as well for you to take the attacker to GM in macing. Note: For the two macros, it is essential that you record yourself lifting the weapon and armor and dropping them onto your own characters to equip them, replacing the macro line items that are there by default. This is because your character’s weapon and armor slots are unique to the character. If you fail to do this, the macros will not function properly. You can also train both characters at the same time by modifying the macros.
Macing Attacker (the character being trained)
Lift quarter staff (0E89) – 1 – Convert to Lift by Type
Equip to 0xXXXXX (L:LeftHand) – You must replace this with what you record
Pause .70sec – 700ms – Adjust if necessary
Exec: Drop What You are Currently Holding – A precaution to ensure the macro keeps working
Exec: Clear Drag/Drop Queue – A precaution to ensure the macro keeps working
Exec: Bandage LastTarget
Pause 6.00sec – Adjust as needed to keep the defender healed
Loop - Enabled
!Loop
Assistant.Macros.LiftTypeAction|3721|1
Assistant.Macros.DropAction|0x2CB28|(0, 0, 0)|2
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.HotKeyAction|1309|
Assistant.Macros.HotKeyAction|1389|
Assistant.Macros.HotKeyAction|1026|
Assistant.Macros.PauseAction|00:00:06
Melee Defender (the character being hit)
Lift platemail (1415) – 1 – Convert to Lift by Type
Equip to 0xXXXXX (L:InnerTorso) – You must replace this with what you record
Pause .70sec – 700ms – Adjust if necessary
Lift platemail (1411) – 1 – Convert to Lift by Type
Equip to 0xXXXXX (L:LastUserValid) – You must replace this with what you record
Pause .70sec – 700ms – Adjust if necessary
Exec: Drop What You are Currently Holding – A precaution to ensure the macro keeps working
Exec: Clear Drag/Drop Queue – A precaution to ensure the macro keeps working
Pause 2.00sec – Adjust as needed to keep the defender healed
Loop - Enabled
!Loop
Assistant.Macros.LiftTypeAction|5141|1
Assistant.Macros.DropAction|0x9C78B|(0, 0, 0)|13
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.LiftTypeAction|5137|1
Assistant.Macros.DropAction|0x9C78B|(0, 0, 0)|24
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.HotKeyAction|1309|
Assistant.Macros.HotKeyAction|1389|
Assistant.Macros.PauseAction|00:00:02
__________________________________________________________________
Magery: (UOT NOTE- Reagents can be harvested on Arete, behind the Mage Shop, beside the King's castle and at the Farm)
After gaining some initial training from an NPC mage, the following three macros can be used to GM both Magery and Resisting Spells. Use Magery 1 from 30-60 displayed Magery skill. Use Magery 2 from 60-75 displayed Magery skill. Use Magery 3 from 75-100 displayed Magery skill and GM Resisting Spells, if desired. The three spells Mana Drain(BP,MR,SS), Invisibility(BM,NS), and Mana Vampire(BP,BM,MR,SS) are used. It is generally useful to stock about 100-300 of the required reagents for the given spell to be used and then let the macro run its course. You can set up counters for the individual reagents using the Display/Counters tab and incorporate a restock agent into the macro to automatically restock your reagents when they get low. That is beyond the scope of this guide however. Scrolls can also be used (they treats spells as if they were being cast at 2 circles lower) if you have them in abundance, as they do not consume reagents or the scroll if you fail.
Magery 1 (30-60 displayed Magery skill)
If (Mana >= 11)
Exec: Mana Drain
Wait for Target – Right-click->Edit timeout to 2sec
Exec: Target Self
Else
Exec: Meditation
Wait for Mana>=11 – Right-click->Edit timeout to 15sec. Adjust if desired. Med skill and Int is a factor.
End If
Pause .60sec – 600ms – Casting Recovery Time – Adjust if necessary
Loop - Enabled
!Loop
Assistant.Macros.IfAction|1|1|11
Assistant.Macros.HotKeyAction|3002041|
Assistant.Macros.WaitForTargetAction|2
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044106|
Assistant.Macros.WaitForStatAction|1|1|11|15
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:00.6000000
Magery 2 (60-75 displayed Magery skill)
If (Mana >= 20)
Exec: Invisibility
Wait for Target – Right-click->Edit timeout to 3sec
Exec: Target Self
Else
Exec: Meditation
Wait for Mana>=20 – Right-click->Edit timeout to 20sec. Adjust if desired. Med skill and Int is a factor.
End If
Pause .60sec – 600ms – Casting Recovery Time – Adjust if necessary
Loop - Enabled
!Loop
Assistant.Macros.IfAction|1|1|20
Assistant.Macros.HotKeyAction|3002054|
Assistant.Macros.WaitForTargetAction|3
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044106|
Assistant.Macros.WaitForStatAction|1|1|20|20
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:00.6000000
Magery 3 (75-100 displayed Magery skill and GM Resisting Spells if desired)
If (Mana >= 40)
Exec: Mana Vampire
Wait for Target – Right-click->Edit timeout to 3sec
Exec: Target Self
Else
Exec: Meditation
Wait for Mana>=40 – Right-click->Edit timeout to 30sec. Adjust if desired. Med skill and Int is a factor.
End If
Pause .60sec – 600ms – Casting Recovery Time – Adjust if necessary
Loop - Enabled
!Loop
Assistant.Macros.IfAction|1|1|40
Assistant.Macros.HotKeyAction|3002063|
Assistant.Macros.WaitForTargetAction|3
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044106|
Assistant.Macros.WaitForStatAction|1|1|40|40
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:00.6000000
__________________________________________________________________
Meditation: (UOT NOTE - the top floor of the Arete Crafthall has a Meditation Room. DBL Click the statues to gain skill)
Meditation does not really need its own training macro. Gains in the Meditation skill are achieved during passive mana regeneration, so any of the Magery related macros will work fine to GM this skill, or you can just allow it to gain through normal spell use.
__________________________________________________________________
Mining: (UOT NOTE - using Macros to gather resources while you are away from your computer is a bannable offence. Don't do it!)
This macro makes it easy to walk around and mine quickly using shovels. For training, once you get into the higher levels of the mining skill, you will get faster gains from mining the higher quality ore veins. With the macro presented you simply walk around and hit your set last target hotkey and then target the ground where you want to mine. You can also use the macro to mine the sides of mountains by targeting the junction where the mountain meets the ground, but you need to give the macro a brief moment to double-click the shovels again (after hitting Set Last Target) so that you can target where you will dig (since Set Last Target alone will not allow you to target the side of the mountain). The goal is to achieve continuous motion in your mining. If the macro appears to frequently stop briefly in between digging attempts, then some adjustment should be made to the pauses in the macro. The pauses should be close to your ideal object delay setting, maybe a little less. For this macro, and the purpose of training, the razor feature – ‘Auto-Stack Ore/Fish/Logs at Feet’ and ‘Filter Repeating System Messages’ is turned ‘off’ to aid in getting things set right and to minimize the object delays lost to dropping the ore to the ground. The macro will automatically drop 2 stacks of ore (for two different colors) at your feet if the weight gets heavy enough. If you currently have low strength, you can adjust that setting as needed by Right-clicking that line item and choosing ‘Edit’.
A small variation to the macro below that is very useful for mining inside of caves is to replace the ‘Exec: Last Target’ with ‘Target Relative Location (0,0)’. You can accomplish this by Right-clicking inside the macro, select ‘Begin Recording Here’, and then record yourself hitting Set Last Target and then targeting the ground directly below your feet. Once you have done that, Right-click, and then select Convert to Relative Location. Delete the ‘Set Last Target’ added and move the ‘Target RelLoc (0,0)’ to the place where the ‘Exec: Last Target was’, and then delete the ‘Exec: Last Target’ line item. This works in mines (but not on the side of mountains) such that all you need to do is walk around and the macro will mine if there is ore available in that location.
Double Click Shovel ((0F39)) – I use shovels because they are light and inexpensive
Wait For Target – Edit Timeout to 1sec
Exec: Last Target
Pause .60sec – 600ms – Adjust as necessary. Ideal setting is likely slightly less than your ideal object delay setting. Getting this pause set right based on your ping is needed to achieve the most efficient mining.
If (Weight >= 390) – Adjust as necessary if you have low strength
For (1 to 2)
Lift Iron Ore (19B9) – 40
Drop (Relative) @ (0,0,0)
Pause .60sec – 600ms - Adjust as necessary. Ideal setting is likely slightly less than your ideal object delay setting
End For
End If
Loop - Enabled
!Loop
Assistant.Macros.DoubleClickTypeAction|3897|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.LastTargetAction
Assistant.Macros.PauseAction|00:00:00.6000000
Assistant.Macros.IfAction|5|1|390
Assistant.Macros.ForAction|2
Assistant.Macros.LiftTypeAction|6585|40
Assistant.Macros.DropRelLocAction|0|0|0
Assistant.Macros.PauseAction|00:00:00.6000000
Assistant.Macros.EndForAction
Assistant.Macros.EndIfAction
__________________________________________________________________