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 "User:Cegaiel/Macros"

From A Tale in the Desert
Jump to navigationJump to search
 
(104 intermediate revisions by the same user not shown)
Line 1: Line 1:
==T5 Compatiblity Notes==
+
==* How to use these macros *==
[[Image:t5N.gif]] = Not Tested Yet
+
Note to use most of my Macros, you need the [http://www.autohotkey.com 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.
 
 
 
 
[[Image:t5ok_small.gif]] = This DOES work with T5 and tested.
 
  
 
 
 
==* How to use these macros *==
 
Note to use most of my Macros, you need the [http://www.autohotkey.com Autohotkey] program installed (Actools for crematory macro). Visit the Main wiki [[Macros]] section to find the links to download these programs. 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).  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.
 
  
 
<b>Note:</b> 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 &lt;pre&gt; and &lt;/pre&gt; tag, this is a wiki tag), inside the form box, very easily.
 
<b>Note:</b> 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 &lt;pre&gt; and &lt;/pre&gt; tag, this is a wiki tag), inside the form box, very easily.
 +
----
  
  
  
  
==[[Image:t5ok_small.gif]] Get Mouse Coordinates and Color (Autohotkey)==
+
==Get Mouse Coordinates and Color (Autohotkey)==
 
If you write AHK scripts, then this a great helper, where applicable.
 
If you write AHK scripts, then this a great helper, where applicable.
  
Line 23: Line 16:
 
*Shows the hovered mouse position and color in the tooltip.
 
*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).
 
*If needed, Press F2 at anytime to copy the color and mouse coordinates into Clipboard (then Paste, Ctrl+V into Notepad or something).
*Screen shot available
+
*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.
*<font color=maroon>Includes a mini tutorial/code on using AHK to search for colors and perform an action, on next page.</font>
+
 
*Last Update: 1/14/2010
 
  
  
Line 32: Line 24:
  
  
==[[Image:t5ok_small.gif]] Grass (Autohotkey)==
+
==Grass (Autohotkey)==
 
*Enter amount of grass to collect.
 
*Enter amount of grass to collect.
 
*Automatically walks around in a circle and collects grass without moving too far from where you started.
 
*Automatically walks around in a circle and collects grass without moving too far from where you started.
 
*Great to get your [[Rhythmic_Strength|Rhythmic Strength]] skill up.
 
*Great to get your [[Rhythmic_Strength|Rhythmic Strength]] skill up.
 
*Added: 12/5/2009
 
*Added: 12/5/2009
*Updated: 5/24/2010
+
*Updated: 1/25/2012
  
  
 
[[User:Cegaiel/Macros/Grass | Read more...]]
 
[[User:Cegaiel/Macros/Grass | Read more...]]
  
 
+
==Grow Barley 1280x1024 (Autohotkey)==
 
 
==[[Image:t5ok_small.gif]] 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.  
 
*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.
 
*Option to choose Water Only or Water + Fertilizer. No weed killer used or supported.
 
*Added 2/1/2010
 
*Added 2/1/2010
 +
*Last Update: 10/16/2010
  
  
Line 53: Line 44:
 
[[User:Cegaiel/Macros/Barley | Read more...]]
 
[[User:Cegaiel/Macros/Barley | Read more...]]
  
 
+
==Plane Boards (Unlimited carpentry benches) (Autohotkey)==
 
 
==[[Image:t5ok_small.gif]] Plane Boards (Unlimited carpentry benches) (Autohotkey)==
 
 
*Supports unlimited benches, Supports any resolution
 
*Supports unlimited benches, Supports any resolution
 
*Point and middle click all your carpentry benches.
 
*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.
 
*Cycles through and hovers each one, while sending the [P]lane Boards (P key) over each one very quickly.
*Last Update: <s>1/14/2010</s> 4/17/2010
+
*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.
 
 
  
  
 
[[User:Cegaiel/Macros/Plane | Read more...]]
 
[[User:Cegaiel/Macros/Plane | Read more...]]
  
 
+
==Fishing (Autohotkey)==
 
 
==[[Image:t5ok_small.gif]] Fishing (Autohotkey)==
 
 
*Point and middle click your fishing icon location
 
*Point and middle click your fishing icon location
 
*Asks for how many casts you want to do
 
