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:Viscis"

From A Tale in the Desert
Jump to navigationJump to search
Line 53: Line 53:
  
 
=== Flint ===
 
=== Flint ===
This macro assumes that you are standing near water and there is a clay patch infront of you. This is slighty more advance and requires some configuration based on user preference.
+
''V0.01'' -- Advanced
  
You need to configure; The fill jugs with water location, the max button location, the distance in seconds from water to a clay patch, the number of jugs you are carrying and depending on your game window scale the menu for dropping items (see my quick guide to menu macroing [[here]])
+
This macro assumes that you are standing near water and there is a clay patch infront of you.
 +
 
 +
Configuration:
 +
* Fill jugs mouse position
 +
* Max button position
 +
* Distance in seconds from water to clay (i.e. run forward distance)
 +
* As above but to return to the body of water
 +
* The number of jugs you are carrying
 +
 
 +
''You may also need to re-create the menu mouse locations in order to drop clay correctly.''
  
 
Please note you will need to start with empty jugs for this to work correctly.
 
Please note you will need to start with empty jugs for this to work correctly.
Line 63: Line 72:
  
 
----
 
----
 +
 
=== Grass ===
 
=== Grass ===
 
Another simple macro, run forwards, run backwards harvesting grass. The running forward and backwards parts and encapsulated because other functions can be added such as dropping grass into a chest.
 
Another simple macro, run forwards, run backwards harvesting grass. The running forward and backwards parts and encapsulated because other functions can be added such as dropping grass into a chest.

Revision as of 08:34, 31 December 2008

Brief

All my macros are programmed in ACTools which requires very little experience to use. You will however need to configure a few things so its best if you read up below on how to record mouse locations. Other information such as how each of the commands work will not be added. This page is simple a place for others to obtain my work.

All of my code is free for anyone to download, change, use. It is nice however if you republish or alter my code that a link back is provided to the original here.

Versions

Only the most up-to-date version of my macros will be available here. The reason I will be adding version numbers is so that when updates are made you can easily see if you are using the latest version.

Download

AC Tools can be downloaded here.

Help

Everything provided here is "as it comes" meaning little or no support is available if you can't get it to work yourself. All macros come pre-configured for a 1280x1024 size screen (non-widescreen) with the ATITD window maximized. If you have a short question regarding a macro or problem then feel free to leave a message on the discussion page User_talk:Viscis.

Please refrain from contacting me in-game with problems/issues but thank you's are always welcome.

Configuration

General

AC Tools requires the following conditions to be able to run commands correctly.

  • The ATITD window must be in focus for the duration of the macro
  • The chat window within ATITD must be minimized.
  • The mouse must not be moved whist the macro is running
  • After doing the following you must re-configure all mouse positions:
    • Change the screen resolution
    • Change the ATITD game window size


Mouse

Mouse positioning is all about screen size. If your screen runs in 1024x768 the mouse position of the grass icon will be different to someone running in 1280x1024. For this reason a certain amount of configuration is required in order to use any of my macros.

When configuring a mouse position simply have the ACTools windows focused and press CTRL-M whilst hovering over the item you wish to record the location for. See the image below for an example. Any location within the red square would be acceptable.

Fill jugs.jpg

Delay/Keydown

Time values are recorded in milliseconds. Therefore 1000 in the macro is approximatly 1 second of real time. Sometimes delays are added in the program to allow for lagg or a task (like picking up grass requires around 2 seconds of time). Delays are also used to calculate distance within the macro. For example holding the up key for 1 second moves the character a distance equal to 1 second.

Delay 1000 // 1 second
KeyDown {UP} 1000 // Press UP key for 1 second

Most people will not need to configure delays, but if you are having problems with lagg you may wish to increase the delays. As a side note all my programs start with a 10 second delay to allow you to tab to the ATITD window and align your screen.

Macros

Flint

V0.01 -- Advanced

This macro assumes that you are standing near water and there is a clay patch infront of you.

Configuration:

  • Fill jugs mouse position
  • Max button position
  • Distance in seconds from water to clay (i.e. run forward distance)
  • As above but to return to the body of water
  • The number of jugs you are carrying

You may also need to re-create the menu mouse locations in order to drop clay correctly.

Please note you will need to start with empty jugs for this to work correctly.

Get the Code!



Grass

Another simple macro, run forwards, run backwards harvesting grass. The running forward and backwards parts and encapsulated because other functions can be added such as dropping grass into a chest.

Get the Code!



Wood

For this to work correctly find a bunch of high yield trees and turn off the auto harvest wood feature. Select each of the trees near you and pin the windows. Then record the mouse location of each of the pinned windows and hit start. As a side note you can add in extra things to do whilst your waiting for the trees to refresh (pick grass, dirt etc)

Get the Code!



Flax

Planting

This is probably my favorite macro as it allows flax to be layed in perfect beds of 10, 20 or 200. For best results align your character North before starting the macro.

There are two loops, one controls rows and one controls flax per row. I have labeled them A and B in the code.

A will always be +1 higher than the value you set (set BOTH loop values identically) so for example

 loop 5 

will lay 6 flax per row. Because each loop consists of a up and down component B is always *2 number of rows. For example

 loop 2 

will create 4 rows of flax.

So when A = 5 and B = 2 you will create a square of 6 x 4 flax (20 flax)

Get the Code!


Seeding

Below is the initial code for harvesting flax seeds from a bed. It does not work 100% correctly but does manage to harvest seeds from a bed you plant. The ideal conditions are below.

1280x1024 screen size
F5 camera fully zoomed out
Flax plant pinned to screen with mouse hovered over
Character facing exacly N, S, E or W with camera angle 0 degrees from that rotation

Some user input is still required but i am hoping to resolve this soon. I have also made the leap to procedures and constants to make my work more user friendly. Feel free to mess with the constants in order to change size/dimensions or timings rather than having to edit each line of code.

Get the Code!


Harvesting

Coming soon!



Limestone

This is perhaps the simplest macro to run as all that is required to click the limestone icon every time your endurance is refreshed. You will need to configure the location of the limestone icon and position your character on some limestone.

Get the Code!