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 16: Line 16:
 
*<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.
 
*<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.
 
+
*<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.
  
  
Line 76: Line 76:
  
  
<!--
 
If you want to see the macro in action, then check out this [http://www.youtube.com/watch?v=ni5QE4eaphU Youtube Video]
 
-->
 
  
  
[[User:Cegaiel/Macros/Mining/Code | Get Code!]]
+
.zip file includes .ahk, .exe and ok.png files. Make sure the ok.png is in the same folder as the scripts.
 +
 
 +
 
 +
[http://www.atitd.org/wiki/tale4/images/f/f1/Mining.zip Download .zip file from Wiki] Note wiki will produce a corrupt .zip file if downloaded with IE. Download with Firefox or Chrome.
 +
 
 +
[http://sharpnetwork.net/atitd/macros/mining.zip Download .zip file from Mirror Site] - No corrupt errors when downloaded with IE. Firefox/Chrome is fine too, of course.
  
[http://www.atitd.org/wiki/tale4/images/f/f1/Mining.zip Get EXE]  &nbsp;&nbsp;&nbsp;&nbsp;  [http://www.atitd.org/wiki/tale4/Image:Mining.zip Verify] the last upload date (Current), for the EXE. Make sure the latest update, matches the Last Update date, at top.
+
[http://www.atitd.org/wiki/tale4/Image:Mining.zip Verify] the last upload date (Current), for the EXE. Make sure the latest update, matches the Last Update date, at top.

Revision as of 00:45, 31 October 2010

Mining (Autohotkey)

I was trying to create a simple way to do sand mines, this does not have enough stone breaks to satisfy me. I will try to make a sand mining macro soon that runs the patterns in the wiki. So I originally advertised this a sand mining macro, I will concede this to be a partial failure and now call this a Mining macro instead. Since it only does 3 stone combinations, it wont work on Silver and other abnormal metals. But it will work well on common metals.


  • 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 until complete. Takes about 82 seconds to complete, using default delay speed.
  • 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)


  • 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.



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 mining crystals, 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 crystals 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 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.