The Wiki for Tale 5 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "User:Qu/Macros/Mining"

From ATITD5
Jump to navigationJump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
My Auto Hotkey Sand Mining Macro.
 
My Auto Hotkey Sand Mining Macro.
 +
 +
Now version 1.03 with bugfixes.
 +
Also the macro will not [W]ork the mine if it had to close a popup window. This will give you a chance to finish breaking the stones manually.
  
 
[[File:QuMiner.zip]]
 
[[File:QuMiner.zip]]
Line 9: Line 12:
 
Once you show the macro where the stones are it will mine them. Make sure you have your chat window closed.
 
Once you show the macro where the stones are it will mine them. Make sure you have your chat window closed.
  
Ctrl-1 through Ctrl+7 adds a stone to group 1 through 7.
+
Keys 1 through 7 adds a stone to group 1 through 7.
Ctrl-` (that's the tilde key left of your 1 key) Sets the location of the mine. (optional)
+
` (that's the tilde key left of your 1 key) Sets the location of the mine. (optional)
 
Ctrl-Alt-Shift-R Reloads the macro.
 
Ctrl-Alt-Shift-R Reloads the macro.
 +
Ctrl-Alt-Shift-` Toggles suspend of hotkeys. (If you want to chat and type numbers without having to close the whole macro)
  
 
The macro can't figure out which stones are where and what color they are, so it's up to you to mark them correctly.  
 
The macro can't figure out which stones are where and what color they are, so it's up to you to mark them correctly.  
You have to group the stones by color, starting with the largest group first. Hover your mouse over a stone from the largest group and press Ctrl-1. Do this for all stones of that color. Next use Ctrl-2 for the 2nd largest group and so on.  
+
You have to group the stones by color, starting with the largest group first. Hover your mouse over a stone from the largest group and press 1. Do this for all stones of that color. Next use 2 for the 2nd largest group and so on.  
  
 
Example:
 
Example:
 
You have three yellow stones, two blue, one cyan, and one red.
 
You have three yellow stones, two blue, one cyan, and one red.
Hover your mouse over one of the yellow stones and press Ctrl-1. Do this for the other two yellow stones.
+
Hover your mouse over one of the yellow stones and press 1. Do this for the other two yellow stones.
Now hover your mouse over one of the blue stones, and press Ctrl-2. Do this for the other blue stone as well.
+
Now hover your mouse over one of the blue stones, and press 2. Do this for the other blue stone as well.
Now hover your mouse over the cyan (or red stone, it doesn't matter) and press Ctrl-3.
+
Now hover your mouse over the cyan (or red stone, it doesn't matter) and press 3.
Now use Ctrl-4 for the remaining stone.
+
Now use 4 for the remaining stone.
 
Once all seven stones are marked the macro will start right away. Make sure your chat window is minimized.
 
Once all seven stones are marked the macro will start right away. Make sure your chat window is minimized.
  
 
If you mess up at any point press Ctrl-Alt-Shift-R to reload the macro and start over.
 
If you mess up at any point press Ctrl-Alt-Shift-R to reload the macro and start over.
  
One last thing. You can mark the mine with Ctrl-`. If you do, the macro will [W]ork the mine after it breaks all the possible stones.
+
One last thing. You can mark the mine with `. If you do, the macro will [W]ork the mine after it breaks all the possible stones.
  
Also, lag spikes will mess up the macro and you'll see a message saying Ore Stone is busy. If this is happening too often you can change the DefaultDelay:=250 variabe to something higher (300? 350?).
+
The macro has very little error checking, so if you fail to set it up right or don't have ATITD window active, the results can be unpredictable.
Sometimes when few players are on it's possible to set it to as low as 100 without the macro messing up at all. Experiment.
 

Latest revision as of 22:13, 1 May 2011

My Auto Hotkey Sand Mining Macro.

Now version 1.03 with bugfixes. Also the macro will not [W]ork the mine if it had to close a popup window. This will give you a chance to finish breaking the stones manually.

File:QuMiner.zip

How to use: Have Autohotkey installed. Run the macro.

Once you show the macro where the stones are it will mine them. Make sure you have your chat window closed.

Keys 1 through 7 adds a stone to group 1 through 7. ` (that's the tilde key left of your 1 key) Sets the location of the mine. (optional) Ctrl-Alt-Shift-R Reloads the macro. Ctrl-Alt-Shift-` Toggles suspend of hotkeys. (If you want to chat and type numbers without having to close the whole macro)

The macro can't figure out which stones are where and what color they are, so it's up to you to mark them correctly. You have to group the stones by color, starting with the largest group first. Hover your mouse over a stone from the largest group and press 1. Do this for all stones of that color. Next use 2 for the 2nd largest group and so on.

Example: You have three yellow stones, two blue, one cyan, and one red. Hover your mouse over one of the yellow stones and press 1. Do this for the other two yellow stones. Now hover your mouse over one of the blue stones, and press 2. Do this for the other blue stone as well. Now hover your mouse over the cyan (or red stone, it doesn't matter) and press 3. Now use 4 for the remaining stone. Once all seven stones are marked the macro will start right away. Make sure your chat window is minimized.

If you mess up at any point press Ctrl-Alt-Shift-R to reload the macro and start over.

One last thing. You can mark the mine with `. If you do, the macro will [W]ork the mine after it breaks all the possible stones.

The macro has very little error checking, so if you fail to set it up right or don't have ATITD window active, the results can be unpredictable.