The Wiki for Tale 6 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 "User:Cegaiel/Macros"

From ATITD6
Jump to navigationJump to search
Line 158: Line 158:
 
*Updated 12/13/2011 (Now includes a routine to detect a popup box if using a Flax Comb and it breaks)
 
*Updated 12/13/2011 (Now includes a routine to detect a popup box if using a Flax Comb and it breaks)
 
*Code Reposted on Jan 23, 2012 - There seemed to have been an extra line break in the script causing error on Line 34. It should be ok now.
 
*Code Reposted on Jan 23, 2012 - There seemed to have been an extra line break in the script causing error on Line 34. It should be ok now.
 +
 +
 +
TRY THE HACKLING RAKE MACRO in VEGGIETALES!
  
  

Revision as of 00:36, 5 May 2012

* How to use these macros *

Note to use most of my Macros, you need the Autohotkey program installed. Once you download and install the program, then you just click the "Read more..." links, then the "Get Code!" links to copy/paste the file into Notepad (or whatever). Note if you are having difficulty highlighting the code, then click the Edit or View Source button at top and it will put the code inside of a form box (makes easy copy/paste). Just be sure to never save the <pre> tag at beginning or the </pre> tag at the end. Those are wiki tags. Then save your file as something.ahk (AutoHotKey) or something.mac (Actools). All of my macros work at any resolution, except where noted otherwise (ie 1024x768 in the macro name, means some portion are hard coded for that resolution). You will want to manually set your resolution in that case. Otherwise, no need to worry about your resolution... If my macro is in a .zip format, then you dont need to copy/paste the code, that will be included in the zip file as a .ahk file. Just double click on it to launch. Some of the macros are in zip format, which may include image files. Those need to stay in the same folder as the macro. Some zip files also contain a .exe file. This is a compiled version of the .ahk macro. The .exe is a standalone version and can be ran, even if you do not have autohotkey installed on your system. You only need autohotkey installed if you are running .ahk files, not .exe.


Note: If you are having difficulty copying and pasting the code on the web page, then click the Edit (or View Source) link at top and the code will be in a form text box. Then you can highlight the code (exclude the <pre> and </pre> tag, this is a wiki tag), inside the form box, very easily.


PUBLIC CREMATORIES MACROS

Preconfigured PUBLIC Crematories: Autohotkey


All downloads are from mirror site. No zip errors from wiki (IE 6, 7, 8 friendly)


Sorry, I had a hard drive failure and lost these files. Perhaps someone in the guild can point you to a copy!

The below links do not work anymore... However, I still have the master copy that can still be configured for any crematory again. But note, I'm starting to like the crematory macro in Veggie Tales now and find myself using that more often.


There is now a Veggie Tales crematory in Talescripts that was added Feb 24, 2012.


Public Guild Crematory Location Download Macro
Nile View Guild 1123,3730 Download AHK macro
River Plains Public Works (RPPW) Guild 1552,2331 Download AHK macro
Cruz Del Sur Guild 1497,2568 Download AHK macro


  1. Pinup Crematory Window anywhere. (not in middle where a popup could occur) - MAKE SURE IT IS EMPTY FIRST ('Take...' option NOT present). If so, Take the items, remove any existing pinups, then redo the pinup)
  2. Load crematory manually.
  3. Fire crematory - Macro will take over.

You can use Ctrl+A (Automode) to Take, Load and Fire batches. It will attempt to load each possible item (papyrus, leeks, flax, wood, lime). If you do not have any, then it will ignore and continue without error. So you are not required to have every possible ingredient in your inventory. Note Automode will not work if ANY of the red progress bar is present. If you have a failed previous attempt, the red bar will be paused and Autload will not work. You will need to load and fire it manually in this case. Macro will take over after you hit Fire.

Get Mouse Coordinates and Color (Autohotkey)

If you write AHK scripts, then this a great helper, where applicable.

  • Gives accurate x,y coords on ATITD. It even realizes that the upper left corner of ATITD is 4,4, not 0,0 so very accurate, unlike some 3rd party programs that give coordinates
  • Displays a tooltip as you move mouse around.
  • Shows the hovered mouse position and color in the tooltip.
  • If needed, Press F2 at anytime to copy the color and mouse coordinates into Clipboard (then Paste, Ctrl+V into Notepad or something).
  • Also shows screen center position and the offset you are from there. Tutorial on next page to see how to code button positions to work at any resolution.