*Asks for how many casts you want to do
Line 74: Line 60:
  
  
*<B><font color=red>T5 Note:</font></B> While this does work on T5, 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 (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...
+
 
 +
*<B><font color=red>T5/T6 NOTE:</font></B> 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...
  
  
 
[[User:Cegaiel/Macros/Fishing | Read more...]]
 
[[User:Cegaiel/Macros/Fishing | Read more...]]
  
 
+
==Popup Box Closer (Lazy man's falcon hunter helper) (Autohotkey)==
 
 
==[[Image:t5ok_small.gif]] 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.
 
*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.
 
*Then just do your normal activities. Anytime a popup box occurs, it will automatically click the OK button to close it.
Line 92: Line 77:
  
  
==[[Image:t5ok_small.gif]] Skills Timer Clicker (Digging, Loom, Dirt, etc) (Autohotkey)==
+
==Skills Timer Clicker (Digging, Loom, Dirt, etc) (Autohotkey)==
 
*It will walk you through the setup process via GUI menus
 
*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)
 
*Monitors the black/red text in skills tab and only clicks when they are black (no longer tired)
Line 105: Line 90:
  
 
*Added: 2/14/2010
 
*Added: 2/14/2010
*Updated: 6/20/2010
+
*Updated: 12/28/2011
  
  
 
[[User:Cegaiel/Macros/SkillsTimer | Read more...]]
 
[[User:Cegaiel/Macros/SkillsTimer | Read more...]]
  
 
+
==Hackling Rake (Autohotkey)==
 
 
==[[Image:t5ok_small.gif]] Hackling Rake (Autohotkey)==
 
 
*It will walk you through the setup process via GUI menus
 
*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)
 
*Monitors the black/red text in skills tab and only clicks when they are black (no longer tired)
Line 120: Line 103:
  
 
*Added: 2/19/2010
 
*Added: 2/19/2010
*Updated 3/26/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.
  
  
 
[[User:Cegaiel/Macros/HacklingRake | Read more...]]
 
[[User:Cegaiel/Macros/HacklingRake | Read more...]]
  
 
+
==Real Seconds Stopwatch (Autohotkey)==
 
 
==[[Image:t5ok_small.gif]] 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.
 
*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
 
*Times in 1/10 seconds for extra accuracy
Line 134: Line 116:
  
 
*Added: 2/17/2010
 
*Added: 2/17/2010
 +
  
  
Line 140: Line 123:
  
  
==[[Image:t5ok_small.gif]] Teppy and Real Seconds Timer (Great for Glazier Bench) (Autohotkey)==
+
==Teppy and Real Seconds Timer (Great for Glazier Bench) (Autohotkey)==
 
*Counts down from the minutes/seconds you enter
 
*Counts down from the minutes/seconds you enter
 
*Asks if you are using Real or Teppy mode (adjusts time accordingly for Teppy)
 
*Asks if you are using Real or Teppy mode (adjusts time accordingly for Teppy)
Line 147: Line 130:
  
 
*Added: 2/17/2010
 
*Added: 2/17/2010
*Updated: 5/29/2010
+
*Last Update: 12/26/2010: Changed teppy multiplier from 1.07 to 1.1 for more accuracy.
  
  
 
[[User:Cegaiel/Macros/Timer | Read more...]]
 
[[User:Cegaiel/Macros/Timer | Read more...]]
  
 
+
==Flax Hammocks (Unlimited) (Autohotkey)==
 
 
==[[Image:t5ok_small.gif]] Flax Hammocks (Unlimited) (Autohotkey)==
 
 
*Supports Grass, Papyrus and Rotten Flax only.
 
*Supports Grass, Papyrus and Rotten Flax only.
*Asks if what you are drying and walks you through setup in a GUI menu.
+
*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.
+
*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
 
*Added 2/25/2010
*Last Update: 3/17/2010
+
*Last Update: 12/17/2010
  
  
 
[[User:Cegaiel/Macros/FlaxHammock | Read more...]]
 
[[User:Cegaiel/Macros/FlaxHammock | Read more...]]
  
 
+
==Improved Brick Racks (Unlimited) (Autohotkey)==
 
 
==[[Image:t5ok_small.gif]] Brick Racks (Unlimited) (Autohotkey)==
 
  
 
*Supports unlimited brick racks, Supports any resolution
 
*Supports unlimited brick racks, Supports any resolution
Line 175: Line 154:
 
*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.
 
*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
 
*Added: 1/18/2010
*Last Update: 3/17/2010
+
*Last Update: 11/14/2010
  
  
Line 184: Line 163:
 
