Modular Tibia bot for OTClientV8 and OTCR. Auto-detects client at startup.
- Copy
nExBot/into your client'sbot/directory - Open client, press Ctrl+B, select nExBot, click Enable
- Configure HealBot (healing), TargetBot (creatures), CaveBot (route)
Install paths:
- vBot:
%APPDATA%/OTClientV8/<ServerName>/bot/nExBot - OTCR:
~/.local/share/<otcr-data>/<ServerName>/bot/nExBot
| Module | Function |
|---|---|
| HealBot | Spell/potion healing at configurable HP thresholds. 75ms response. |
| AttackBot | Attack spell/rune rotation with AoE optimization |
| CaveBot | Waypoint navigation, floor-change safety, supply refills, 50+ pre-built routes |
| TargetBot | 9-stage priority targeting, Monster Insights AI, movement coordination |
| Hunt Analyzer | Session analytics β kills/hr, XP/hr, profit, Hunt Score |
| Containers | Event-driven BFS, O(1) operations, generation tracking, quiver management π |
| Follow Player | Party hunt β stays near leader while attacking |
| Extras | Anti-RS, alarms, equipment swap, combo system, push max |
Loader.lua (entry)
βββ ACL (vBot/OTCR detection + adapter)
βββ EventBus (event-driven communication)
βββ UnifiedTick (single 50ms master timer)
βββ UnifiedStorage (per-character JSON persistence)
β
βββ Containers π
β βββ identity (physical container identity)
β βββ queue (head/tail FIFO, O(1) dequeue)
β βββ state_machine (13 states, generation tracking)
β βββ registry (O(1) lookups, incremental item index)
β βββ bfs (event-driven traversal)
β βββ scheduler (UnifiedTick integration)
β βββ readiness (derived snapshots)
β βββ quiver (paladin ownership)
β βββ discovery (orchestrator)
β
βββ HealBot βββ player:health events
β βββ spell_resolver (conversion functions)
βββ AttackBot ββ TargetBot decisions
β βββ attack_data (pure data tables)
β βββ attack_analytics (recording functions)
βββ CaveBot ββββ 250ms waypoint engine
βββ TargetBot ββ creature events + Monster AI
β βββ AttackStateMachine (sole attack issuer)
β βββ Monster Insights (12 AI modules)
β βββ MovementCoordinator (intent voting)
β
βββ Hunt Analyzer ββ passive analytics
| Guide | Description |
|---|---|
| Installing | Installation for vBot and OTCR |
| HealBot | Healing spells, potions, conditions |
| AttackBot | Attack spells, runes, AoE optimization |
| CaveBot | Navigation, waypoints, supply management |
| TargetBot | Combat AI, Monster Insights, movement |
| Follow Player | Party hunt companion |
| Containers | Container management, quiver system |
| Hunt Analyzer | Session analytics |
| Extras | Safety, equipment, utilities |
| Architecture | Technical design |
| Performance | Optimization and tuning |
| FAQ | Troubleshooting |
See CONTRIBUTING.md. Run make check before submitting. Follow existing Lua style (2-space indentation).