Lockpicking + Cartography via Razor
Posted: Thu Oct 09, 2008 3:01 am
Due to the nature of lockpicking being a Item based skill, and cart being a 'use skill' based skill I figured i'd try my hand at combining them, in a semi-attended (watching TV) macro. Just for kicks, i'm going to give the disclaimer that i'm assuming you've made at least a basic macro before.
Let me just get right to it, and explain during/afterward.
I'll break it up into sections to make it easier.
Section #1 Picks the first box.
Double Click Lockpick (Converted DType)
Wait for target
Absolute target (box 1)
Pause (say 6 secs)
Section #2 Locks the first box, if it was picked.
if (SysMessage "the lock quickly yields")
Double Click Keyring (Converted DType)
Wait for target
Absolute Target (box 1)
End if
Section #3 Due to lag, server saves, or a variety of reasons the macro can become out of sync. If this happens and you try to pick an unlocked box, this will relock it to be correct on the next pass. (This makes the macro self-correcting, very important!)
if (SysMessage "this does not appear to be locked")
Double Click Keyring (Converted DType)
Wait for target
Absolute Target (box 1)
End if
Section #4 (edit: Thanks Purge)
Put in a 3-5ish second pause in for...
Section #5 Cartography.
if("Blank map count" >= 1)
UseSkill Cartography
Wait for Menu
menuResponse 4 (world maps for me)
End if
So, as you can see you can still use this macro if you don't want to do cartography, just don't have any blank maps on you. This also has the advantage of when you run out of blank maps, the macro won't go into it's extra long standby, letting the lockpick part perform at 100% if you arn't paying attention.
I usually leave it running, watch a show, then restock maps whenever I remember it.
PS, if you are wondering how I construct the macro, I will record in parts. For example I will record the lockpicking part. Stop. Insert the if and end ifs. Then while highlighted on the if, rightclick and select 'begin recording from here'. This way you can easily fill in what you'd like to do in a specific if block.
Let me just get right to it, and explain during/afterward.
I'll break it up into sections to make it easier.
Section #1 Picks the first box.
Double Click Lockpick (Converted DType)
Wait for target
Absolute target (box 1)
Pause (say 6 secs)
Section #2 Locks the first box, if it was picked.
if (SysMessage "the lock quickly yields")
Double Click Keyring (Converted DType)
Wait for target
Absolute Target (box 1)
End if
Section #3 Due to lag, server saves, or a variety of reasons the macro can become out of sync. If this happens and you try to pick an unlocked box, this will relock it to be correct on the next pass. (This makes the macro self-correcting, very important!)
if (SysMessage "this does not appear to be locked")
Double Click Keyring (Converted DType)
Wait for target
Absolute Target (box 1)
End if
Section #4 (edit: Thanks Purge)
Put in a 3-5ish second pause in for...
Section #5 Cartography.
if("Blank map count" >= 1)
UseSkill Cartography
Wait for Menu
menuResponse 4 (world maps for me)
End if
So, as you can see you can still use this macro if you don't want to do cartography, just don't have any blank maps on you. This also has the advantage of when you run out of blank maps, the macro won't go into it's extra long standby, letting the lockpick part perform at 100% if you arn't paying attention.
I usually leave it running, watch a show, then restock maps whenever I remember it.
PS, if you are wondering how I construct the macro, I will record in parts. For example I will record the lockpicking part. Stop. Insert the if and end ifs. Then while highlighted on the if, rightclick and select 'begin recording from here'. This way you can easily fill in what you'd like to do in a specific if block.