[[User:Cegaiel/Macros/Bricks | Read more...]]
 
[[User:Cegaiel/Macros/Bricks | Read more...]]
  
 
+
==Pottery Wheels (Unlimited) (Autohotkey)==
 
 
==[[Image:t5ok_small.gif]] Pottery Wheels (Unlimited) (Autohotkey)==
 
  
 
*Supports unlimited wheels, Supports any resolution
 
*Supports unlimited wheels, Supports any resolution
Line 193: Line 170:
 
*It will wait for the jugs to complete and hover each wheel and hit the [T]ake key to remove items and continue going.
 
*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
 
*Added: 3/17/2010
*Updated: 4/27/2010
+
*Last Updat: 1/14/2012
  
  
 
[[User:Cegaiel/Macros/PotteryWheel | Read more...]]
 
[[User:Cegaiel/Macros/PotteryWheel | Read more...]]
  
 
+
==Papy Picker==
 
 
==[[Image:t5ok_small.gif]] Papy Picker (Beta)==
 
 
*Looks for papy close to the avatar, and picks it via right click...
 
*Looks for papy close to the avatar, and picks it via right click...
 
* Added: Sep 16, 2010
 
* Added: Sep 16, 2010
 +
*Updated: Oct 10, 2010
  
  
Line 209: Line 185:
  
  
==[[Image:t5ok_small.gif]] Make Carpentry Blades 1680x1050 (Autohotkey)==
+
==Make Carpentry Blades 1680x1050 (Autohotkey)==
*Make 6.5k - 6.6k blades in 10 seconds
+
*Make 7.0k - 7.2k quality blades in 10 seconds
 
*Many automated functions, via hotkeys, during script.
 
*Many automated functions, via hotkeys, during script.
 
*Extremely simple and repeats previously confirmed successful blades with a single click.
 
*Extremely simple and repeats previously confirmed successful blades with a single click.
Line 217: Line 193:
 
*Asks if you're using Copper or Iron metal
 
*Asks if you're using Copper or Iron metal
 
