Skip to main content

Build hunts and scripts with a clear view of Opus.

Practical guides for the client bot, plus a Lua reference for the embedded Lua 5.4 engine.

Get started · Browse the Lua API · Download Opus

  • Lua 5.4 runtime
  • ZeroBot-compatible scripting surface
  • English docs (v1)

Choose a path

01 — Install & inject

Getting started — download the package, install VC++ if needed, inject into a supported client, and start the trial.

02 — Bot modules

Modules overview — cavebot, targeting, healing, refill, and how the pieces fit together.

03 — Lua scripts

Scripting — load scripts, events, timers, HUD, and the public API modules.

04 — Events & HUD

Events · HUD — react to game data and draw overlays.

  1. Start from the public API — use documented namespaces (Game, Player, Map, Engine, HUD, …).
  2. Prefer events and timers — react with Game.registerEvent and schedule work with Timer instead of blocking loops.
  3. Validate the client — treat version-specific fields and OTServer behavior as explicit conditions.
function onTick()
print("HP " .. tostring(Player.getHealthPercent()) .. "%")
end

Next