v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing User:LockeslyLCrit/DiagonalMining.ahk
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
; Ctrl-Shift-D will remove a diagonal line in case lag | ; Ctrl-Shift-D will remove a diagonal line in case lag | ||
; or other issues screws up your mining designations. | ; or other issues screws up your mining designations. | ||
− | ; If framerate is a major issue, | + | ; If framerate is a major issue, replace all Sleep 30 |
− | ; | + | ; with a higher number. |
; | ; | ||
; NOTE: Try to start in the top right area. This script | ; NOTE: Try to start in the top right area. This script | ||
Line 20: | Line 20: | ||
; Code by Lockesly L'Crit, heavily modified off of | ; Code by Lockesly L'Crit, heavily modified off of | ||
; StrawberryBunny's Mineshaft script. | ; StrawberryBunny's Mineshaft script. | ||
− | |||
− | |||
− | + | ||
+ | ^+s:: | ||
+ | x = 140 | ||
+ | y = 4 | ||
+ | |||
+ | |||
− | |||
− | |||
− | |||
;;Main Loop | ;;Main Loop | ||
Line 35: | Line 35: | ||
Loop %x% | Loop %x% | ||
{ | { | ||
− | Send {Enter | + | Send {Enter} |
+ | Sleep 30 | ||
+ | |||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | |||
Send 1 | Send 1 | ||
+ | Sleep 30 | ||
+ | |||
} | } | ||
− | + | { | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Send 9 | Send 9 | ||
− | + | Sleep 30 | |
− | + | Send {Enter} | |
− | + | Sleep 30 | |
− | + | Send {Up} | |
− | + | Sleep 30 | |
− | + | Send {Up} | |
+ | Sleep 30 | ||
+ | Send {Up} | ||
+ | Sleep 30 | ||
+ | Send {Up} | ||
+ | Sleep 30 | ||
+ | Send {Up} | ||
+ | Sleep 30 | ||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | } | ||
+ | { | ||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | } | ||
+ | Loop %x% | ||
+ | { | ||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | |||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | |||
+ | Send 9 | ||
+ | Sleep 30 | ||
+ | } | ||
+ | { | ||
+ | Send 1 | ||
+ | Sleep 30 | ||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | Send {Up} | ||
+ | Sleep 30 | ||
+ | Send {Up} | ||
+ | Sleep 30 | ||
+ | Send {Up} | ||
+ | Sleep 30 | ||
+ | Send {Up} | ||
+ | Sleep 30 | ||
+ | Send {Up} | ||
+ | Sleep 30 | ||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | } | ||
+ | { | ||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Down} | ||
+ | Sleep 30 | ||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | } | ||
} | } | ||
return | return | ||
Line 64: | Line 155: | ||
{ | { | ||
− | Send | + | Send 8 |
− | Loop %w% | + | Sleep 30 |
− | + | Send 8 | |
+ | Sleep 30 | ||
+ | Send 8 | ||
+ | Sleep 30 | ||
+ | Send 8 | ||
+ | Sleep 30 | ||
+ | Send 8 | ||
+ | Sleep 30 | ||
+ | |||
+ | Loop %w% | ||
+ | { | ||
Send 1 | Send 1 | ||
− | + | Sleep 30 | |
− | + | } | |
− | + | { | |
− | + | Send {Enter} | |
− | + | Sleep 30 | |
− | + | } | |
− | + | Loop %z% | |
+ | { | ||
+ | Send 8 | ||
+ | Sleep 30 | ||
+ | } | ||
+ | { | ||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | } | ||
} | } | ||
return | return | ||
Line 82: | Line 191: | ||
{ | { | ||
Send x | Send x | ||
+ | Sleep 30 | ||
Loop %x% | Loop %x% | ||
{ | { | ||
− | Send {Enter | + | Send {Enter} |
+ | Sleep 30 | ||
+ | |||
+ | Send {Enter} | ||
+ | Sleep 30 | ||
+ | |||
Send 1 | Send 1 | ||
+ | Sleep 30 | ||
} | } | ||
} | } |