🌐 Langues / Languages / Idiomas: 🇫🇷 Français · 🇬🇧 English · 🇪🇸 Español
The official library of LUA scripts for Moonbot Rétro, the next-generation Dofus Retro bot. Combat, farming, gathering, travel and combat AI — ready-to-use
.luascripts to automate your character on Dofus Retro.
Moonbot Rétro is a bot for Dofus Retro that automates the game's repetitive tasks: combat, kama farming, resource gathering (fishing, lumberjacking, alchemy…), travel, bank management and multi-accounting. Moonbot drives your character using LUA scripts that are easy to write and share.
👉 Official website: https://moon-bot.io/ — download Moonbot Rétro, read the docs and join the community.
This repository gathers a collection of LUA scripts for Moonbot Rétro, documented zone by zone, so you can bot Dofus Retro quickly — whether it's bouftou farming, fishing 1-100, hunting Abraknids or automatic gathering.
- ⚔️ Optimized combat scripts — map-by-map farming routes, automatic fight handling and bank deposits.
- 🎣 Profession / gathering scripts — fishing, resources, automatic inventory dumping.
- 🧭 Travel scripts — automatic routes (e.g. Incarnam → Astrub) to set up a new character.
- 🧠 Customizable combat AI — reusable spell logic (
fightManagement). - 🛠️ Utilities — auto-equipping items, inventory cleanup, etc.
- 🆓 100% free and open-source under the MIT license.
All scripts live in the scripts/ folder, sorted by category.
⚔️ Combat & Farming — scripts/combat/
| Script | Zone / Monsters | Bank | Description |
|---|---|---|---|
arakne-temple-osamodas.lua |
Araknes — Osamodas Temple (Amakna) | Amakna | Combat loop around the Osamodas Temple with automatic inventory cleanup (deletes items every 5 min) and withdrawal of a specific item from the bank. Multi-account ready (lockedCustom). |
champs-des-ingalsses.lua |
Ingalsses Fields (Amakna) | Amakna | Large combat route across the Ingalsses Fields, with automatic return to the Amakna bank. Great low/mid-level kama farming. |
foret-des-abraknides-astrub.lua |
Abraknids — Astrub Forest | Astrub | Full Abraknid hunting route (1 to 8 monsters per fight) with deposit at the Astrub bank. |
foret-des-abraknides-astrub-v2.lua |
Abraknids — Astrub Forest (variant) | Astrub | Variant of the above with bank exit/entry handling (interior 7549 + exterior 7414). |
plaine-des-bouftous-astrub.lua |
Bouftous — plain north of Astrub | Astrub | Bouftou farming route from the Astrub bank. Perfect for beginner characters. |
prespics-amakna.lua |
Prespics (Amakna) | Amakna | Quick combat route against Prespics, Amakna bank. Includes a change() function for restocking. |
sangliers-puerkazos-astrub.lua |
Boars / Porkass (north of Astrub) | Astrub | Long combat route (1 to 8 monsters) with automatic Astrub bank exit. |
coin-des-boos-amakna.lua |
Boos Corner (Amakna) | Amakna | Zaap → Boos Corner trip then combat loop, return to the Amakna bank. |
combat-nord-astrub-1.lua |
Combat zone north of Astrub | Astrub | Dense combat route (all cells fight = true) covering the maps north of Astrub. |
combat-nord-astrub-2.lua |
Combat zone north of Astrub (variant) | Astrub | Travel route followed by a targeted combat zone, Astrub bank. |
🎣 Farming & Gathering — scripts/farm-recolte/
| Script | Activity | Bank | Description |
|---|---|---|---|
pecheur-madrestam-1-100.lua |
Fishing level 1-100 — Port of Madrestam | Amakna | Automatic fishing script (river & sea fish) optimized to level Fisherman from 1 to 100, with bag opening and deposit at the Amakna bank. |
recolte-nord-astrub.lua |
Resource gathering (north of Astrub) | Astrub | Automatic gathering route (gather = true) with a long travel route (change()) and deposit at the Astrub bank. |
🧭 Travel — scripts/deplacement/
| Script | Route | Description |
|---|---|---|
incarnam-vers-astrub.lua |
Incarnam → Astrub | Automatic travel of a new character from Incarnam to Astrub, NPC dialogue included. Ideal to prepare an account before farming. |
🧠 Combat AI — scripts/combat-ia/
| Script | Type | Description |
|---|---|---|
gestion-de-combat-cac.lua |
Combat logic (fightManagement) |
Reusable melee combat AI: casts a spell on an adjacent cell, hammers the nearest enemy, moves into contact, then ends the turn. Adapt it with your own spell IDs. |
🛠️ Utilities — scripts/utilitaires/
| Script | Function | Description |
|---|---|---|
equiper-item.lua |
Auto-equip | Automatically equips an inventory item from its template ID (IDDELITEM). Handy alongside a farming script. |
- Download and install Moonbot Rétro from the official website 👉 https://moon-bot.io/
- Grab the script you want from this repo (Raw button then copy-paste, or Code → Download ZIP).
- Import/paste the script into Moonbot's script editor.
- Place your character at the right spot (Zaap, bank or start map listed in the description).
- Run the script and let Moonbot bot your Dofus Retro automatically. ✅
💡 Each script usually defines a
move()function (farming/gathering route) and abank()function (deposit route). Some includechange(),phenix()or custom functions.
A Moonbot Rétro script describes your character's path map by map:
function move()
return {
{ map = "5,7", path = "top", gather = false, fight = false },
{ map = "5,4", path = "left", gather = false, fight = true },
-- map : coordinates or map ID
-- path : exit direction ("top", "bottom", "left", "right") or cell
-- fight : true = fight monsters on the map
-- gather : true = gather resources on the map
}
end
function bank()
map.moveTowardMap(1674)
return {
{ map = "1674", npcBank = true, path = 293 },
}
endThis simple structure makes the scripts easy to read, edit and share within the Moonbot community.
Contributions are welcome! Got a farming, gathering or combat-AI script for Dofus Retro? Check the CONTRIBUTING.md guide and open a Pull Request. Remember to document the zone, the monsters and the bank used.
Is Moonbot Rétro free? Head to moon-bot.io to discover Moonbot Rétro's features and plans.
Do these scripts work on Dofus Retro? Yes. Every script in this repo is written in LUA for the Moonbot Rétro bot on Dofus Retro.
How do I write my own LUA script for Moonbot?
Use the scripts in this repo and the official docs on moon-bot.io as a starting point. The move() / bank() structure is explained above.
Where can I download Moonbot Rétro? On the official website: https://moon-bot.io/.
moonbot · dofus retro bot · dofus retro script · dofus lua script · dofus bot · dofus retro farming · moonbot scripts · dofus retro automation · dofus fishing bot · dofus retro combat bot
🌙 Discover Moonbot Rétro on moon-bot.io →
This repository is a community library of LUA scripts for Moonbot Rétro. Dofus and Dofus Retro are trademarks of Ankama Games. This project is not affiliated with Ankama.