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 "Macros"

From ATITD6
Jump to navigationJump to search
Line 52: Line 52:
  
 
===[[Jimbly's_Macros|Jimbly's Macros]]===
 
===[[Jimbly's_Macros|Jimbly's Macros]]===
* LUA-based macro engine named <font color=green><b>VeggieTales</b></font>
+
* LUA-based macro engine named <b>VeggieTales</b>
 
* Special modes for:
 
* Special modes for:
 
** Thistle recipe generation
 
** Thistle recipe generation
Line 67: Line 67:
  
 
<b>3rd Party VeggieTales Updates:</b>
 
<b>3rd Party VeggieTales Updates:</b>
 +
* [http://www.atitd.org/wiki/tale5/User:KasumiGhia/Macros/BarrelVise Small Barrel Creation Macro] by [[User:KasumiGhia|KasumiGhia]]
 +
** Run as many barrel vises as you can pin without overlapping (If your computer is fast enough)
  
 
* [http://www.atitd.org/wiki/tale5/User:KasumiGhia/lua Edited macros] for VeggieTales by [[User:KasumiGhia|KasumiGhia]]
 
* [http://www.atitd.org/wiki/tale5/User:KasumiGhia/lua Edited macros] for VeggieTales by [[User:KasumiGhia|KasumiGhia]]
Line 73: Line 75:
 
*** Note by <font color=green>Cegaiel</font> - I <b>highly</b> recommend this 'modified Onion script' by KasumiGhia. It fixes alot of the minor variables that can break the script and adds some conveniences.
 
*** Note by <font color=green>Cegaiel</font> - I <b>highly</b> recommend this 'modified Onion script' by KasumiGhia. It fixes alot of the minor variables that can break the script and adds some conveniences.
 
**I added a minor update to her script that will refresh the plant window after harvesting (in case you used your last seed and the plant window is blank).
 
**I added a minor update to her script that will refresh the plant window after harvesting (in case you used your last seed and the plant window is blank).
 +
**Added instructions in macro to inform user that 'Right click opens a Menu as Pinned' must be OFF. That will 'break' the script quickly.
 
**Taral corrected a bug where the refill jugs routine is off by one.
 
**Taral corrected a bug where the refill jugs routine is off by one.
 
**Before clicking the Update link below, please be sure to click the 'Edited macros' link above, to view Kasumi's update notes, first!
 
**Before clicking the Update link below, please be sure to click the 'Edited macros' link above, to view Kasumi's update notes, first!
**<font color=green>View T6 [[User:Cegaiel/VeggieTales/Onion | Onions.lua]] update here</font> ! - Last Updated: <B>Dec 15, 2011</b>
+
 
 +
*<font color=green>View T6 [[User:Cegaiel/VeggieTales/Onion | Onions.lua]] update here</font> !
 +
**Last Update: <B>Dec 17, 2011</b>
  
  
* [http://www.atitd.org/wiki/tale5/User:KasumiGhia/Macros/BarrelVise Small Barrel Creation Macro] by [[User:KasumiGhia|KasumiGhia]]
 
** Run as many barrel vises as you can pin without overlapping (If your computer is fast enough)
 
  
 
* [http://www.atitd.org/wiki/tale5/images/f/f6/VeggieTalesForge.zip Forge Helper] by [[User:Darkfyre|Darkfyre]]
 
* [http://www.atitd.org/wiki/tale5/images/f/f6/VeggieTalesForge.zip Forge Helper] by [[User:Darkfyre|Darkfyre]]
Line 86: Line 89:
  
  
<b><font color=green>Cegaiel's <u>T6</u> VeggieTales Flax Updates</font></b> (for VeggieTales) - Added: <b>Dec 14, 2011</b> - These should have been added for Tale 5, but weren't, so grab it now! :
 
  
*[http://www.atitd.org/wiki/tale6/User:Cegaiel/VeggieTales/Flax Flax.lua Update] - 100% original lua file, except that it refreshes plant window after harvesting. This is in case you used your last seeds during planting (causing the plant window to be empty, because your inventory of seeds is empty). Prevously it would cause a Plant window not found on 2nd and subsequent plantings.  Added: <b>Dec 14, 2011</b>
+
<b><font color=green>Cegaiel's <u>T6</u> Flax Updates</font></b> (for VeggieTales)
 +
*Last Update: <b>Dec 17, 2011</b> - These should have been added for Tale 5, but weren't, so grab it now! :
  
*[http://www.atitd.org/wiki/tale6/User:Cegaiel/VeggieTales/FlaxSeeds FlaxSeeds.lua Update] - 100% original lua file, except that it refreshes plant window after harvesting. This is in case you used your last seeds during planting (causing the plant window to be empty, because your inventory of seeds is empty). Prevously it would cause a Plant window not found on 2nd and subsequent plantings. Added: <b>Dec 14, 2011</b>
+
*[http://www.atitd.org/wiki/tale6/User:Cegaiel/VeggieTales/Flax Flax.lua Update] - 100% original lua file, except that it refreshes plant window after harvesting. This is in case you used your last seeds during planting (causing the plant window to be empty, because your inventory of seeds is empty). Prevously it would cause a Plant window not found on 2nd and subsequent plantings.
 +
**Last Update: <b>Dec 17, 2011</b>
 +
 
 +
*[http://www.atitd.org/wiki/tale6/User:Cegaiel/VeggieTales/FlaxSeeds FlaxSeeds.lua Update] - 100% original lua file, except that it refreshes plant window after harvesting. This is in case you used your last seeds during planting (causing the plant window to be empty, because your inventory of seeds is empty). Prevously it would cause a Plant window not found on 2nd and subsequent plantings.
 +
**Last Updated: <b>Dec 14, 2011</b>
  
 
*[http://www.atitd.org/wiki/tale6/User:Cegaiel/VeggieTales/FlaxCommon Flaxcommon.inc Update] - 100% original lua file, except that it now correctly calculates the seeds required for FlaxSeeds.lua file. Previously, the seed amounts were not displayed correctly with multiple passes. (ie 1 or 2 pass of a 5x5 grid would show 25 seeds, instead of 25 or 50). Added: <b>Dec 14, 2011</b>
 
*[http://www.atitd.org/wiki/tale6/User:Cegaiel/VeggieTales/FlaxCommon Flaxcommon.inc Update] - 100% original lua file, except that it now correctly calculates the seeds required for FlaxSeeds.lua file. Previously, the seed amounts were not displayed correctly with multiple passes. (ie 1 or 2 pass of a 5x5 grid would show 25 seeds, instead of 25 or 50). Added: <b>Dec 14, 2011</b>
 +
  
 
::{| style="background-color:#eee;"  
 
::{| style="background-color:#eee;"  

Revision as of 06:20, 17 December 2011

Macros

Well, I see some people are discussing/sharing macros, and I think that's a good thing. Nobody likes the tedium of clicking, and not everyone has the ability to write good macros/scripts to handle that while they are there.

REMEMBER - it is ILLEGAL to go afk while macroing. If a eGenesis staff member catches you, you could be banned for breaking the terms of service.

With that in mind, let's make this a normal page of the wiki.


Tale 6 Macros

Mindl's Macros

  • Flax 3x5 Seed / Flax Harvest Macro - AutoHotKey - Based on Iggy's Flax Macro
  • 8x Woodplane Macro - Autohotkey - Planes and Repairs for you
  • Up to 4x4 Onion Macro - Autohotkey - Becuase I couldn't get Veggietales macro to work

Tale 5 Macros

  • Most Macros will still work in Tale 6.
  • Note any links below in red, are because User pages were not copied from Tale 5 to Tale 6.
    • You would need to visit the Tale 5 Macro page to see the original links (that are now red).


Anka's Macros

I'm back and will be updating all of my old macros

  • Barley
  • Charcoal Hearth
  • Charcoal Oven
  • Firepit - autohotkey
  • Endless Flax
  • MultiTool
  • Multiple Resolutions - some are 1920x1080 only for now.


Iggy's Macros


Rogarian's Macros (Windows Executables)

  • R-Cubed (Windows Only)
    • R-Cubed is simple program that will allow one to easily pick up grass, slate and clay. It will also do simple skill based tasks such as digging or gathering limestone.
    • "It's stupdenous!" ~Traak


Jimbly's Macros

  • LUA-based macro engine named VeggieTales
  • Special modes for:
    • Thistle recipe generation
    • Carrot harvesting
  • Macros for
    • Flax
    • Glass making
    • Quarrying
    • Generic repetitive clicking while monitoring your stats (digging, pumping, sand mining, weaving, carving, etc)
    • Wood gathering from a copse of trees
    • ...and more!


3rd Party VeggieTales Updates:

  • Edited macros for VeggieTales by KasumiGhia
    • updated chem_helper Script for T5 essence values
    • modified Onion Script
      • Note by Cegaiel - I highly recommend this 'modified Onion script' by KasumiGhia. It fixes alot of the minor variables that can break the script and adds some conveniences.
    • I added a minor update to her script that will refresh the plant window after harvesting (in case you used your last seed and the plant window is blank).
    • Added instructions in macro to inform user that 'Right click opens a Menu as Pinned' must be OFF. That will 'break' the script quickly.
    • Taral corrected a bug where the refill jugs routine is off by one.
    • Before clicking the Update link below, please be sure to click the 'Edited macros' link above, to view Kasumi's update notes, first!
  • View T6 Onions.lua update here !
    • Last Update: Dec 17, 2011


  • Forge Helper by Darkfyre
    • Forge helper based on the Papyrus Paper/CC Helper macros. Process as many student forges as you can pin to the screen.



Cegaiel's T6 Flax Updates (for VeggieTales)

  • Last Update: Dec 17, 2011 - These should have been added for Tale 5, but weren't, so grab it now! :
  • Flax.lua Update - 100% original lua file, except that it refreshes plant window after harvesting. This is in case you used your last seeds during planting (causing the plant window to be empty, because your inventory of seeds is empty). Prevously it would cause a Plant window not found on 2nd and subsequent plantings.
    • Last Update: Dec 17, 2011
  • FlaxSeeds.lua Update - 100% original lua file, except that it refreshes plant window after harvesting. This is in case you used your last seeds during planting (causing the plant window to be empty, because your inventory of seeds is empty). Prevously it would cause a Plant window not found on 2nd and subsequent plantings.
    • Last Updated: Dec 14, 2011
  • Flaxcommon.inc Update - 100% original lua file, except that it now correctly calculates the seeds required for FlaxSeeds.lua file. Previously, the seed amounts were not displayed correctly with multiple passes. (ie 1 or 2 pass of a 5x5 grid would show 25 seeds, instead of 25 or 50). Added: Dec 14, 2011


I loaded these 3 updates and got error: 8 call with nil value.

I restored the original flax_common.inc file and did not get an error on clicking the item. I don't know anything about Lua or why I got that error or why restoring the original did not give me an error. I have not yet tried the new T6 flax versions yet. Zhukuram 15:53, 14 December 2011 (EST)

I tried the 2 flax items: seeds and flax and they worked OK. Zhukuram 16:23, 14 December 2011 (EST)


I can not get the script to duplicate this error, Zhukuram

I updated the above page to show what I actually changed which is nothing more than adding: * num_loop to a calculation on 1 line of code, (in flaxcommon.inc) which is only used (included) when running the flaxseeds.lua file:

Original: requiring " .. (grid_w * grid_w) .. " seeds, and repeat this "

Changed: requiring " .. (grid_w * grid_w * num_loops) .. " seeds, and repeat this "

If someone can get this error to reproduce, please let me know what exactly you did to do that. ~Cegaiel Dec 15, 2011


Cegaiel's Macros

T6 Notes: These macros are still posted/edited/maintained on my Tale 4 user page. Yes I know I used these same T4 pages during the entire T5 and am probably going to continue being lazy and use T4 pages during T6, sorry :(

So far, I haven't come across any that do not work on Tale 6 yet, but will update any that I do find. The link above will lead you to my T4 Macro's Page, which is I will be updating through Tale 6.


  • Kettles (Run 1 to 21 kettles) - 1280x1024 (Autohotkey)
  • Mining (Autohotkey)
  • Sand Mining (Autohotkey)
  • Barrel Vise 1280x1024 (Autohotkey)
  • Brick Racks (Unlimited) (Autohotkey)
  • Carpentry Blade (7.1-7.2k) 1680x1050 (Autohotkey) - Duplicate of Oni's Carp Blade Macro, but converted to Autohotkey with extra features - Thanks Oni!
  • Flax Hammocks (Unlimited) (Autohotkey)
  • Get Mouse Coordinates and Color (Autohotkey)
  • Glaziers' Bench (Autohotkey)
  • Grass (Autohotkey)
  • Grow Barley 1280x1024 (Autohotkey)
  • Grow Wheat (Unlimited) (Autohotkey)
  • Hackling Rake (Autohotkey)
  • Malting Trays (Unlimited) (Autohotkey)
  • Plane boards (on Carpentry Shop) (Unlimited) (Autohotkey)
  • Popup box closer (Autohotkey)
  • Pottery Wheels (Unlimited) (Autohotkey)
  • Skills Timer Clicker (Digging, Loom, Dirt, etc - Anything that causes a skill to turn red (Autohotkey)
  • Papy Picker (Autohotkey)
  • Real Seconds Stopwatch (Autohotkey)
  • Teppy and Real Seconds Timer (Great for Glazier Bench) (Autohotkey)


KasumiGhia's Macros

  • updated veggietales macros are listed above in the Jimbly/Veggietales section.
  • Updated version of Cegaiel's crematory macro from T4. For the Amigos Crematory


Oni's Macros (ACTool)

Macros with mentioned resolutions work only in that resolution.

  • Learn to make a simple macro using ACTool.
  • General purpose grass/clay collecting macro. 1280x1024 resolution. 2nd F8 zoomed all the way in.


Blethezar's macro

  • CC hearth macro
    • this is Anka's CC hearth Macro from T3
    • I've re-adjusted this macro to run in 1680x1050 resolution ,
    • only tried it with 4 hearths so far , but works fine.
    • Not lost a batch yet ( Galagah)


Thanatic's macros


Shayra's Macros

  • Flax --- Dharma's Continuous Flaxer from T3 updated for T5
    • Clay Gatherer (nice, try this one)


Tehm's Grass (ACTool)

  • Collects Grass


Makazi's Macros (Veggietales)

  • Flax Assist
    • Click saver, helps when running many flax beds at once.
  • CC Assist
    • CC Heart/Oven interface, run multiple CC Hearts/Ovens from one interface.
  • Pixel Click
    • Select pixel area (16x8) and macro will click that image everytime it sees it. (Grass icon, clay icon, etc.)
  • Clay Gatherer
    • Fully automated clay gathering macro.


Darkfyre's Macros VeggieTales

http://www.atitd.org/wiki/tale5/User:Darkfyre/Macros

  1. Forge
  2. Kettle
  3. Casting Box (In progress)
  4. Kiln (In progress)
  5. Pottery Wheel (In progress)


Tutmault Macros (VeggieTales)

Fishing Macro

  1. VeggieTale Fishing Script (Ghostmouse,Screenreading) --
  2. Cycles Lures, Reads Fish Name/Size, Writes to Log File --


Daniels' Macros

Click the link to find my altered/original macros for: Charcoal Hearth, Barrel Vise, Crematory, and an updated Shu's Clicker Macro.


Information on Distances

Additional Information lifted from Tale 3 Wiki

This is a distance chart for mouse locations for items. All locations are in cartographer mode, zoomed in, on Windows. Your mileage may vary depending on OS. Please contribute!

  • Brick Rack: Horizontal 32px, Vertical 32px
  • One line of text in a box: 16px
  • Large Buttons
     o The Level button is 128px
     o Other buttons are 64px ea 
  • Small Buttons
     o The Level button is 64px
     o Other buttons are 32px ea

Macro Programs

Program Name Web Address Operating System(s) Supported Cost
Macro Express http://www.macros.com Windows XP, 2000, ME, 9x, NT 4; Pentium or higher CPU; 32 MB RAM; 20 MB hard disk space $39.95 / 30 day trial
ACTool (Asheron's Call Tool) http://www.actool.net Windows Free and open source
AutoHotkey http://www.autohotkey.com/ Windows Free and open source
AutoIt 3.0 http://www.hiddensoft.com/autoit3/ Windows - no libs added Free and open source
LTool-0.3 (Linux) http://ltool.sourceforge.net Linux Free and open source (Python script)
xautomation http://hoopajoo.net/projects/xautomation.html Linux (You Compile, gcc c++) Free, Open Source, GPL
xnee http://www.sandklef.com/xnee/ Linux, Mac Free, Open Source, GPL
SCAR Divi http://freddy1990.com/index.php?page=product&name=scar Windows Free
Java http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Robot.html Windows, Linux, Mac Free

AC Tool

There are a couple of issues with AC Tool that, once you fix, make it very easy and good to use.

  • Windows XP, start the program in Administrator Mode.
  • If you get the error "Could not find Decal's MEMLOCKS.XML", just click Macro > Asheron's Call 1 Settings > Skip AC Mouse Memory Writes
  • Setting <f2> and <f3> as start and stop hot keys will help fix most of the issues of "run away" macros.

Misc

  • T5N.gif [A Click in Time]
    • Written by GarethDahm in Tale4 for Windows.
    • Free Application!
    • Position a small arrow anywhere on your screen.
    • Set the timer.
    • Let it ease your RSI factor!


  • Ghostmouse (Windows Executable) - Simple old freeware program that records your mouse movements/clicks. Can adjust the speed with a click in Options, if necessary. Records in real time, no scripts to edit, easy for anyone to use. Program no longer made or supported, found in old archived backup CD. (Screenshot)


Personally I like autohotkey because it's freeware and is still being updated - Blogot

I second the Autohotkey recommendation, it has some extremely powerful features but is still fast and lightweight, and new features are being added all the time. - Dragyn

Personally I like AutoIt 3.0 it is freeware updated alot and it is very powerful allows macroing of almost anything windows - Ledeanna

I second the AutoIt recommendation, it is very powerful as well, easy to code and allows compiling the scripts for use by people who want to macro but feel not competent enough to write their own or who dont want to install the scripting software. ~Anguz - Note - AutoHotKey also allows you to compile an exe for machines with out AHK installed. ~Jhnny

Added SCAR Divi, its similar to ACtool, but in my opinion much better. It has very nice support for Bitmap searching, and even Bitmask searching. The bitmaps can be converted to strings, and loaded directly in from the script (Rather then saved as images). Lots of other features, but people will have to find them. SCAR also supports bitmap masks, and Deformable template models, which allows the macro to find and identify multiple images, or peices of text, even when the colours, position, or even size has changed. Its possible to make fairly advanced macros that will work regardless of window positions ingame, or resolution.--Kinslayer 08:32, 29 August 2009 (EST)

Running without Windows?

A lot of the macro effort has gone towards programs for windows. The windows version of atitd can be run using www.winehq.org (run Windows applications on Linux, BSD, Solaris and Mac OS X).

Veggietales and autohotkey work to some extent using this emulator along with the windows emulation of atitd.

Autohotkey 'keys' need to be changed to ones that work (Scrolllock, Numpad up/down/left/pageup/down buttons seem to work on ubuntu10). Recording and playback work only on windows emulated programs, but that's enough to save you from windows.

==T5N.gifTale4 Macros==

Many of the Macros from Tale 4 still work. Please copy them to this page once you have verified them.

The old Page