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 47: Line 47:
  
  
 +
----
 
=== 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.
Line 53: Line 54:
  
  
 +
----
 
=== Wood ===
 
=== 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)
 
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)
Line 59: Line 61:
  
  
 +
----
 
=== Flax ===
 
=== Flax ===
  
Line 91: Line 94:
  
  
 +
----
 
=== Limestone ===
 
=== 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.
 
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.
  
 
[[User:Viscis/Limestone|Get the Code!]]
 
[[User:Viscis/Limestone|Get the Code!]]

Revision as of 07:55, 31 December 2008

Macros

Brief

For all my macros I use ACTools which is a easy to use program once you've had a little practice. With all of my templates you will need to make some small ajustments based on your computer.

Whilst using any macro that requires movement (grass, flax, etc) you must close chat down ingame and have movement keys enabled for it to work correctly.

The ATITD window must also have focus the whole time you are macroing because keyboard inputs are sent directly. Each macro has a 10 second delay from when you hit start so that you can correctly focus the window and position yourself.


Configuration

Mouse

For any of my macros to work correctly with your system you will need to configure the location of certain icons / menus using ACTools. For example see the pictures below.

Fill jugs.jpg Max.jpg

Both of these images show the area where your mouse should be when trying to get a mouse location for ACTools. With ACTools in focus hover over the location requests (max button, jugs/grass/clay icon and press CTRL-M. This will record the location of the mouse to your macro.


Delay/Keydown

Time values are recoreded in milliseconds. Therefore 1000 in the macro is approximatly 1 second of real time.

Delay 1000

The above code therefore delays the program for 1 second, either to allow movement or just to prevent error due to server lagg. Sometimes you may need to alter delays in order to achieve better efficence or simply because of location differences.

Keydown {UP} 10000

The Keydown command can also carry a delay component. This above command is equivilent to holding down the Up Arrow key for 10 seconds. Obviously you may need to change this depending on how far you must run for certain resources to become available.



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.

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)

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!