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"
Line 294: | Line 294: | ||
− | ==[[Image:t5ok_small.gif]] | + | ==[[Image:t5ok_small.gif]]Mining (Autohotkey)== |
*The macro will walk you through the setup, via GUI interface. You dont really need to study this page too much. | *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 | *Point and middle click all your ore stones | ||
Line 301: | Line 301: | ||
*Automatically detects popups and closes them, while macro is running. | *Automatically detects popups and closes them, while macro is running. | ||
*Added: 10/24/2010 | *Added: 10/24/2010 | ||
− | *Last Update: 10/ | + | *Last Update: 10/26/2010 - <b>ANOTHER</b> Major update. Make sure you have the latest version. |
+ | |||
Revision as of 05:52, 26 October 2010
T5 Compatiblity Notes
= This DOES work with T5 and tested.
* How to use these macros *
Note to use most of my Macros, you need the 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.
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).
- Screen shot available
- Includes a mini tutorial/code on using AHK to search for colors and perform an action, on next page.
- Last Update: 10/25/2010 - Now also shows the center of screen coordinates and the offset from the current position. Usefull for getting coordinates of buttons for all resolutions.
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: 5/24/2010
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
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: 10/02/2010 (Improved resume feature to be more stable, stop more easily)
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 Note: 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 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...
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
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: 6/20/2010
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 10/15/2010 (Now includes subroutine to eat grilled foods while working)
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
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
- Updated: 5/29/2010
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: 10/11/2010
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: 3/17/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.
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
- Updated: 4/27/2010
Papy Picker
- Looks for papy close to the avatar, and picks it via right click...
- Added: Sep 16, 2010
- Updated: Oct 10, 2010
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
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)
Kettles (Run 1 to 21 Kettles) 1280x1024 (NEW) (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
Glaziers' Bench
- Configured for 1280x1024, should work at 1024x768, too
- 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: 10/14/2010
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
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)
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 until complete. Takes about 82 seconds to complete, using default delay speed.
- 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.
Preconfigured Guild Crematories 1024x768 (Actools)
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