User Tools

Site Tools


cavebot

This is an old revision of the document!


Cavebot

The Cavebot automatically walks over the a waypoint, it is usefull to reach spawns and with the help of the Killer and the Looter you will be able to hunt totally automatically earning money and experience.

Settings

Learn: this option makes the cavebot “learn” the path you do, this makes easier and better the script making.

Rope: this is a global configuration for Rope usage, if you use a Elvenhair rope for sample this is the place you must set.

Shovel: this is a global configuration for Shovel usage, if you use a Light Shovel for sample this is the place you must set.

Walk over Fire / Poison / Energy: makes you walk over natural fields.

Walk over Parcels/Furnitures: makes you walk over parcels, furnitures, flowers and lots of items.

Waypoint

The waypoint is the path that the Cavebot follows. To do a simple waypoint use the Learn feature. However for advanced waypoints you must use other features, follows the Cavebot Point Types.

Point

This is the basic unit of the waypoint, it walks, go on ramps, use ropes and shovels. The BBot MUST have points with a 4 or 5 distance, to make a perfect wapoint use the Learn to create the points. You don't need to pass exactly on the position to go to the next waypoint item, a Point create a 3×3 square of target.

Fixed Point

Like a point but the Fixed Point is a 1×1 square target, so you MUST pass on the position to go to the next waypoint item. It is usefull for NPCs and some other things.

NoKill Point

While the cavebot is on a NoKill Point the killer stop working, this is good for a lure-and-kill.

Delay

The delay sleeps/stops the cavebot for some seconds.

Drop Loot

The Drop Loot gets items with a “Cavebot Dropable” mark from the looter and drops on position.

Map Tool

Map Tool is a advanced feature that allow the Cavebot to use keys on door, machetes on grass and many other features.

Parameters:

TargetID: is the ID on the map, if the ID is not found the macro tool is skiped

UseID is 0: use a item in the map, like a lever, a normal door (dont need key).

UseID is a number: use a item on the map, like a machete in the grass, a shovel in the sand, a locked door (need key)

TargetX, TargetY, TargetZ: this is the position of the TargetID

The Map Tool only follows the next item of the waypoint list when the TargetID is not present anymore. It works very well for doors or grasses because the Door changes the ID when it is open or closed, and the grass simply is deleted.

Depositer

This is one of the most advanced BBot Features, this will find a depot and go inside it. After that it deposits lootable items (all the items that the Looter get) on the depot. You must create this point on the middle of a depot zone that you can see lots of depot boxes, the BBot will find one free and try to open it.

Reset Backpacks

This is a small feature that close all the backpacks and reopen the main backpack. Backpacks inside the main backpack are also oppened on another windows.

Full Check

The Full Check is a powerfull feature that help with a refiller/depositer scripts.

Usage: this feature receive a single code that can run multiple conditions.

Condition: the condition is very simple but powerfull, it compares a variable like Cap to a value.

Accepted operators:

  • > Bigger
  • >= Bigger or Equal
  • < Smaller
  • <= Smaller or Equal

Values:

  • Cap (returns the player cap)
  • Item ID (count items on the open containers)
  • Item Name (use the hotkey message “You are using xx…”; This should only be used by items that are used by hotkeys, like potions or runes)

Samples:

  • Cap<=100

Check if cap is smaller or equal than 100, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item.

  • Cap>=100

Check if cap is bigger or equal than 100, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item.

  • 3031<=1000

Check if the item 3031 (gold coin) count is smaller or equal than 1000, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item.

  • 3031<=1000

Check if the item 3031 (gold coin) count is bigger or equal than 1000, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item.

  • Health Potion<=10

Check if the Health Potions count (of hotkeys) is smaller or equal than 10, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item.

  • Health Potion<=10

Check if the Health Potions count (of hotkeys) is bigger or equal than 10, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item.

Note: if you need multiple conditions you MUST use the same fullcheck code grouping them like:

Condition1;Condition2;Condition3;

Sample:

Cap<100;Health Potion<10;3031>1500

Say

This makes the player say a message and wait for a small time.

NPC Say

This send a message to the NPC Channel.

Warning: a normal Say with a “Hi” or “Hello” message is necessary before using the NPC Say.

Hi / Deposit All / Yes

Add the following:

Say hi NPCSay deposit all NPCSay yes

cavebot.1301007386.txt.gz · Last modified: 2021/11/15 16:43 (external edit)