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.

Macros/Iggys/Gather

From A Tale in the Desert
Revision as of 18:20, 19 December 2008 by Iggyboo (talk | contribs) (→‎Feedback)
Jump to navigationJump to search

Gather_v0.6

Download-Gather_v0.6.zip
  • Extract it and place it in a folder anywhere on your computer. I used "C:\Macros"
This macro runs with ATITD in windowed mode at full screen (or as big as you can get it). It was tested on 1280x1024.
  1. Run the macro named Gather_v#.#.ahk
  2. Set your icons to regular size (not small icons), if they are not already.
  3. Hit one of the hotkey combinations for the resource you want to gather
    1. Ctrl+Alt+g = Gather Grass.
    2. Ctrl+Alt+s = Gather Slate.
    3. Ctrl+Alt+c = Gather Clay. <-- Be sure you have enough water in jugs.
  4. Run around the area and the macro will click the resource to gather it when you run over it.

Notes

This is very BETA. Use at your own risk. Do not leave the screen wile this is working, as you shouldn't do that anyway. ;)

If it just isn't working, you can find all of the "*50" in the code and replace them with a higher number. Every screen has slightly different shades and this part of the function will increase (or decrease) the search functions variability in finding the buttons. Don't set it too high.

This was tested on WinXP_x64 with no themes applied except for the standard one. If you have a different theme, especially a funky one that changes title bar sizes, then this might not work.

Feedback

"Leave me some feedback on this page. I can't improve this macro if I don't get any"

"I think it should look at a fixed path for the images (e.g.: C:\Gras.png). Is it possible to make it look in the directory, from where the script has been launched?" -- ENTi

  • IGGY -- "Woops! I forgot to change it to look in the current working folder (ie. C:\Macros\Gather\*.png). v0.6 should do that now. Thanks for bringing that to my attention! :)