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

Users > Anka > Macros

Macros by Anka

I've made quite a few macros and it's time to start sharing them with other ATITD players. I use AC Tool 5.3.0 http://www.actool.net/ and run in WinXP. I've learned to write these macro's from macros that others have posted on the wiki. I'll keep improving them as I learn more about ACTool. It has so much potential and I'm only using a fraction of it's capability. Instructions for each macro are in the comments at the top of the actual macro.

All macro's are written in 1024x768 resolution.
ATITD screen maximized.
Taskbar showing. If you have the taskbar on autohide, it will throw things off. I plan on adding an option to counteract this later.
ENJOY!

IMPORTANT! Don't run a macro unattended! You have been warned :)

Update: A question asked often is... Is there a key to start and stop ACTool. I've been using it for over 2 years now and just found it lol. Look under Editor->Preferences->Global Hotkeys. Set them how you like.

Barley

This is not my macro but one created by Draeton in Tale 2. I've been using it since then and there is no reason to reinvent the wheel :). This is one of the macros I used to learn what I do. The following text is from Draetons T2 page.

This is a macro to do barley. It uses a somewhat brute-force method (basically it just feeds them until they should be grown or must have weeds since they're not grown and then harvests them).

The way it is set to run here it will run through 2 sets of plantings of 8 barley beds. You can use this with normal str and normal dex.

This uses only fertilizer, no weedkiller. You'll want a minimum of

on you when you start this (for 2 plantings, more for more plantings obviously). There's a variable on line 4 that you can change the number of loops to run through at. It is well commented at the top of the file as regards to the stuff easy to change.

You will want to be on grass with grass all around you and nothing else for a coordinate or two.

Barley

Barrel Vise

This is a new macro for me. It actually worked right out of the box with little alteration. Instructions are at the top of the macro. You can alter the amount of flame to your liking but at the current settings, flame was as high as 98% and I completed a barrel with only 54 wood. Has an option for guild barrel vises also but I have not tested that. It should work fine. If you have problems, /chat Anka :) Enjoy
UPDATE: 8/12/06 - Added a batch and small GUI

BarrelVise2

Beer Kettle

This one is simple but was a lot of work to complete. The bad thing is that it cant be customized as easily as my other macros. I will post it a bit later when I add the finishing touches. Currently it adds up to 4 early (1180) and 4 late (20) ingredients. It will start the kettle, find the ingredients and get the windows prepared to add the ingredients. In order for your ingredients to be found, they must be visible when you open the ingredients box (First 12 spots in inventory). When the timer hits 1180, the macro with dump the early ingredients in the kettle. It does the same for the late ingredients. It is currently set to seal at 1800 and now runs 1-4 kettles. If you are interested and have a different seal time, /chat me and let me know so I can include that seal time in the macro. Anka

Bricks

In tale 2, my macro dropped the racks, ran the macro then picked up all the racks and closed the windows. With the arrival of flimsy brick racks, there is no need for that macro. This macro is for improved brick racks.

This macro is designed to run as many brickracks as you want as long as they fit on the screen with Cartographer View (Double F8) zoomed all the way in.
INSTRUCTIONS:
  1) "Enable hotkeys on brickracks" under Utility>One click and related
  2) Minimize all windows so you can see all of the racks
  3) Have the needed supplies in your inventory
  4) Put your pointer in the middle of the rack in top left corner
  5) Alt tab to ACTool (Don't touch the mouse)
  6) Press F2.  Fill in the box, your settings will be saved

Enjoy :) Anka

UPDATE: 9/1/2006 - Added a small change that addresses people using a large number of racks. The macro would sometimes hang on a completed rack. Added a slight quiver to the mouse to fix this.
Bricks3

Carpentry Blade

I wrote this one not knowing how it would turn out. It is very messy but works. It makes a blade in about 7 seconds with quality average of 5567. It has a built in loop. Was funny watching it out 15 blades :) NOTE: My setup has the ends of my anvil to the North and South. When you load a carp blade, the blade end faces West.
Update 8/04/06 - Added a small GUI and tweaked the macro a bit. It now can use any metal and makes blades between 6598-6695 quality. Here is a picture showing the mouse start position thanks to Yazza.

Yazza - i changed the macro a bit, anka hasn`t been on long so with moonsteel in the list it didn`t work anymore, now it does for al the old metals.
CarpBlade5

Charcoal Hearth

Yes :) Believe it or not, I've macroed the charcoal hearth! I run it in 1024x768 resolution. It can run 1 - 8 charcoal hearths at a time. Instructions are on top of the macro. Hope you enjoy it.

