Search: Home | Atlas | Guides | Tests | Research | Techs | Skills | Index | Recent Changes | Preferences | Login

Users > Anguz > Macros

Important Note

Afk macroing is not allowed in ATITD! So if you do and get caught, live with the consequences. The macros on this page are there to easen your grind - but still require some, if little, effort on your side.

General Notes

This page is work in progress as I just started writing macros for ATITD. In fact I just started playing ATITD. I am using AutoIt Version 3.2.4.9 to write the macros. As it does allow the compiling of those into executable files people who do not want to install AutoIt themselves can simply use the compiled versions (tho being limited to what I coded). Be sure to check for viruses if you do (and lemme know if they are in fact infected, one never knows).

I am running the client maximised on a desktop resolution of 1152x864. If your resolution is different there is a fair chance that those macros needing specific mouse coordinates to work wont work as expected without being modified (i.e. the grass/clay collecting macro). As all my macros are well documented you might just download AutoIt yourself and edit those mouse coordinates. In the future I might add code where the user can enter the screen width and height (or the script figuring them out itself), so the script can adjust where to click. That feature is not available yet!

All macros are (un)pausable using the "Pause" key on your keyboard. In fact they start in pause mode. Also you can turn off the tooltips with a commandline switch (notooltips). This would look like this:

macro.exe notooltips

You can easily create a shortcut with the commandline parameter by right-clicking the executable, selecting "create shortcut", then right-click the newly created shortcut, select "properties" and enter " notooltips" after the text in the editbox named "target:". Im not giving more help with this topic as it is basic windows stuff. So dont ask me ingame how to create shortcuts please.

If you have any other troubles with the macros tho, feel free to chat me ingame, or - if you are a macro coder yourself - exchange your thoughts on how to improve those macros.

grass/clay gathering macro

grass collecting macro 1

This one - my first - is pretty simplistic but saves lots of hassles when gathering grass (or clay/flint). Switch to F7 mode, scroll in the view so that the horizon barely scratches the icons in the top right corner and position your character to look into a direction with loads of grass. There are two versions available. On with autorun and autostop (when pressing the pause-key) and one where you have to start and stop running yourself. For the autorun version it is of vital importance that no object is obstructing your way. For both versions it is of vital importance that no object nor the ground is in the position where the grass button usually appears (so that if the grass button is not there the script will "click in the sky", not changing the avatars direction).

When using the non-automoving version of the macro (a bit more work but one can specify exactly where to move) you should start moving before unpausing the macro as it will take over moving the mouse - which again would interfere with selecting a proper location to move to.

Feel free to leave some notes here on weather you like the way this works, or if you would prefer a macro using F8F8 view and running back and forth a few steps while collecting grass. Problems with that approach tho would be cases of lag where the macro would click on the ground because the grass button aint there yet. Also the way I did implement it it is pretty impossible to go afk for too long, as one has to change direction and pause/unpause the macro to continue collecting.

Feel free to leave your comment here! ~Anguz

grass collecting macro 2

This one requires less interaction but gathers slower. To use it simply gointo F8F8 view, scroll all the way in and press the pause-key to unpause the macro. The avatar will run up and down collecting grass.

Comment if you like! ~Anguz

auto-mouseclick macro

This is also a very simplistic macro, but very useful. It does nothing but simulating left mouseclicks, but there are tons of actions where one could use a macro like this. Examples would be creating boards, collecting lime, acroing, and more. The user can specify the amount of time that should pass between the mouse clicks. Therefore it is widely usable.

It also is easy to use. Just start the macro, switch to the game client and enter the time which should pass between the mouse clicks into the popup window which appears. After clicking the button this window will close and set the macro into pause mode, so you can prepare your ingame windows. Sticky the window which you want to receive the mouse clicks and position your mouse. Now just press the pause-key to unpause the macro. Pressing that key again will pause the macro again and pressing the esc-key will quit the macro.

Again, feel free to comment on the macro here. ~Anguz

flax gathering macro

This one lets you plant, weed and harvest flax automatically. It creates a matrice of 3x3 flax beds, weeds and harvests them, then restarts the procedure as often as the user specified. In the popupwindow at the start you can define how many flax fields (i.e. 3x3 matrices) you want to plant. This window also lets you specify the exact center of the client window in case your desktop resolution is not 1152x864. In case it is, just leave the values which are filled in.

Note: This works for the normal starting breeds of flax (Flax:Old Egypt and Flax: Nile Green) or any breeds that have 2 watering/weeding cycles before harvests. But it can easily be modified to work with other breeds as well.

step by step guide

You might first want to try it out without the flax-planting window stickied. Have the map in the upper left corner instead, so that a simulated click up there wont move your avatar to that location, and run the macro.

Your comments here. ~Anguz

slate gathering macro

Simple! Just start the macro, run around close to the shore and automatically collect any slate which gets in your way. This macro should work with all resolutions.

Unfortunately the code which deals with the counting of the amount of slate collected aint working as intended. I cant see a way of implementing that code short of using asyncronous timers which I find too complex to use in a simple macro (which does it work perfectly apart from that issue). Unless I or someone else finds another way you will have to keep track of how much slate you gathered yourself (heh - you didnt think the computer would do all your work, did you?) Because I still have hope of finding a way of implementing this, I will not remove the ability to enter an amount in the popup window at the beginning - if it really bugs you, just remove it from the macro yourself.

Your comments here. ~Anguz


NameCreatorDateSizeDescription
flax_harvesting.au3AnguzJuly 18, 2007 2:04 pm9716flax harvesting macro script
flax_harvesting.exeAnguzJuly 18, 2007 2:05 pm219143flax harvesting macro executable
grasscollecting_automove.au3AnguzJuly 18, 2007 2:01 pm2846grass collecting macro script
grasscollecting_automove.exeAnguzJuly 18, 2007 2:01 pm208159grass collecting macro executable
grasscollecting_noautomove.au3AnguzJuly 18, 2007 2:02 pm2949grass collecting macro script without automovement option
grasscollecting_noautomove.exeAnguzJuly 18, 2007 2:03 pm208223grass collecting macro executable without automovement option
repeated_leftclick.au3AnguzJuly 18, 2007 2:03 pm4198macro simulating repeated left mouseclicks (script)
repeated_leftclick.exeAnguzJuly 18, 2007 2:04 pm218215macro simulating repeated left mouseclicks (executable)
slate_gathering.au3AnguzJuly 18, 2007 2:05 pm4788slate gathering macro script
slate_gathering.exeAnguzJuly 18, 2007 2:06 pm218435slate gathering executable

Home | Atlas | Guides | Tests | Research | Techs | Skills | Index | Recent Changes | Preferences | Login
You must log in to edit pages. | View other revisions
Last edited July 18, 2007 1:52 pm by Anguz (diff)
Search: