WkBot / Cavebot
  • Routes drawn on the map: waypoints, sections and labels
  • Three walking methods: Markers, Arrow Keys or Map Clicks
  • Stairs, ropes and holes as waypoints of their own
  • Refill trips scripted in Lua: NPCs, depot, supply stash
  • Creatures in the way walked round, not bumped into

Draw the route, WkBot walks it

Open the map, click where you want to go, and the route takes shape: waypoints to walk through, places to stand and fight, and stairs, ropes and holes as waypoints of their own. Sections keep the hunt apart from the trip to town, labels mark the places a script can send the route to, and WkBot starts from whichever waypoint is nearest your character.

Three walking methods come with it: Markers, Arrow Keys and Map Clicks. Pick the one that suits your server and your route; the waypoints stay the same.

Refill, sell and come back

An Action waypoint runs Lua, the whole language, with an API made for the trip to town: check your potions and capacity, talk to the NPC, buy what is missing, sell the loot, open a free depot, restock from the supply stash, and send the route back to the hunt. The editor completes what you type and runs it on the spot.

refill.lua
-- back to town when supplies run low
if getItemCount($manapotion) < 50 or getCapacity() < 100 then
  goToLabelAndSection("leave", "Refill")
end

-- at the NPC: restock, sell the loot, carry on
sendMessage($npcs, "hi", "trade")
npcBuy($manapotion, 300 - getItemCount($manapotion))
npcSell($goldenlegs, true)
keyEvent("Escape")

Every function is in the Lua API docs, with what it returns and an example.

Walks round creatures in the way

A creature standing in a corridor used to mean bumping into it until it moved. With the Creature Radar on, the cavebot sees it coming and walks round it, and the route goes on to the next waypoint.

WkBot / Cavebot

Set it up

  1. In WkBot, open the Cavebot and put your waypoints on the map, or record them as you walk.
  2. Pick a walking method, and add an Action waypoint with your refill script.
  3. Switch the Cavebot on, with Targeting and the Healer, and let the hunt run.

FAQ

The cavebot, answered

Does the WkBot cavebot refill on its own?

Yes. An Action waypoint runs a few lines of Lua: check your supplies and capacity, walk to town, buy what is missing, sell the loot, use the depot and the supply stash, and walk back to the hunt.

Can the cavebot use stairs, ropes and holes?

Yes. Stairs, ropes and holes are waypoints of their own, so a route can go up and down floors like any other step of the way.

Does the cavebot work on OpenTibia servers?

Yes, on servers that use the Real Game Map, the same map as Tibia Global. On servers with a custom map some cavebot features may behave unexpectedly; the free trial is the way to check yours.

What happens when a creature stands in the way?

With the Creature Radar on, the cavebot walks round it instead of bumping into it, and the route goes on.

More features

Goes well with

Coming soon.