I feel comfortable calling this a ready to post macro. 8 hearths are working properly and ing as intended. It does add some wood during the ing portion but it is less than 10 wood. I'm looking into it.
Things to do: Add a color test to help some of you that are having problems with color detection. I believe this to be due to different video card hardware. Some people have resolution problems even when set on 1024x768. Chat me and I'll help as much as possible. - ANKA

UPDATE: For those of you having problems with LoadRGB command causing an error - Psychodelica has found the problem :)

After workin on the ccOven macro for quite a while, sometimes it works great, and others I lose wood. Since I never lose wood and finishes %100 with hearths, I've decided to do some improvements to this one instead and will be my cc macro of choice.

UPDATE: 9/8/2006 - This macro will now run up to 12 guilded hearths or 10 personal hearths in 1280x960 resolution. I have not tried it in other resolutions but it still runs up to 8 hearths in 1024x768 resolution. It may work in other resolutions but I have not tried them. Detailed instructions are at the top of the macro.
Enjoy :)

ccHearthV4

Charcoal Oven

Here is the oven macro. I have tested it with 5 ovens so far. Works in the same manner as the ccHearth macro but also adds the vent. Play around with the settings to get it working like you want. Ovens are more volitile than hearths so I normally take the safe road :).

UPDATE: 08/24/06 - I think it runs much better with this update. Thanks to Djanee for being my 2nd set of eyes. She helped stablize the general running of the oven. Thx also to sklaar for pointing out the problem some people are having with color detection. Green now works like blue and has a menu option to edit it. I've also added code to handle the problem of the heat dropping to zero. The new HeatMin option in the menu handles this. If heat drops below this number, it will add wood. So don't be alarmed if your heat drops low and wood gets close to max. It will lvl out. I'm still working on some other improvements. I've also added a menu option to control how often the macro checks the ovens bars.

ccOven3

Clay / Slate

This is not my macro and no mention in the code to give credit. I was going to write one but this works well for me, no need to reinvent.

Well, I just made some changes :) The macro did 2 things that I wanted to change. It only ran for 10 mins at a time so I changed it so it will keep running untill you stop it by using a hotkey or alt tab. Also, before, it moved the mouse to the clay or slate button so while running up and down the waters edge, you had to keep readjusting the mouse. It was also a problem when you were picking clay and was out of water. The mouse was stuck on the clay button. You now have full controll of the mouse without changing the function of the macro. It still goes to the button but so quick now.. hard to tell. Enjoy. :)

ClaySlateV2

Flax

The last flax macro had many things to watch and would hang up if you didnt get the setup just right. So, I re-worked it with a new method.

Resolution: 1024x768 eGenesis Client: Maximized Windows taskbar : Showing (Don't autohide - it throws the resolution off)

This macro uses a second file called Objects.mac. Put Objects.Mac in your install directory for ACTool. ...Actool\Macros

UPDATE: 9/05/06 - Noticed that color values change on the same button depending on how many icons you have up. This is due to the pointer hitting the same button but in a different place. I've replaced that code with something a little more generic. The macro is finally out of beta and should be working the way it was intended. Instructions at the top of the macro. Also added a waterless option for the new seeds.

Flax6
Objectsv3

Glaziers Bench

Did some editing recently and have this macro running in Tale 3. Coming soon :) I need to write the fix for the changes and some updates I've done. Very nice macro released out of my private collection. The Fine glass section is done.

Grass

This is a simple grass macro. As always..

1) 1024x768 Resolution
2) Cartographer view (Double F8) zoomed all the way in.
3) Small action buttons under Utility>interface

UPDATE: Added a message box to set reps

Grass2

Multi - Tool Macro :)

This one will do... This version of MultiTool uses another file to run called Objects. Place this file in your install dirctory\Macros. ex. C:\Program Files\ACTool\Macros
It wont work if this file is not there.

There are no timers in this macro, it watches your End, Str, Per timers and acts when ready so will work without changes when using food. Instructions are at the top of the macro. I need to re-work the mining section since Teppy made changes.

Special Instructions for Firepit section:

This picture shows the firepit orientation viewing from Cartographer view. The top of the picture is north.
Notice the jagged edge of the stone to the right. Put the tip of your mouse pointer in the point circled. The tip of your mouse should match up with the graphic. The rest of the instructions are at the top of the macro.

The firepit macro will miss if you dont have it set right but once you get it... it will run all day. Kids, don't try this at home :)

Update: 8/3/2006 Added a Simple GUI

MultiTool12
Objectsv3

Onions

This macro will run up to 12 plants at a time. Instructions are at the top of the macro. Lag can be a problem with plant placement at times. I've added a GUI to help :) Very customizable.

Onions3

Paint Lab