Read more...


Pick Grass (Autohotkey)

  • Enter amount of grass to collect.
  • Automatically walks around in a circle and collects grass without moving too far from where you started.
  • Great to get your Rhythmic Strength skill up.
  • Added: 12/5/2009
  • Updated: 1/25/2012


Read more...

Grow Barley 1280x1024 (Autohotkey)

  • Plants 2 rows of 5 barley beds and waters/fertilizes each bed for 5 rounds, then picks them. Yields: 2-10 barley per plant.
  • Option to choose Water Only or Water + Fertilizer. No weed killer used or supported.
  • Added 2/1/2010
  • Last Update: 10/16/2010


You might want to try barley2.lua in Veggie Tales via Talescripts instead.


Read more...

Plane Boards (Unlimited carpentry benches) (Autohotkey)

  • Supports unlimited benches, Supports any resolution
  • Point and middle click all your carpentry benches.
  • Cycles through and hovers each one, while sending the [P]lane Boards (P key) over each one very quickly.
  • Last Update: 1/19/2012 - Speeded it up and added delay variable so you can change if needed. Doesn't required Ctrl+Alt+W to start anymore, now automatically goes to GUI.


Read more...

Fishing (Autohotkey)

  • Point and middle click your fishing icon location
  • Asks for how many casts you want to do
  • Fish every 15s until completed.
  • Last Update: 1/18/2010


  • T5/T6 NOTE: While this does work on T5/T6, note that if you run out of lures, it will popup a box saying you need a lure. This macro does not detect that popupbox box (for now) and will continue trying to fish (unsuccessfully)... So make sure you are watching this close. Make sure you have an abundant supply of lures. I MAY edit this is the future to detect popups and abort script if one is detected...


There is now a fishing macro in Veggie Tales (available via Talescripts) that is more flexible. You might want to try that!


Read more...

