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:Oni/macros"
Line 4: | Line 4: | ||
---- | ---- | ||
+ | |||
+ | == Level 1 Tutorial == | ||
+ | <br> | ||
+ | Prenotes: This tutorial assumes your using Windows XP. I have had no experience creating macro in any other operating systems. Sorry :( | ||
+ | |||
+ | ---- | ||
+ | |||
<b> Step 1: Get the program I use </b><br> | <b> Step 1: Get the program I use </b><br> | ||
<br> | <br> | ||
Line 50: | Line 57: | ||
delay 50<br> | delay 50<br> | ||
Keys 0<br> | Keys 0<br> | ||
+ | <br> | ||
+ | |||
+ | ---- | ||
+ | <b> Application:</b><br> | ||
+ | Ok, now that we know the basics lets write a simple brick making macro.<br> | ||
+ | Open the ACTool program and click "New" to start a new macro. Go ahead and erase those first 2 lines of garbage (something about must have this line to select proper window blah, blah blah... its not needed).<br> | ||
+ | <br> | ||
+ | In ATITD, go over to your Improved brick racks and select a standing position that can reach all or most of your brick racks without your character moving to make bricks. (depends on how many racks you have i guess). we will not want the character moving while the macro is running.<br> | ||
+ | <br> | ||
+ | Hit F8 twice to go into Cartographer's view, Zoom all the way in, and hit ALT+L. (locks the screen, prevents zooming until you hit ALT+L again).<br> | ||
<br> | <br> |
Revision as of 23:43, 30 December 2008
Oni's Macro Guide
Level 1 Tutorial
Prenotes: This tutorial assumes your using Windows XP. I have had no experience creating macro in any other operating systems. Sorry :(
Step 1: Get the program I use
If you do not have ACTool yet, got to ACTool Download Page
Install the Program
I've found this to be the easiest to learn and most of the commands make logical sense to me. ie. "mousepos", "delay", "loop" ect.
There are a lot more advanced macro creating tools out there but most of them are similar to scripting language and confuse the hell outta me
Step 2: Basic functions
Function: CTRL+M .
This will capture the mouse position and place the coordinates of the mouse in the macro.
To use this command, place the mouse on the object you want to click on, use ALT+TAB to tab over to the ACTool program,
and press CTRL+M .
Function: F2.
This will start the macro with out having to press the start button.
Function: ALT+TAB ALT
This will Tab over to the macro program, then the 2nd "ALT" will select the file menu which will pause the macro, from there mouse over to "Macro" menu and click "Stop". This is very useful sometimes to stop a macro that is running and not functioning correctly. Many times it is nearly impossible to tab over and click stop on the macro.
Function: "Search" menu, "Replace"
Self explanatory: replaces any value in the macro with the given value.
STEP 3: Basic Commands
Command: MousePos
Used in the form of MousePos X,Y where X,Y are the mouse coords. Easiest use of this command is by using the CTRL+M function listed above.
Command: Delay n
Used in the form of Delay n where "n" is the amount of time in milliseconds. 1 second = "Delay 1000".
Command: Leftclick, Rightclick
Self explanatory: will leftclick or rightclick on desired coordinates.
Command: Keys n
Used in the form of Keys n where "n" is a letter or number. This command will simulate that key stroke. If you want to spell something out or put in a 2 or 3 digit number, the command must be repeated.
ie: wanting to type in the number "100"
Keys 1
Delay 50
Keys 0
delay 50
Keys 0
Application:
Ok, now that we know the basics lets write a simple brick making macro.
Open the ACTool program and click "New" to start a new macro. Go ahead and erase those first 2 lines of garbage (something about must have this line to select proper window blah, blah blah... its not needed).
In ATITD, go over to your Improved brick racks and select a standing position that can reach all or most of your brick racks without your character moving to make bricks. (depends on how many racks you have i guess). we will not want the character moving while the macro is running.
Hit F8 twice to go into Cartographer's view, Zoom all the way in, and hit ALT+L. (locks the screen, prevents zooming until you hit ALT+L again).