How to write your goals

Goals are the bread and butter of your bot's ability to manage your account. Unlike scripts, goals are "end result" actions to work towards, meaning you tell the bot what you want, and it will work on achieving that as it performs it's tasks. The thing to remember about goals is that they are not performed line by line in order. You can write most goals in any order you like and they will function the same. For example:

config comfort:1 
config npc:5 
npcheroes farmer1,farmer2

The above goals would work the same if you wrote them as:

config npc:5
npcheroes farmer1,farmer2
config comfort:1

Config goals (those with config whatever:[value] formats) can be combined one one line as well:

config npc:5,comfort:1
npcheroes farmer2,farmer1

Notice in the above example, the npcheroes goal was not combined to the line with the config goals. While both types are goals, they will not work on the same line. The different types of goals are: Directives, Policies, and Config. As shown in the above examples, config goals can be joined together with a comma. Directives must be listed one per line, with the parameters after it. For example:

npcheroes farmer1,farmer2
herofirelimit 120
excludelist 123,456 234,567

Policies must also be listed one per line. The formatting you will use for the parameters of a policy depend on the goal itself. For example:

tradepolicy /type:food /min:2d /max:20d /allowselltomin
comfortpolicy 15 20 popraise
rallypolicy n:5 v:5

It is important to notice that in policies with /type:value formats, that you must have a space between each type, as shown above. Typing it as /type:food/min:2d will not work!

Hero Strings in Goals

Many places in the bot will allow you to specify heroes. The selection or list of heroes to be used will be referred to as the hero-string in various other places in the wiki.


You may list hero names individually, and/or exclude heroes with '!name', and/or include all heroes with 'any' or even use no hero at all with 'none'. For example,


You may also use advanced filters in hero strings in the format of hero:filter. The hero name list (or 'any') must be stated first, followed by the filter(s). Any filters listed will apply to the entire line. For example,


If you wish to apply seperate filters to seperate heroes, use multiple lines. For example,

The above lines mean that npc5s can be farmed with any hero that has greater than 60 base, OR any hero that has less than 300 attack.

Multiple lines can be concatenated into a single line with the | symbol. For example,

The above line means exactly the same thing as the 2 before it.

If you were to instead use the line above, it would mean npc5s can be farmed with any hero that has both greater than 60 base, AND is less than 300 attack.


All possible filters for use in hero strings are:

All possible comparisons to use in filters are:

"Best" and "Worst" can be used in place of values for comparisons, example:

Stats can be compared to other stats in place of values, example:

Wildcards can be used for the hero list. * will represent 1 or more characters, ? will represent 1 character. For example,


CategoryGoals

CategoryAllGoals (last edited 2012-08-21 01:05:19 by Inanna)