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/Flax

From ATITD5
Jump to navigationJump to search

T5ok small.gif Flax_v0.7

Download-Flax_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 labeled "FlaxMacro_v#.#.ahk"
  2. Find a nice flat place of grass that has enough room for 3x3 plots of flax
  3. Turn flax hotkeys off, if they are not already.
  4. Bring up your plant menu and make sure "Flax: _____ " is the only entry.
    1. Make sure the variety of Flax you want to plant is the top most entry in this menu.
      1. If it's Nile Green make sure you have enough water. (Harvest Flax Only)
    2. Pin this menu and place it as far top and left as it will go.
  5. Set the camera to "Cartographer's View" (F8 twice) so that you are looking straight down on your avatar.
    1. Zoom all the way in.
  • To pause the macro: Ctrl+Alt+Shift+"P"
  • To Start harvesting: Ctrl+Alt+"F"
  • To Start seed harvesting: Ctrl+Alt+"e"

Do not move your mouse while it is working. Pause it before doing so if you must.

== T5N.gif Flax_v0.8 ==

Flax macro v0.8 english version
Mirror
Flax macro v0.801 Last update


This is a improved version of v0.7. It makes a 3x5 seeding/flaxing field, insteed 3x3 field.


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 labeled "FlaxMacro_v0.8##.ahk"
  2. Find a nice flat place of grass that has enough room for 3x5 plots of flax
  3. Turn flax hotkeys off, if they are not already.
  4. Bring up your plant menu and make sure "Flax: _____ " is the only entry.(working on v0.9 to auto this)
    1. Make sure the variety of Flax you want to plant is the top most entry in this menu.(working on v0.9 to auto this)
      1. If it's Nile Green make sure you have enough water. (Harvest Flax Only)
    2. Pin this menu and place it as far top and left as it will go.(working on v0.9 to auto this)
  5. Set the camera to "Cartographer's View" (F8 twice) so that you are looking straight down on your avatar.(working on v0.9 to auto this)
    1. Zoom all the way in.(working on v0.9 to auto this)
    2. Lock your camera with Alt+L
  6. Keep the left half of your screen free of icons or menus (except the pinned "plant" menu).
  7. Items and Skills window should be minimized or made small.
  • To pause the macro: Ctrl+Alt+Shift+"P"
  • To Start harvesting: Ctrl+Alt+"F"
  • To Start seed harvesting: Ctrl+Alt+"e"

Do not move your mouse while it is working. Pause it before doing so if you must.

I want to give a big thanks to Iggy for this great macro. I just made some editing and testing on the 3x5 grid. Although it works almost perfect (90% success) it still have some glitches due to too many instructions. Find a place flat & lag free and enjoy some flaxes!

~~I haven't been able v0.8 to work in Tale 5 yet.

Changes

12-20-08_v0.6 Added the functionality to harvest both Old Egypt and Nile Green flax!

12-24-08_v0.7 Now you can Harvest flax (Ctrl+Alt+f) and Seeds (Ctrl+Alt+e) with the same macro!

03-07-10_v0.8 (improved version of v0.7 , edition made by pibe) 3x5 field grid Added an initial popup window explaining procedures before starting.

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"


What software is needed to run this type of file (.ahk)?

When I run the macro on my 1280x1024 desktop it works great! ~ However when I run it on my 1280x800 macbook the pinned menus on the side get in the way of the clicks, messing up the macro... any ideas? Also, it would be nice if it did more than 9 flax at once. ~Cory0210

  • Cory0210 I was able to fix the problem! Simply minimize the taskbar (startbar)!

It doesn't seem to work with me, clicks in wrong places and tries to plant on top of other beds. Running full screen 1280x800 vista x64, suggestions? -Darkan

  • IGGY - Are you zoomed in all the way using the cartographer's camera?

i was wondering if there was a way to increase the yield? instead of 9 put it upto 20?

  • IGGY - I'm actually working on that now for version 0.8. :)

hey iggy i left ya a message in game and ill also tell ya to goto mi wiki for something

works on vista 64 bit with 1600X1200 ( max window )

works on vista x64 @ 1680x1050 (with and without sidebar pinned on top) AnarchyRising 06:31, 13 January 2009 (EST)

works on vista @ 1440 x 900 with 1 exception , on seeding , it " tears down the building " instead of ripping out the bed . To fix this you need to change the "y" co-ord on the 3 lines that have " rip out this bed " on them from -8 to -18. Galagah

  • I have winXP same resolution. The change of the "y" coord did fix it for me :) - Saffrian

When I ran it the leftmost column of pinned flax windows wouldn't unpin properly. I was able to fix it by changing pinLocX from TCX+150 to TCX+152. I'm guessing the actual problem is that the script tries to position the window a bit to far over. I also can't get more than one seed run to work. It tries to plant on top of existing beds and the game complains about stacking. Zaarain

  • Seiun - I tried it but the first column never unpin then after a time running, i reach the max number of opened window

still working on editing your script so that after the last flax bed gets harvested for flax it will wate 2 sec so it can run over to it atm it will leave 1-2 beds every time - Cas

I am having issues with the macro doing everything fine until it rips out the seeds off all the beds and then goes on to plant new beds. Problem is that the flax beds are still there when it goes to plant more beds. I have tried changing the passes number from 3 to 4 and then tried 5 and it still is doing same thing. This is dealing with just harvesting seeds, as I have not tried the flax harvesting option yet. Thanks - Wafflehowse

If you have problems with this macro under Windows 7, try changing your interface to Windows Classic. The macro was sending the cursor just a fraction above where it should have been, because the Aero window frame is slightly thicker than the Classic frame, so the plant flax dialogue wasn't in the right place.

Got it to work after downloading the old zip. file and extracting the .png files too. Same problem still that first column does not unpin.