*Credit to [http://www.atitd.org/wiki/tale5/User:Oni/Macros Oni's T5 macro], this is based off his macro, but converted from Actools to Autohotkey; We appreciate your hard work :)
 
*Credit to [http://www.atitd.org/wiki/tale5/User:Oni/Macros 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
 +
 +
 +
[[User:Cegaiel/Macros/CarpBlade | 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)
 +
 +
 +
[[User:Cegaiel/Macros/BarrelVise | Read more...]]
 +
  
  
[[User:Cegaiel/Macros/CarpBlade | 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
 +
 
 +
 
 +
<b>Note:</b> I recommend using [http://www.atitd.org/wiki/tale5/Takhetu/Macros 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.
  
  
 +
[[User:Cegaiel/Macros/Potash | Read more...]]
  
==[[Image:t5ok_small.gif]] [[Image:t5N.gif]] Glaziers' Bench==
+
==Glaziers' Bench==
  
*Configured for <b>1024x768</b>, but easily configurable for other resolutions
+
*Configured for <b>1024x768 and 1280x1024</b>, 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
 
*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
  
*<b><font color=red>T5 Note:</font></b> I have used this on T5 successfully (20 glass rods + 10 glass blades, without touching mouse), but forgot to record the new coordinates, will update soon...
+
 
 +
<B>I recommend using the glass.lua thats included in Veggie Tales, instead of this macro now!</b>
  
  
 
[[User:Cegaiel/Macros/Glassbench | Read more...]]
 
[[User:Cegaiel/Macros/Glassbench | 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
  
==[[Image:t5N.gif]] Grow Wheat (Unlimited beds) (Autohotkey)==
+
 
 +
[[User:Cegaiel/Macros/MaltingTray | Read more...]]
 +
 
 +
 
 +
 
 +
 
 +
==Grow Wheat (Unlimited beds) (Autohotkey)==
 
*Supports unlimited wheat beds, Supports any resolution
 
*Supports unlimited wheat beds, Supports any resolution
 
*Point and middle click all your wheat beds.
 
*Point and middle click all your wheat beds.
Line 241: Line 260:
 
*Automatically refills your jugs every 3 minutes
 
*Automatically refills your jugs every 3 minutes
 
*Added: 1/12/2010
 
*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.
 +
 +
 +
[[User:Cegaiel/Macros/Wheat | 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.
  
[[User:Cegaiel/Macros/Wheat | Read more...]]
 
  
 +
*Added: 10/24/2010
 +
*Last Update: 10/26/2010 - <b>ANOTHER</b> 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
  
  
==[[Image:t5N.gif]] Preconfigured Guild Crematories 1024x768 (Actools)==
+
[[User:Cegaiel/Macros/Mining | Read more...]]
Crematory macro preconfigured with various guild crematories @ 1024x768 resolution.
 
*Will work at 1024x768 already (with your own crematory) just by editing the slider and button numbers.
 
*Can be made to work at any resolution by also editing just a few extra numbers (mouse coordinates).
 
*Added: 1/14/2010
 
*Last Update: 1/26/2010
 
  
 +
==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 [http://www.atitd.org/wiki/tale5/Guides/Mining/Sand_Mining wiki].
 +
*Whatever pattern is chosen, it will run the ore stones, as it is listed in wiki.
  
Crematories currently configured with code available:
+
*Sends the A and S keys to the mine, so make sure you chat is minimized!
*SACFAR (Public)
+
*Automatically detects popups and closes them, while macro is running.
*Egyptian Life
+
*Runs each workload, depending on number of sets and configurable delay time, at the following speed:
*ZFree
+
** 150 Delay = 6 to 12 seconds
 +
** 200 Delay = 9 to 20 seconds
  
  
[[User:Cegaiel/Macros/Crematory | Read more...]]
+
*Added: 10/27/2010
 +
*Last Update: 12/30/2010
 +
*Last Update: 1/3/2012 - Improved popup detection and closing.
  
  
  
==[[Image:t5N.gif]] Kettles (6 or 12 Kettles) 1024x768 (Autohotkey)==
+
[[User:Cegaiel/Macros/SandMining | Read more...]]
  
*Pin up 6 Kettles across top of screen (or two rows of 6 for the 12 kettle version).
 
*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 repeat a new batch, continuously...
 
*Last Update: 5/19/2010
 
  
  
  
[[User:Cegaiel/Macros/Potash | Read more...]]
 
  
  
 +
----
  
==[[Image:t5N.gif]] Malting Trays (Unlimited) (Autohotkey)==
+
==[[Image:t5N.gif]] Preconfigured Guild Crematories 1024x768 (Actools)==
  
*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
 
  
 +
<font color=red><B>NO LONGER SUPPORTED!</b></font>  &nbsp;&nbsp;&nbsp; <font color=blue>Use at your own risk</font>
  
[[User:Cegaiel/Macros/MaltingTray | Read more...]]
 
  
 +
Crematory macro preconfigured with various guild crematories @ 1024x768 resolution.
 +
*Will work at 1024x768 already (with your own crematory) just by editing the slider and button numbers.
 +
*Can be made to work at any resolution by also editing just a few extra numbers (mouse coordinates).
 +
*Added: 1/14/2010
 +
*Last Update: 1/26/2010
  
  
==[[Image:t5N.gif]] Barrel Vise 1024x768 (Autohotkey)==
+
Crematories currently configured with code available:
*Watches fuel and flame bars, wont add wood if the flame bar is past a certain point that would ruin the project.
+
*SACFAR (Public)
*Asks how many barrels you are making and runs nonstop until finished
+
*Egyptian Life
*Added: 4/15/2010
+
*ZFree
*Last Update: 5/12/2010
 
  
  
[[User:Cegaiel/Macros/BarrelVise | Read more...]]
+
[[User:Cegaiel/Macros/Crematory | Read more...]]

Latest revision as of 08:48, 25 January 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.




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


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


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


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.


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 (Great for Glazier Bench) (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 Updat: 1/14/2012


Read more...

Papy Picker

  • Looks for papy close to the avatar, and picks it via right click...
  • Added: Sep 16, 2010
  • Updated: Oct 10, 2010


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)


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





T5N.gif Preconfigured Guild Crematories 1024x768 (Actools)

NO LONGER SUPPORTED!     Use at your own risk


Crematory macro preconfigured with various guild crematories @ 1024x768 resolution.

  • Will work at 1024x768 already (with your own crematory) just by editing the slider and button numbers.
  • Can be made to work at any resolution by also editing just a few extra numbers (mouse coordinates).
  • Added: 1/14/2010
  • Last Update: 1/26/2010


Crematories currently configured with code available:

  • SACFAR (Public)
  • Egyptian Life
  • ZFree


Read more...