Oxi requested this and I see the need .. at least till mass production of color is out. It's kind of simple but will do the job.. wrote it out quick in 10 mins :) Sorry, only written to do guilded paint lab atm. Instructions at the top of the macro. Pin the paint lab window to the top left corner.

Enjoy Anka :)

Paint3

Potash

I forgot about my kettle macro :) Just pumped some new life into it. Removed the timer. This one actually reads the Wood display and adds wood when it reaches 0 :)
Update: 8/17/06 - Cleaned it up a bit and it now runs up to 18 kettles.

Potash2
Objectsv3

When all else fails

Use this simple timer.

Emergency

Private Macros

The Macros below are currently my private macros. I may be posting these later.

Glory Hole

This one only did Thermometers in Tale 2 and was very rough. Re-worked it a bit and have it working making thermometers. It's not a fire and forget macro. It's designed for you to take control at some point and finish the job so you are sure about the quality. My success rate is %100. Trading thermometers for 2 glass pipe and 1 quicksilver.

Veggies

My Veggie macro now grows all vegetables. :) Carrots have been a challenge in the past due to their small size but finally got it. Sorry, this is a private macro atm.

Comments

If you are using any of my macros and have comments, suggestions or you have a requested macro.. :) Let me know here. Please don't alter any other part of my page. Anka

Comments

Hi Anka, love your hearth macro. Would you be able to write one for the paint lab? --Oxi

Hi Anka, I see you've created a veggie macro but I don't see it? --CaveCub

Hi Anka I loved ur CC Hearth and now you got a Oven very cool. But only works with 2 for me 3 and they all lose heat and die but ty save me wood :D

Thanks so much Anka! got the CarpBlade working :) -- the secret is having the right tools, and standing in just the right spot. --Oni

I cant seem to get the muti working on the loom and rake not tried others. It just keeps clicking the the same spot over and over. Thanks

Just wanted to drop by and say that I just made my first 8 ccheart run and it worked fantastic! Thank you! Its brilliant! /SalK

As a charcoal inept I'd like to say thanks too for both the oven and the hearth macros. And the mining one is brilliant, once i figured it out! Sariel

Where do i need to stand in relation to the anvil to get CarpBlade working? --SimonV2

THANK YOU!!!! I know you didn't write the barley macro, but it just saved my chickens from imminent death. I can't stand growing barley and was about to give up, now I don't have to! I can't wait to try the rest of your macros. Once again, THANKS!!! :) - rubenette


NameCreatorDateSizeDescription
BarleyAnkaAugust 9, 2006 7:57 pm19362Brute force barley macro
BarrelVise2AnkaAugust 12, 2006 1:58 pm4085Runs a barrel vise :)
Bricks3AnkaSeptember 1, 2006 1:26 pm3370Macro for improved brick racks
CarpBlade5yazzaFebruary 4, 2007 11:02 am5094Makes 6500 Carp Blades
ClaySlateV2AnkaSeptember 8, 2006 3:44 am1105Picks clay or slate as you run
EmergencyAnkaJuly 16, 2006 4:07 pm931Use this if you cant get your color detection to work
Firepit.jpgAnkaJuly 27, 2006 5:37 am33894Orientation of firepit viewing in cartographer view
Firepit2.jpgAnkaJuly 27, 2006 5:37 am12181Shows correct mouse position
Flax6AnkaSeptember 8, 2006 7:56 pm13247Flax macro that handles the flax changes.
Grass2AnkaAugust 3, 2006 12:24 pm1803Simple grass picker
MultiToolAnkaJuly 4, 2006 12:02 am9595DELETE
MultiTool12AnkaAugust 8, 2006 9:21 pm13400Digs, Mines, Limestone, Dirt, Loom, Hackling Rake,Hookah, FirePit
Objectsv3AnkaAugust 16, 2006 6:34 am10162Companion file used with many macros
Onions3AnkaAugust 22, 2006 12:34 pm5453Grows 12 Onion plants
Paint3AnkaJuly 15, 2006 5:21 am2728Does batches of pain on the paint lab.
Potash2AnkaAugust 17, 2006 1:36 pm3807Runs 1-18 Potash Kettles
carp.jpgAnkaSeptember 7, 2006 7:39 pm7006Shows mouse start position
ccHearthV4AnkaSeptember 8, 2006 7:36 pm14470Runs 1-8 charcoal hearths :)
ccOven3AnkaAugust 24, 2006 7:47 pm11566Will run multiple charcoal ovens. Have not tested past 5

Home | Atlas | Guides | Tests | Research | Techs | Skills | Index | Recent Changes | Preferences | Login
You must log in to edit pages. | View other revisions
Last edited March 12, 2007 7:19 pm by rubenette (diff)
Search: