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.

User:Cegaiel/Macros/SandMining

From A Tale in the Desert
Jump to navigationJump to search

Sand Mining (Autohotkey)

  • Although this has only been tested on sand mines, the logic of how it works should also work on metal ore mines, too. Perhaps not the pesky silver though.


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


  • Added: 10/24/2010
  • Last Update: 10/25/2010 - Updated to likely work with metal ore too. In the process, found an error that was not working every combination. Now corrected, but the time of completion is raised from 58 to 82 seconds, due to it being more thorough. The macro now takes in to consideration how many ore stones there are, and adjusts the pattern, based on number of ore stones (instead of being hardcoded for sandmining with 7 stones).



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.

ie

Sand mines have 7 ore stones, which would be numbered 1-7

Basically here are a sample of the patterns it runs:

Combinations including ore stone #1: 123 (ABC) 124 (ABD) 125 (ABE) 126 (ABF) 134 (ACD) 135 (ACE) 136 (ACF) 145 (ADE) 146 (ADF)

Then onto ore stone #2 and run all of those combinatations, etc


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.


If you want to see the macro in action, then check out this Youtube Video


Get Code!

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