The client has its own bot: it heals you, chooses the monsters, casts spells, throws runes, keeps your haste, eats and loots for you. It is part of the Custom Hero client and the rules allow it; external programs and bots stay forbidden.
Press Ctrl+Shift+B or the bot button in the panel of the custom buttons, below the Tibia buttons.
Each character has its own profiles: create one with New profile, rename it in the field beside the list and delete it when there is more than one. Every change is saved at once.
Fill the tabs: Healing, Target (with the sub-tabs Target and Combat), Extras (with the sub-tabs Extras, Equipment and Autoloot) and, if you want, Hunting. Every rule has its own on/off switch. At the bottom of the Hunting tab, under each of its sub-tabs, the bot lists the errors that keep a healing, attack or use rule from ever going, each with Apply fix, and its Sequence sub-tab shows the order the bot really uses the rules in.
Use the switch at the top of the window, or press Pause at any time, even with the window closed.
Press Pause to turn the bot on or off at any time, even with its window closed. Change the key in Options > Controls > General Hotkeys ("Bot: Turn the bot on or off").
The switch is saved the moment you change it. If the client closes, crashes or your character dies, the bot is running again when you log in, without opening its window. Only you turn it off.
While it is on, the bot checks your character five times per second, always in this order, and does at most what each step allows. Healing and combat also run the moment a cooldown ends, without waiting for the next check:
The cooldowns come from the server: the bot never casts a spell that is still cooling down and waits 1 second between two items. A spell with a second cooldown group waits for both (Eternal Winter: attack 4 s and focus 40 s). While you walk paralyzed, runes and potions wait for your step, as the server does. Only monsters on your floor and in sight count.
An area spell fires only where its real area hits at least the minimum of monsters (1 to 12); monsters that are only in range do not count. An area around you is checked where you stand; a wave or beam is checked on the four sides, and the bot turns to the side that hits enough and casts, or waits. A single-target spell (exori vis, exori frigo...) hits your target; when you attack no monster in its reach, the bot attacks one in reach by itself.
An area rune is thrown on the SQM in reach (7 sqm to the sides, 5 up and down, in sight) where its real area hits the most monsters, and only when that reaches the minimum. A single-target rune (sudden death...) is thrown at the monster the target choice picks: Current target, Nearest, Farthest, Lowest health or Highest health.
Optional, for area spells and runes: the rule may also fire when the area hits 25%, 50% or 75% of the minimum, rounded up. Minimum 3 with 50% = at least 2 monsters; without it, the minimum itself.
Every rule may wait until your mana is at least a percentage (0 to 100), so the healing always has mana left.
Put the strongest rule on top: the first one whose conditions hold has the turn. While it waits for its cooldown or for the exhaust of a potion, a ready rule below fires only when it does not delay it (in the long cooldown of a strong spell, for example); otherwise a rule below fires only when the conditions of the ones above do not hold (no rune left, not enough monsters or mana, no target in reach). When you are trapped, the area attack that hits every monster around you goes first, and a forced rule that waits for its cooldown no longer holds the others.
The bot follows the server: your power level (after a reset, the level that reset required, until your level passes it), your magic level and the spells you learned in the Spell Store. A rule that is waiting tells you why on the status line, and a rule the server refuses (for example "You do not have enough magic level.") waits 10 seconds while the other rules go first.
The card of a healing or attack rule with a Monk spell has its own harmony: Any harmony (the default), At least, At most or Exactly a harmony from 0 to 5, and, on the attack rules, Automatic, where the bot picks the harmony and the order of Builders and Spenders with the most damage per time. Each spell can wait for a different harmony; it holds back only Monk spells. The one harmony of the Combat tab is gone: a profile saved with it gets the same behaviour on each of its Monk spells. The server says which spell is a Builder or a Spender.
The Hunting tab walks a route, stops to fight when enough monsters gather, loots as the goal of the route says and leaves the hunt when your supplies end or a value of the Leaving tab is reached. A route is made of points that you mark, or is Automatic in the instance: inside a Hunting Grounds room the bot reads the map of the room from the server, walks to the monsters it sees and to the spawn points it has not seen empty for the respawn time of the server, and goes down the hunt floors by itself. It uses the rules of the other tabs to heal and attack, and it only runs while the bot is on. The bot panel shows EXP/h and loot/h after the first minute.
Mark here adds the sqm where you stand, with its floor. Record walking adds a point every 1 to 10 sqm while you walk, and one at every floor change, remembering how you changed floor: stairs, hole or ramp, ladder, or an item used on the map such as a rope or a shovel.
A route has three sections: the hunt loop, the way to the protection point and the way back to the hunt. Points can be moved up and down, deleted or cleared; inside the Hunting Grounds they are saved relative to the room, so a route works in every room of that scenery.
The bot stops to fight when at least the chosen number of monsters (1 to 12) is within 2 to 7 sqm. Fewer monsters are ignored and the bot keeps walking; a monster that blocks the way is attacked; on an automatic route the fight goes on while a monster is within 7 sqm. Stand: the bot waits and your area rules hit the monsters around you. Circle: the bot keeps moving around them at the distance you set, away from corners with 2 exits or fewer. Normal lure: the bot pulls the monsters, waiting up to 8 seconds for the ones left behind ("The pack did not come: the route goes on."), until it has the number to pull, then fights moving around them. Box lure (point routes only): the same, but it fights standing at the nearest box point. While hunting, the chase mode stays off so the bot decides where you stand; your own chase mode comes back when the hunt or the bot is turned off.
Goal of the route: Loot walks to every corpse and never leaves one behind, also while it fights at a distance; Balanced loots every reachable corpse at the end of each fight and never leaves a fight to loot; EXP takes only the loot of the 3x3 on its way. The loot distance (0 in a new route = every corpse of the floor, up to 8 sqm) limits the corpses the bot walks to, never going back for the others. The goal fills the loot fields; change any of them and the route is adjusted, and Goal values puts the values of the goal back. When the loot does not fit, Loot leaves and waits; Balanced and EXP keep killing without looting. Loot only the corpses next to me (3x3) never walks to a corpse.
The Leaving tab: the bot leaves the hunt when a supply goes below its minimum (Supplies) or when the free capacity, the hunt time or the stamina reaches the value you set (0 turns a value off). On a point route, with Sell the loot to The Lootmonger at the protection point (on in a new route), it sells there the items of your loot containers to The Lootmonger, who must stand within 4 sqm, and then waits. On an automatic route it goes up to the arrival room and waits there, since the instance has no NPC to sell to; with Go back to the hunt it goes down again once none of these conditions holds.
You can also leave with the button on the top right of the game screen, also with the bot window closed, on automatic and point routes: Leave while farming (the bot fights and loots on its way to the protection point), then Focus on leaving (no loot and no fight, only the way out), then Cancel leaving. The button is hidden in protection zones and while the bot is paused; after leaving by the button, the hunt starts again only when you turn it off and on.
Each supply is an item with a minimum (Add the items of my rules fills the potions and runes of your rules). When one goes below its minimum, the bot walks to the protection point and waits there. It never buys anything. With Go back to the hunt after I refill on, it goes back by itself once you have refilled.
Optional, none in a new profile: every N uses of a spell or item, use another spell or item; you choose N (1 to 99, 2 when you add a rule) and both actions, and you can add as many rules as you want, each with its switch. Only the uses by the bot count, by any of its rules. When the action is due, it goes in the turn of the attacks, before the attack rules, as soon as it can: an attack spell or rune as its attack rule says (or with the values of a new rule), any other spell or item on you.
The Sequence sub-tab shows the order the bot really uses your rules in: the healing spells, the potions at or below half of their percentage (life, then mana), the attacks (first the use rules that are due, then the area rules, then the single-target ones) and then the other potions. These steps go in the same pass; inside a step, a rule goes only when the ones above it cannot.
At the bottom of every sub-tab of Hunting, the bot lists the errors that keep one of your healing, attack or use rules from ever going (for example a rule above that always takes its turn, or a use rule whose counted action no rule uses), each with its Apply fix button. With none, it says that your rules work together as they are.
Only the bot that comes with the Custom Hero client is allowed. Programs, bots and clients from outside remain forbidden by the server rules.