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 "Macros/Iggys/Gather"

From A Tale in the Desert
Jump to navigationJump to search
Line 30: Line 30:
 
*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! :)
 
*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!
+
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

Revision as of 07:42, 24 December 2008

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