Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro: a fancy mining hotkey
#1
Comment on 1st macro (below)

Code:
// // // // // // // // // // // // // // // // // // // //
// This macro will mine at the location you are standing
// using shovels and move the mined ore to a pack animal.
// // // // // // // // // // // // // // // // // // // //
// To set-up, simply do the following: make yourself a hotkey
// for this macro, set your pack animal to be the hotbag for
// Organizer Agent-4, then add the 4 different types of ore
// piles to Organizer Agent-4. Then go out and mine!
// // // // // // // // // // // // // // // // // // // //
// If you do not need to move your mined ore to a pack animal
// then you can run the macro using no additional object delay.
// // // // // // // // // // // // // // // // // // // //
// The amount of object delay that I personally recommend is
// 750 ms plus your average ping. You can find out what your
// average ping is by typing the -ping command in your UO client.
// // // // // // // // // // // // // // // // // // // //
// If you want the speech actions just uncomment them. They
// are just the mining system messages and they do get spammy
// but since they're emotes you won't get squelched.
// // // // // // // // // // // // // // // // // // // //

1st macro

Code:
Assistant.Macros.HotKeyAction|1394|
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|3718
Assistant.Macros.IfAction|4|0|pickaxe
Assistant.Macros.HotKeyAction|1332|
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|4|0|added
Assistant.Macros.HotKeyAction|1150|
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|wish
// Assistant.Macros.SpeechAction|2|1150|3|ENU|0|Where do you wish to dig?
Assistant.Macros.TargetRelLocAction|0|0
Assistant.Macros.EndIfAction
Assistant.Macros.ForAction|100
Assistant.Macros.IfAction|4|0|can't
// Assistant.Macros.SpeechAction|2|1150|3|ENU|0|You can't mine there.
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|4|0|world is
Assistant.Macros.HotKeyAction|0|Play: Saving++
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|4|0|loosen
// Assistant.Macros.SpeechAction|2|1150|3|ENU|0|You loosen some rocks but fail to find any useable ore.
Assistant.Macros.HotKeyAction|0|Play: Mining++
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|4|0|put
// Assistant.Macros.SpeechAction|2|1150|3|ENU|0|You dig some .. ore and put it in your backpack.
Assistant.Macros.HotKeyAction|0|Play: Mining++
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|4|0|metal
// Assistant.Macros.SpeechAction|2|1150|3|ENU|0|There is no metal here to mine.
Assistant.Macros.HotKeyAction|0|Organizer Agent-4
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.EndForAction

2nd macro for server saves, not necessary but cool

Code:
Assistant.Macros.ForAction|100
Assistant.Macros.IfAction|4|0|entire process
Assistant.Macros.HotKeyAction|0|Play: Mining++
Assistant.Macros.EndIfAction
Assistant.Macros.EndForAction
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)