Post by Amairgen on Jan 10, 2013 14:43:06 GMT -8
Razor User's Guide to Common Training Macros
(credit to Mara at RunUO 2010)
Section 6: Macros - Herding, Hiding, Inscription, Item Identification, Lockpicking
Herding: The following macro will attempt to herd targets to your location. In order to gain in herding, the creatures must be tameable and you need to tame progressively more difficult creatures until you get to GM. You need to have a shepherd’s crook in either your hand or your backpack.
Double Click (shepherd’s crook (0E81)) – Convert to Target by type
Wait For Target – Right-click->Edit Timeout to 1sec
Exec: Last Target
Wait For Target – Right-click->Edit Timeout to 1sec
Exec: Target Self
Pause .50sec – 500ms – Adjust if necessary
Loop – Enabled
!Loop
Assistant.Macros.DoubleClickTypeAction|3713|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.LastTargetAction
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:00.5000000
Hiding: Hiding can be trained by using a macro that attempts to use the Hiding skill once every 10 seconds. Because you have the ability to hide with guaranteed success in your own home, it is best to train hiding out in the middle of nowhere to get the best gains. Try to find a place where no one will find you that is outside of guardzone. Luckily, you do not need to carry any resources to train this skill.
UseSkill Hiding
Pause 10.00sec – 10000ms
Loop - Enabled
!Loop
Assistant.Macros.UseSkillAction|21
Assistant.Macros.PauseAction|00:00:10
Inscription: (UOT NOTE- the Arete Crafthall by the village center square has the control items needed by crafters)
This macro simply continues making whatever it is that you made last with your scribe’s pen. A good progression to go through for training the skill to GM is to get some initial training from an NPC mage and then craft the following: Recall(BP,BM,MR)/Lightning(MR,SA) Scrolls (20-65 displayed inscription skill), Flamestrike(SS,SA) Scrolls (65-100), Earthquake(BM,GI, MR,SA) Scrolls (80-100). Alternatively, if you have the funds and resources, you can finish the skill off with the following: Runebooks (65-80), BOD Books (80-100). The nice thing about the later method of finishing the skill off is that you do not have to wait for mana to craft the items; however, it is very resource intensive. The former method works fine as well, and you can usually find plenty of NPC Mage Shops that will buy your scrolls. You can incorporate restock and organizer agents into the macro to restock blank scrolls and reagents to your backpack when you get low, and to transfer completed scrolls back to another container. Inscription 1 Macro is used for crafting the Lvl 4 spell scrolls – Recall/Lightning, and Inscription 2 Macro is used for crafting the Lvl 7 scrolls – Flamestrike. You will need to have whatever spell scrolls you are trying to craft already in your spellbook. Inscription is a much easier skill to train to GM if you do it early when you have little to no points invested toward your skill cap.
Inscription 1 (Recall/Lightning Scrolls):
If (Mana >= 11)
Double Click (pen and ink (0FBF)) – Right-click->Convert to DClick by type
Wait For Gump (Any) – Right-click->Edit timeout to 1sec
GumpResponse (Button 21) - This is the Make Last selection
Wait For Gump (Any) – Right-click->Edit timeout to 2sec
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
Loop - Enabled
!Loop
Assistant.Macros.IfAction|1|1|11
Assistant.Macros.DoubleClickTypeAction|4031|True
Assistant.Macros.WaitForGumpAction|949095101|False|1
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|2
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044106|
Assistant.Macros.WaitForStatAction|1|1|11|15
Assistant.Macros.EndIfAction
Inscription 2 (Flamestrike Scrolls):
If (Mana >= 40)
Double Click (pen and ink (0FBF)) – Right-click->Convert to DClick by type
Wait For Gump (Any) – Right-click->Edit timeout to 1sec
GumpResponse (Button 21) - This is the Make Last selection
Wait For Gump (Any) – Right-click->Edit timeout to 2sec
Else
Exec: Meditation
Wait for Mana >= 40 – Right-click->Edit timeout to 40sec - Adjust if desired. Med skill and Int is a factor.
End If
Loop - Enabled
!Loop
Assistant.Macros.IfAction|1|1|40
Assistant.Macros.DoubleClickTypeAction|4031|True
Assistant.Macros.WaitForGumpAction|949095101|False|1
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|2
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044106|
Assistant.Macros.WaitForStatAction|1|1|40|40
Assistant.Macros.EndIfAction
Item Identification: Target a weapon or piece of armor with Set Last Target and then run the macro. The macro will continue to use the Item Identification skill at ~1 sec intervals to raise the skill to GM.
UseSkill Item Identification
Wait for Target – Right-click->Edit Timeout to 1sec
Exec: Last Target
Pause .85sec – 850ms – Adjust as necessary.
Loop - Enabled
!Loop
Assistant.Macros.UseSkillAction|3
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.LastTargetAction
Assistant.Macros.PauseAction|00:00:00.8500000
Lockpicking: (UOT NOTE- the Arete Gypsy Camp has lockpicking boxes in the caravans that automatically relock)
To train this skill, it is best if you have wooden boxes that have been crafted by a tinker of varying levels of skill on-hand. You should get some initial training from a Thief Guildmaster (Vandoren at West Britian Bank and Odessa at the Delucia Inn are both easy to find) and purchase or acquire wooden boxes made by a carpenter with a tinkering skill of 25(if desired to forego NPC training), 50, 75, and GM tinkering skill. From 0-25 skill, use the wooden box made with tinkering skill of 25 or buy initial skill from an NPC. From 25-50 skill, use the wooden box made with tinkering skill of 50. From 50-75 skill, use the wooden box made with tinkering skill of 75, and from 75-95 skill, use the wooden box made with GM tinkering skill. In your backpack, you will place lockpicks, the wooden box, and the copper key, and then run one of the macros to follow. Once you reach 95 skill, you will either have to train to GM by opening Lvl 4 (cleverly) treasure chests or use Faction skill loss (the easier method by far) to finish your training to GM. To give you an idea, it only takes about 5 or 6 death/resurrection/train cycles to get from 95-100 using the Faction skill loss method. You can either die by an enemy faction member or commit faction suicide. By keeping all of your training items in one backpack, and performing the cycle near an NPC healer, you can complete the 95-100 training in less than 30 minutes. Remember that your ‘displayed skill' (show-real off) will go to 2/3 of your skill level at the time of your death, so you will likely have to switch back to a wooden box that was made by a Tinker of the 50-75 skill level range.
The first macro, Lockpicking 1, attempts to target your stack of lockpicks, copper key, and wooden box by type. You can try this one first, since it takes the hassle out of having to specifically target the particular items that you have. Sometimes though, razor will remember prior wooden boxes or items that you have had in your inventory if they are still close to you. You can try recalling to a new location with only your current training items in your backpack, or you can try logging out, closing out the client, and then logging back in to try to fix this. If you continue to get ‘That is too far away.’ messages, then you can set up and use the second macro.
Lockpicking 2 will target your stack of lockpicks, copper key, and wooden box as absolute targets. If you are building your own macro from scratch or you are editing the first macro, you can get the Absolute Target line items into your macro by Right-clicking on a line item, selecting 'Begin Recording Here', and then using the Set Last Target Hotkey followed by the targeting of your particular items. Be sure to delete the added Exec: Set Last Target commands. If you have created the Lockpicking 2 macro using the cut and paste method, then you can simply Right-click the appropriate line items as shown below, and then Re-Target your particular items. This can be a more reliable macro for this task, if you are experiencing problems with the Lockpicking 1 macro. You will need to Re-Target the necessary line items any time you start using a new stack of lockpicks, or switch to a new wooden box and key to continue your training.
Lockpicking 1 (Target by Type)
Double Click (lockpicks (14FC)) – Convert to Target by Type
Wait for Target – Right-click->Edit timeout to 1sec
Target by Type wooden box (09AA) – Convert to Target by Type
Pause 4.00sec – 4000ms
If (SysMessage the lock quickly yields to your skill.)
Double Click (copper key (100E)) – Convert to Target by Type
Wait for Target – Right-click->Edit timeout to 1sec
Target by Type wooden box (09AA) – Convert to Target by Type
Pause .70sec – 700ms – Adjust as necessary
End If
If (SysMessage this does not appear to be locked.)
Double Click (copper key (100E)) – Convert to Target by Type
Wait for Target – Right-click->Edit timeout to 1sec
Target by Type wooden box (09AA) – Convert to Target by Type
Pause .70sec – 700ms – Adjust as necessary
End If
Loop - Enabled
!Loop
Assistant.Macros.DoubleClickTypeAction|5372|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetTypeAction|False|2474
Assistant.Macros.PauseAction|00:00:04
Assistant.Macros.IfAction|4|0|the lock quickly yields to your skill.
Assistant.Macros.DoubleClickTypeAction|4110|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetTypeAction|False|2474
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|this does not appear to be locked.
Assistant.Macros.DoubleClickTypeAction|4110|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetTypeAction|False|2474
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.EndIfAction
Lockpicking 2 (Target Absolute Targets - lockpick stack, wooden box, and key)
Double Click (0xXXXXXXXX) – The lockpick stack – Right-click->Retarget your lockpick stack
Wait for Target – Right-click->Edit timeout to 1sec
Absolute Target – The wooden box you are trying to pick – Right-click->Re-Target your wooden box
Pause 4.00sec – 4000ms
If (SysMessage the lock quickly yields to your skill.)
Double Click (0xXXXXXXXX) – The copper key for the wooden box – Right-click->Re-Target your key
Wait for Target – Right-click->Edit timeout to 1sec
Absolute Target – The wooden box you are trying to pick – Right-click->Re-Target your wooden box
Pause .70sec – 700ms – Adjust as necessary
End If
If (SysMessage this does not appear to be locked.)
Double Click (0xXXXXXXXX) – The copper key for the wooden box – Right-click->Re-Target your key
Wait for Target – Right-click->Edit timeout to 1sec
Absolute Target – The wooden box you are trying to pick – Right-click->Re-Target your wooden box
Pause .70sec – 700ms – Adjust as necessary
End If
Loop - Enabled
!Loop
Assistant.Macros.DoubleClickAction|1103463853|5372
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.AbsoluteTargetAction|0|0|1094879986|76|66|0|2474
Assistant.Macros.PauseAction|00:00:04
Assistant.Macros.IfAction|4|0|the lock quickly yields to your skill.
Assistant.Macros.DoubleClickAction|1094879987|4110
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.AbsoluteTargetAction|0|0|1094879986|76|66|0|2474
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|this does not appear to be locked.
Assistant.Macros.DoubleClickAction|1094879987|4110
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.AbsoluteTargetAction|0|0|1094879986|76|66|0|2474
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.EndIfAction
(credit to Mara at RunUO 2010)
Section 6: Macros - Herding, Hiding, Inscription, Item Identification, Lockpicking
Herding: The following macro will attempt to herd targets to your location. In order to gain in herding, the creatures must be tameable and you need to tame progressively more difficult creatures until you get to GM. You need to have a shepherd’s crook in either your hand or your backpack.
Double Click (shepherd’s crook (0E81)) – Convert to Target by type
Wait For Target – Right-click->Edit Timeout to 1sec
Exec: Last Target
Wait For Target – Right-click->Edit Timeout to 1sec
Exec: Target Self
Pause .50sec – 500ms – Adjust if necessary
Loop – Enabled
!Loop
Assistant.Macros.DoubleClickTypeAction|3713|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.LastTargetAction
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:00.5000000
__________________________________________________________________
Hiding: Hiding can be trained by using a macro that attempts to use the Hiding skill once every 10 seconds. Because you have the ability to hide with guaranteed success in your own home, it is best to train hiding out in the middle of nowhere to get the best gains. Try to find a place where no one will find you that is outside of guardzone. Luckily, you do not need to carry any resources to train this skill.
UseSkill Hiding
Pause 10.00sec – 10000ms
Loop - Enabled
!Loop
Assistant.Macros.UseSkillAction|21
Assistant.Macros.PauseAction|00:00:10
__________________________________________________________________
Inscription: (UOT NOTE- the Arete Crafthall by the village center square has the control items needed by crafters)
This macro simply continues making whatever it is that you made last with your scribe’s pen. A good progression to go through for training the skill to GM is to get some initial training from an NPC mage and then craft the following: Recall(BP,BM,MR)/Lightning(MR,SA) Scrolls (20-65 displayed inscription skill), Flamestrike(SS,SA) Scrolls (65-100), Earthquake(BM,GI, MR,SA) Scrolls (80-100). Alternatively, if you have the funds and resources, you can finish the skill off with the following: Runebooks (65-80), BOD Books (80-100). The nice thing about the later method of finishing the skill off is that you do not have to wait for mana to craft the items; however, it is very resource intensive. The former method works fine as well, and you can usually find plenty of NPC Mage Shops that will buy your scrolls. You can incorporate restock and organizer agents into the macro to restock blank scrolls and reagents to your backpack when you get low, and to transfer completed scrolls back to another container. Inscription 1 Macro is used for crafting the Lvl 4 spell scrolls – Recall/Lightning, and Inscription 2 Macro is used for crafting the Lvl 7 scrolls – Flamestrike. You will need to have whatever spell scrolls you are trying to craft already in your spellbook. Inscription is a much easier skill to train to GM if you do it early when you have little to no points invested toward your skill cap.
Inscription 1 (Recall/Lightning Scrolls):
If (Mana >= 11)
Double Click (pen and ink (0FBF)) – Right-click->Convert to DClick by type
Wait For Gump (Any) – Right-click->Edit timeout to 1sec
GumpResponse (Button 21) - This is the Make Last selection
Wait For Gump (Any) – Right-click->Edit timeout to 2sec
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
Loop - Enabled
!Loop
Assistant.Macros.IfAction|1|1|11
Assistant.Macros.DoubleClickTypeAction|4031|True
Assistant.Macros.WaitForGumpAction|949095101|False|1
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|2
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044106|
Assistant.Macros.WaitForStatAction|1|1|11|15
Assistant.Macros.EndIfAction
Inscription 2 (Flamestrike Scrolls):
If (Mana >= 40)
Double Click (pen and ink (0FBF)) – Right-click->Convert to DClick by type
Wait For Gump (Any) – Right-click->Edit timeout to 1sec
GumpResponse (Button 21) - This is the Make Last selection
Wait For Gump (Any) – Right-click->Edit timeout to 2sec
Else
Exec: Meditation
Wait for Mana >= 40 – Right-click->Edit timeout to 40sec - Adjust if desired. Med skill and Int is a factor.
End If
Loop - Enabled
!Loop
Assistant.Macros.IfAction|1|1|40
Assistant.Macros.DoubleClickTypeAction|4031|True
Assistant.Macros.WaitForGumpAction|949095101|False|1
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|2
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044106|
Assistant.Macros.WaitForStatAction|1|1|40|40
Assistant.Macros.EndIfAction
__________________________________________________________________
Item Identification: Target a weapon or piece of armor with Set Last Target and then run the macro. The macro will continue to use the Item Identification skill at ~1 sec intervals to raise the skill to GM.
UseSkill Item Identification
Wait for Target – Right-click->Edit Timeout to 1sec
Exec: Last Target
Pause .85sec – 850ms – Adjust as necessary.
Loop - Enabled
!Loop
Assistant.Macros.UseSkillAction|3
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.LastTargetAction
Assistant.Macros.PauseAction|00:00:00.8500000
__________________________________________________________________
Lockpicking: (UOT NOTE- the Arete Gypsy Camp has lockpicking boxes in the caravans that automatically relock)
To train this skill, it is best if you have wooden boxes that have been crafted by a tinker of varying levels of skill on-hand. You should get some initial training from a Thief Guildmaster (Vandoren at West Britian Bank and Odessa at the Delucia Inn are both easy to find) and purchase or acquire wooden boxes made by a carpenter with a tinkering skill of 25(if desired to forego NPC training), 50, 75, and GM tinkering skill. From 0-25 skill, use the wooden box made with tinkering skill of 25 or buy initial skill from an NPC. From 25-50 skill, use the wooden box made with tinkering skill of 50. From 50-75 skill, use the wooden box made with tinkering skill of 75, and from 75-95 skill, use the wooden box made with GM tinkering skill. In your backpack, you will place lockpicks, the wooden box, and the copper key, and then run one of the macros to follow. Once you reach 95 skill, you will either have to train to GM by opening Lvl 4 (cleverly) treasure chests or use Faction skill loss (the easier method by far) to finish your training to GM. To give you an idea, it only takes about 5 or 6 death/resurrection/train cycles to get from 95-100 using the Faction skill loss method. You can either die by an enemy faction member or commit faction suicide. By keeping all of your training items in one backpack, and performing the cycle near an NPC healer, you can complete the 95-100 training in less than 30 minutes. Remember that your ‘displayed skill' (show-real off) will go to 2/3 of your skill level at the time of your death, so you will likely have to switch back to a wooden box that was made by a Tinker of the 50-75 skill level range.
The first macro, Lockpicking 1, attempts to target your stack of lockpicks, copper key, and wooden box by type. You can try this one first, since it takes the hassle out of having to specifically target the particular items that you have. Sometimes though, razor will remember prior wooden boxes or items that you have had in your inventory if they are still close to you. You can try recalling to a new location with only your current training items in your backpack, or you can try logging out, closing out the client, and then logging back in to try to fix this. If you continue to get ‘That is too far away.’ messages, then you can set up and use the second macro.
Lockpicking 2 will target your stack of lockpicks, copper key, and wooden box as absolute targets. If you are building your own macro from scratch or you are editing the first macro, you can get the Absolute Target line items into your macro by Right-clicking on a line item, selecting 'Begin Recording Here', and then using the Set Last Target Hotkey followed by the targeting of your particular items. Be sure to delete the added Exec: Set Last Target commands. If you have created the Lockpicking 2 macro using the cut and paste method, then you can simply Right-click the appropriate line items as shown below, and then Re-Target your particular items. This can be a more reliable macro for this task, if you are experiencing problems with the Lockpicking 1 macro. You will need to Re-Target the necessary line items any time you start using a new stack of lockpicks, or switch to a new wooden box and key to continue your training.
Lockpicking 1 (Target by Type)
Double Click (lockpicks (14FC)) – Convert to Target by Type
Wait for Target – Right-click->Edit timeout to 1sec
Target by Type wooden box (09AA) – Convert to Target by Type
Pause 4.00sec – 4000ms
If (SysMessage the lock quickly yields to your skill.)
Double Click (copper key (100E)) – Convert to Target by Type
Wait for Target – Right-click->Edit timeout to 1sec
Target by Type wooden box (09AA) – Convert to Target by Type
Pause .70sec – 700ms – Adjust as necessary
End If
If (SysMessage this does not appear to be locked.)
Double Click (copper key (100E)) – Convert to Target by Type
Wait for Target – Right-click->Edit timeout to 1sec
Target by Type wooden box (09AA) – Convert to Target by Type
Pause .70sec – 700ms – Adjust as necessary
End If
Loop - Enabled
!Loop
Assistant.Macros.DoubleClickTypeAction|5372|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetTypeAction|False|2474
Assistant.Macros.PauseAction|00:00:04
Assistant.Macros.IfAction|4|0|the lock quickly yields to your skill.
Assistant.Macros.DoubleClickTypeAction|4110|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetTypeAction|False|2474
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|this does not appear to be locked.
Assistant.Macros.DoubleClickTypeAction|4110|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.TargetTypeAction|False|2474
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.EndIfAction
Lockpicking 2 (Target Absolute Targets - lockpick stack, wooden box, and key)
Double Click (0xXXXXXXXX) – The lockpick stack – Right-click->Retarget your lockpick stack
Wait for Target – Right-click->Edit timeout to 1sec
Absolute Target – The wooden box you are trying to pick – Right-click->Re-Target your wooden box
Pause 4.00sec – 4000ms
If (SysMessage the lock quickly yields to your skill.)
Double Click (0xXXXXXXXX) – The copper key for the wooden box – Right-click->Re-Target your key
Wait for Target – Right-click->Edit timeout to 1sec
Absolute Target – The wooden box you are trying to pick – Right-click->Re-Target your wooden box
Pause .70sec – 700ms – Adjust as necessary
End If
If (SysMessage this does not appear to be locked.)
Double Click (0xXXXXXXXX) – The copper key for the wooden box – Right-click->Re-Target your key
Wait for Target – Right-click->Edit timeout to 1sec
Absolute Target – The wooden box you are trying to pick – Right-click->Re-Target your wooden box
Pause .70sec – 700ms – Adjust as necessary
End If
Loop - Enabled
!Loop
Assistant.Macros.DoubleClickAction|1103463853|5372
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.AbsoluteTargetAction|0|0|1094879986|76|66|0|2474
Assistant.Macros.PauseAction|00:00:04
Assistant.Macros.IfAction|4|0|the lock quickly yields to your skill.
Assistant.Macros.DoubleClickAction|1094879987|4110
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.AbsoluteTargetAction|0|0|1094879986|76|66|0|2474
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|this does not appear to be locked.
Assistant.Macros.DoubleClickAction|1094879987|4110
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.AbsoluteTargetAction|0|0|1094879986|76|66|0|2474
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.EndIfAction
__________________________________________________________________