The Wiki for Tale 4 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:Cegaiel/Macros/Mining"

From A Tale in the Desert
Jump to navigationJump to search
Line 1: Line 1:
==Mining (Autohotkey)==
+
==Ore Mining (Autohotkey)==
  
 
This macro is idea for the color blind, people with bad eye sight, the lazy, or the drunks :)   
 
This macro is idea for the color blind, people with bad eye sight, the lazy, or the drunks :)   
Line 26: Line 26:
  
 
*<b>Added:</b> 10/24/2010
 
*<b>Added:</b> 10/24/2010
*<b>Last Update:</b> 10/26/2010 - <b>ANOTHER</b> Major update. Make sure you have the latest version. This not only ensures that all the combos are executed correctly, but now that the mistake is corrected, it reduces the timer back down from 90s to 62s per cycle (Sand Stone). This is now efficient.
+
*Last Update: 10/26/2010 - <b>ANOTHER</b> Major update. Make sure you have the latest version. This not only ensures that all the combos are executed correctly, but now that the mistake is corrected, it reduces the timer back down from 90s to 62s per cycle (Sand Stone). This is now efficient.
*<b>Last Update:</b> 10/30/2010 - Converted the pixelsearch method to imagesearch. It will now look for the enclosed, OK.PNG file to locatate the popup. This will reduce problems while standing on all sand terrains.
+
*Last Update: 10/30/2010 - Converted the pixelsearch method to imagesearch. It will now look for the enclosed, OK.PNG file to locatate the popup. This will reduce problems while standing on all sand terrains.
*<b>Last Update:</b> 11/20/2010 - Added the ability to mine silver (4 stone combinations)  - Bug has been corrected from an earlier release on the same day.
+
*Last Update: 11/20/2010 - Added the ability to mine silver (4 stone combinations)  - Bug has been corrected from an earlier release on the same day.
*<b>Last Update:</b> 12/27/2011 - New improved popup detection and closing. The entire script runs faster now, and the chance of a popup box failing to close, is 99% eliminated.
+
*Last Update: 12/27/2011 - New improved popup detection and closing. The entire script runs faster now, and the chance of a popup box failing to close, is 99% eliminated.
 
+
*<b>Last Update:</b> 12/30/2011 - Minor update. Added a reminder in the status window to 'Hold F2 key to abort clicking' on the nodes.
  
  

Revision as of 07:44, 30 December 2011

Ore Mining (Autohotkey)

This macro is idea for the color blind, people with bad eye sight, the lazy, or the drunks :) Doing easy mines, with low stone counts, such as iron or copper is tolerable (60-90 seconds per pull)


For Silver Mines, beware. Unlike the easier ores, silver is NOT guaranteed to have any valid combinations, with this brute force method. So you might work a pull, all the way to the end and not get any silver. On top of that, this is a very long process to work all possible 4 stone combinations, on 10 stones (about 500 seconds or 8.3 minutes)

My macro is pretty good/fast/easy for copper and iron, but for more difficult ores (such as silver, etc), You do NOT want to use this macro. My macro is brute force, meaning it tries every possible combination, not efficient for silver, etc. Docsaintly's Stone Crusher on Tale 5, has a better method. Takes a little effort to learn it and input information, but once you figure it out, it will only gives you the correct combinations. This is very efficient, I love it :)


I have created a Silver Mining Tutorial, which when used in conjuction with Docsaintly's Stone Crusher, is great for silver. After viewing this tutorial, it should be easier for you to mine other difficult ores, too. But you should be a pro at silver in no time, after viewing the tutorial. Each ore has different attributes, so view the Wiki's Mining Guide page for the correct attributes you are looking for.



  • The macro will walk you through the setup, via GUI interface. You dont really need to study this page too much.
  • Point and middle click all your ore stones
  • It will try every 3 stone combination (4 stones for silver) until complete.
  • Sends the A and S keys to the mine, so make sure you chat is minimized!
  • Automatically detects popups and closes them, while macro is running.
  • Takes 62 seconds to do all 7 ore stone combinations (Iron Mine)
  • Takes 106 seconds to do all 8 ore stone combinations (Copper Mine)
  • Takes 503 seconds to do all 10 ore stone (4 stone combos) (Silver Mine)


  • Added: 10/24/2010
  • Last Update: 10/26/2010 - ANOTHER Major update. Make sure you have the latest version. This not only ensures that all the combos are executed correctly, but now that the mistake is corrected, it reduces the timer back down from 90s to 62s per cycle (Sand Stone). This is now efficient.
  • Last Update: 10/30/2010 - Converted the pixelsearch method to imagesearch. It will now look for the enclosed, OK.PNG file to locatate the popup. This will reduce problems while standing on all sand terrains.
  • Last Update: 11/20/2010 - Added the ability to mine silver (4 stone combinations) - Bug has been corrected from an earlier release on the same day.
  • Last Update: 12/27/2011 - New improved popup detection and closing. The entire script runs faster now, and the chance of a popup box failing to close, is 99% eliminated.
  • Last Update: 12/30/2011 - Minor update. Added a reminder in the status window to 'Hold F2 key to abort clicking' on the nodes.


NOTE: If you find that, at the beginning of the macro, that it is only clicking/highlighting 2 instead of 3 mines, then make sure you are not standing too far away. Any mine that produces the "Too far away" message, when you click on it, will not get highlighted while the macro runs. So if you find any ore stones, farther away than normal, then click it manually to make sure the "Too far away" message is not appearing. If it does, then move your avatar slightly to compensate (so that all stones are within range).


Basically the macro will try to work every ore stone, in 3 stone combinations. Since the macro counts how many ore stones you set, it will run and adjust the patterns, according to the number of ore stones.

ie


Basically here is the way it runs:

Combinations of a 7 stone (iron) mine would be:

123 (Hightlight Stone Number 1, 2, 3 (A key) then S key to Finalize)
124
125
126
127
134
135
136
137
145
146
147
156
157
167
234
235
236
237
245
246
247
256
257
267
345
346
347
356
357
367
456
457
467
567


NOTE: During this process, the macro can not detect when mines crumble. So you may see it trying to highlight mines that do not exist. This is OK, it will not cause any harm. The macro sends the A and S hotkeys, which wont do anything, if the mine has already crumbled.



.zip file includes .ahk, .exe and ok.png files. Make sure the ok.png is in the same folder as the scripts.


Download .zip file from Wiki Note wiki will produce a corrupt .zip file if downloaded with IE. Download with Firefox or Chrome.

Download .zip file from Mirror Site - No corrupt errors when downloaded with IE. Firefox/Chrome is fine too, of course.

Verify the last upload date (Current), for the EXE. Make sure the latest update, matches the Last Update date, at top.