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.

Macros/Iggys/Gather

From ATITD5
Jump to navigationJump to search
Delimiter Large.png
Tale 4 information
  • Information on this page has been lifted from Tale 4
  • Do not assume any information on this page is valid for Tale 5
  • Please update this page so that it becomes the relevant information for Tale 5
  • If you can confirm information is valid for Tale 5, place the symbol T5ok small.gif next to that item with the {{5ok}} tag
  • Once this page is fully updated with Tale 5 information, please remove this stub
Delimiter Large.png

Gather_v0.7

Download-Gather_v0.7.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+Shift+g = Gather Grass.
    2. Ctrl+Alt+Shift+s = Gather Slate.
    3. Ctrl+Alt+Shift+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, edit the file and raise the value in the variable shades:="*75" to something higher (ie "*90" <- you need the * ). 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.

Changes

12-19-08 v0.6 -

  1. Forgot to set the grass function to look into the current working folder

12-24-08 v0.7 -

  1. Changed the hotkeys to include the Shift key.
  2. Added a "shade" variable to allow the shade variability to be increase/decreased

Older Versions

Download-Gather_v0.6.zip

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. If the macro is in the folder C:\Macros\Gather\ it will look for the images in that folder). v0.6 should do that now. Thanks for bringing that to my attention! :)

Hi Iggy, I relinked your download link to 0.6, it was still downloading 0.5. For the life of me I can't get it to pick grass, but I did get it to gather 1 slate but not finish. It would gather the slate I was standing on, and then start running off into the distance, ignoring any slate it might run over along the way. Also - I can't use Ctrl-Alt-C because that seems to be assinged to ATI Catalyst Control Center. Can you remap that combo to another key or post directions on how others can? For reference - I am using Vista 32bit with 1280x960 video display. I just tried changing to 1280x1024 but that did not help. I have the macros in an ATITD\Gather subfolder off AutoHotkey. Hope you can help. And thanks for creating and sharing these! -tehmoosh

  • IGGY -- "Hmm. I'll change the hotkey for each to Crl+Alt+Shift+"key" so hopefully that won't interfere with ATI-CC or anything else (let me know if it does). I will also increase the default shade variability (currently *50 shades) to a little higher to see if that will work better. This will be V0.7 and I'll start a sequence of versions instead of replacing the old versions. :)"

Hiyas Iggy it does not find the png file

  • Hi. What is used to open the macro? Shikar
    • AHK (AutoHotKey). go to the main macros page and find the link for it at the bottom.


Working fine for me on WinXP in Tale 5. Tzalaa


  • Not clicking in Windows 7 (64 Bit), using AutoHotKey_L. The script executes, sees the icon, adds an increment to the tray icon counter, but never actually clicks on the icon to gather. - Darkfyre