Popup Box Closer (Lazy man's falcon hunter helper) (Autohotkey)

  • Point and middle click on a popup box with an OK button (careful, dont click on the black text in the word "OK", but on the yellowish part of the OK button.
  • Then just do your normal activities. Anytime a popup box occurs, it will automatically click the OK button to close it.
  • Originally created, to close popup boxes, when searching trees for Falcons (ie you're too tired popup box), but will close any popup box under any circumstance you might find.
  • Added: Feb 5, 2010


Read more...


Skills Timer Clicker (Digging, Loom, Dirt, etc) (Autohotkey)

  • It will walk you through the setup process via GUI menus
  • Monitors the black/red text in skills tab and only clicks when they are black (no longer tired)
  • Option to stop at a certain number of clicks or let run continuously
  • Option to eat grilled foods at the correct time, repeatedly
  • This script was created for dig sites and digging limestone/dirt, primarily. However, it would work with anything that uses a skills timer (ie the popup box that says "you are too tired to do something")
  • Idea Uses: Dig sites, Limestone, Dirt, Pumping Acqueduct, Carving, Barrel Grinder, Deep Well, Kitchen (ie Seperating Coconuts), Loom, Clinker Vat, Hookah more...


Normally hackling rake would be included in the above Idea Uses, but 2 out of the 4 clicks are on different places/coordinates on the menu, so use below Rake script for that, which addresses that issue.


  • Added: 2/14/2010
  • Updated: 12/28/2011


Read more...

Hackling Rake (Autohotkey)

  • It will walk you through the setup process via GUI menus
  • Monitors the black/red text in skills tab and only clicks when they are black (no longer tired)
  • Menu has recently changed (I think). The seperate/process flax options and the clean rake is no longer on the same line, in menu. This script addresses that issue (which is why the above Skill Timer script wont work on rakes)
  • This should work on Flax combs, too...


  • Added: 2/19/2010
  • Updated 12/13/2011 (Now includes a routine to detect a popup box if using a Flax Comb and it breaks)
  • Code Reposted on Jan 23, 2012 - There seemed to have been an extra line break in the script causing error on Line 34. It should be ok now.


TRY THE HACKLING RAKE MACRO in VEGGIETALES!


Read more...

Real Seconds Stopwatch (Autohotkey)

  • Not very useful, for the most part, but I created to help me time certain things. I could use something like ATITD Timer, however, the time it takes to make sure that the window is in focus and hit either Start/Stop (or Enter Key), is a couple of seconds I lost. This was written for more pinpoint accuracy in seconds because all you do is hit Numpad + to start timer, and Numpad - to stop timer.
  • Times in 1/10 seconds for extra accuracy
  • Counts up from 0.0 seconds
  • Display the timer in a GUI window
  • Added: 2/17/2010


Read more...


Teppy and Real Seconds Timer (Autohotkey)

  • Counts down from the minutes/seconds you enter
  • Asks if you are using Real or Teppy mode (adjusts time accordingly for Teppy)
  • Display the timer in a GUI window
  • Example Use: I use ATITD Timer to time 1m 40s (Real seconds), on Glazier Bench, so I know when to add 2cc. I use this macro to time my project timer (ie 120s (2m) for Sheet Glass). Sure I could use two ATITD Timers, but I like the ability to just hit Numpad + Key to start timer, over and over (but always waits for you to hit Numpad + to begin timer). Once you input a time, it will repeat the same time over and over. Real mode seems to be more accurate than Teppy mode with Glazier bench, could be my lag, try for yourself and see.
  • Added: 2/17/2010
  • Last Update: 12/26/2010: Changed teppy multiplier from 1.07 to 1.1 for more accuracy.


Read more...

Flax Hammocks (Unlimited) (Autohotkey)

  • Supports Grass, Papyrus and Rotten Flax only.
  • Asks what you are drying and qty. Walks you through setup in a GUI menu.
  • Loads all your hammocks, waits the correct time to dry, then unloads them all; Repeats. Will stop automatically once everything is dried.
  • Added 2/25/2010
  • Last Update: 12/17/2010


Read more...

Improved Brick Racks (Unlimited) (Autohotkey)

  • Supports unlimited brick racks, Supports any resolution
  • Asks if you are making Bricks, Firebricks or Clay bricks.
  • Point and middle click all your brickracks.
  • It will hover each of your brick racks and press the correct key [B], [F] or [C] of the type of bricks you are making.
  • After loading the brick racks, it will wait for the brick racks to complete and hover each rack and hit the [T]ake key to remove them and continue going.
  • Added: 1/18/2010
  • Last Update: 11/14/2010


Note: This macro will NOT work on flimsy brick racks, only Improved brick racks! Flimsy brick rack makes you walk to it, whereas Improved brickrack does not.


Read more...

Pottery Wheels (Unlimited) (Autohotkey)

  • Supports unlimited wheels, Supports any resolution
  • Point and middle click all your pottery wheels.
  • It will hover each of your wheels and press [J]ugs key to make jugs.
  • It will wait for the jugs to complete and hover each wheel and hit the [T]ake key to remove items and continue going.
  • Added: 3/17/2010
  • Last Update: 1/14/2012


Read more...

Papy Picker (Autohotkey)

  • Looks for papy close to the avatar, and picks it via right click...
  • Added: Sep 16, 2010
  • Last Update: Feb 3, 2012


Read more...

Make Carpentry Blades 1680x1050 (Autohotkey)

  • Make 7.0k - 7.2k quality blades in 10 seconds
  • Many automated functions, via hotkeys, during script.
  • Extremely simple and repeats previously confirmed successful blades with a single click.
  • No need to find the same mouse coordinates over and over!
  • It will even automatically double F8, zoom in for you...
  • Asks if you're using Copper or Iron metal
  • Credit to Oni's T5 macro, this is based off his macro, but converted from Actools to Autohotkey; We appreciate your hard work :)
  • Last Update: Oct 9, 2010


Read more...


Barrel Vise 1280x1024 (Autohotkey)

  • Watches fuel and flame bars, wont add wood if the flame bar is past a certain point that would ruin the project.
  • Asks how many barrels you are making and runs nonstop until finished
  • Added: 4/15/2010
  • Last Update: 10/02/2010 (Adjusted coordinates for T5, tested/verified)


There is a barrel vise macro included in Veggie Tales now (via Talescripts). You might want to try that instead.


Read more...

Kettles (Run 1 to 21 Kettles) 1280x1024 (Autohotkey)

  • All new for T5. I revamped my Tale 4 macro (which ran either 6 or 12 kettles) and made it so that you can select and run 1 (min) to 21 kettles (max)
  • Pin up to 3 rows of 7 Kettles across top of screen (beginning top left corner).
  • Will click the Potash/Acid/Salt, Begin and Ignite button and load Max Wood
  • Will Refresh menu to show Stoke Max option and Stoke it all the way to the end.
  • Last cycle will Stoke Max (at 6 water and 2 wood). Uses 28 wood per kettle
  • Will unload (Take) the kettles automatically (and start new runs, if more than 1 run is chosen)
  • Added: 10/12/2010


Note: I recommend using Takhetu's Kettle macro. It pins up the windows for you and shuffles them around (just like Flax on Veggie Tales does). Where as mine you have to pin manually and it will fill your screen up. I'm not really supporting my kettle macro anymore, as I use his macro instead now.


Read more...

Glaziers' Bench

  • Configured for 1024x768 and 1280x1024, instructions to configure for other resolutions, inside the code...
  • Timed Macro for CC and Make Glass, but also watches heat bar (will not make project outside of correct range) or add cc above 2200 degrees
  • Last Update: 1/14/2011


I recommend using the glass.lua thats included in Veggie Tales, instead of this macro now!


Read more...

Malting Trays (Unlimited) (Autohotkey)

  • Supports unlimited trays, Supports any resolution
  • Point and middle click all your malting trays.
  • It will hover each of your trays and press [M]alt key to Malt Barley.
  • It will wait for the trays to complete and hover each tray and hit the [T]ake key to remove items and continue going.
  • Last Update: 5/9/2010


Read more...



Grow Wheat (Unlimited beds) (Autohotkey)

  • Supports unlimited wheat beds, Supports any resolution
  • Point and middle click all your wheat beds.
  • Cycles through each bed, repeatedly, sending the [W]ater and [H]arvest (H+W keys, back to back) over each one.
  • Automatically refills your jugs every 3 minutes
  • Added: 1/12/2010
  • Updated: 10/16/2010 (Added Timers in the GUI status screen - Time Elapsed and Time to next water gather)
  • Updated: 10/25/2010 - Removed 1 of the 3 steps needed to setup the macro. You no longer need to record the "Max" button to record its location. It is now found automatically, at any resolution.


Read more...


Ore Mining (Autohotkey)

  • The macro will walk you through the setup, via GUI interface. You dont really need to study this page too much.
  • Point and middle click all your ore stones
  • It will try every 3 stone combination (4 stones option avail if you want to try for extra yield on aluminum, tin) until complete.
  • Sends the A and S keys to the mine, so make sure you chat is minimized!
  • Automatically detects popups and closes them, while macro is running.


  • Added: 10/24/2010
  • Last Update: 10/26/2010 - ANOTHER Major update. Make sure you have the latest version. This not only ensures that all the combos are executed correctly, but now that the mistake is corrected, it reduces the timer back down from 90s to 60s per cycle (7 stones)
  • Last Update: 10/30/2010 - Converted the pixelsearch method to imagesearch. It will now look for the enclosed, OK.PNG file to locatate the popup. This will reduce problems while standing on all sand terrains.
  • Last Update: 11/20/2010 - Added the ability to mine silver (4 stone combinations)
  • Last Update: 12/30/2011 - Minor update. Added a reminder in the status window to 'Hold F2 key to abort clicking' on the nodes.
  • Last Update: 1/3/2012 - New improved popup detection and closing.
  • Last Update: 1/25/2012 - New info/changes regarding silver... Read more


Read more...

Sand Mining (Autohotkey)

  • The macro will walk you through the setup, via GUI interface.
  • Asks for the pattern (ie Triple + 1 pair, or 2 pairs), all the options in wiki.
  • Whatever pattern is chosen, it will run the ore stones, as it is listed in wiki.
  • Sends the A and S keys to the mine, so make sure you chat is minimized!
  • Automatically detects popups and closes them, while macro is running.
  • Runs each workload, depending on number of sets and configurable delay time, at the following speed:
    • 150 Delay = 6 to 12 seconds
    • 200 Delay = 9 to 20 seconds


  • Added: 10/27/2010
  • Last Update: 12/30/2010
  • Last Update: 1/3/2012 - Improved popup detection and closing.


Read more...