AoC Plugin
Usable in MacroGoblin v2.5.0.4 +

Summary
Some pre-made bots will require this plugin in order to operate correctly.
The AoC plugin adds functions to MacroGoblin which can be used in your MacroGoblin
routines to perform advanced operations in the game. For instance, using the "AoC_MoveToLocation"
function will move your character to the location you specify. Because this plugin
will require constant maintenance there is an Easy-Update button on it. If the functions
in this plugin stop working then you will likely need to update it with new data
which can be downloaded automatically from the MacroGoblin website.
For those who want to make macros with this plugin refer to the manual which is
located in the plugin's directory - AoC_Plugin.
Features
- Very easy setup.
- Auto-Update feature, which should be used if the game data needs to be updated.
- A manual is provided for those who wish to make macros using this plugin.
- Multiple functions for character navigation, stuck detection, etc.
Examples
(For
those who wish to make their own bots)
These are some quick examples on how to use the plugin to create your own bots.
If you do not want to create your own bots, then this does not apply to you.
To use one of these functions in your routine drag the "Run MacroGoblin Function"
command in the "Miscellaneous Command" section onto your routine and type in the
function as the example states.
Face Heading:
The following example will turn your character to a heading of 250.0:
AoC_FaceHeading(250.0)
Face Location:
The following example will turn your character to face a the location 100, -300:
AoC_FaceLocation(100, -300)
Move to a Location:
The following example will move your character to a location at -150, 300. When
it gets there it will stop. It will end up within at least 0.5 distance units from
that location.:
AoC_MoveToLocation( -150, 300, 0.5)
Run Through Location:
The following example will run your character through location -150, 300. After
your character gets there he will just keep running so you better have another command
that will stop him later. It will end up within at least 2.0 distance units from
that location.:
AoC_MoveToLocation( -150, 300, 2.0)
Stop Running:
This is one potential way to stop the "RunThroughLocation" function. This function
will make your character stop navigating immediately. It will release the forward
key and the right mouse button.:
AoC_StopRunning()
There are more functions available in the Plugin Manual.
|