Guide

Dofus Retro Smithmagic Bot (FM): Level the Profession and Improve Your Items Automatically

MoonBot account manager: the status, script and connection of each Dofus Retro account
You launch a smithmagic script on an account from the account manager, like any other script.
Contents
  1. What the bot does in smithmagic
  2. Leveling a smithmagic profession
  3. Fusing up to a precise value
  4. Selling on the marketplace
  5. Good to know
  6. Free or Standard
  7. Getting started

A Dofus Retro smithmagic bot, or FM bot, automates the most repetitive part of smithmagic: placing the item and the runes, fusing, checking the result, starting again. With MoonBot, everything goes through the fm API in Lua scripting: leveling a smithmagic profession, aiming for a precise stat value, then selling the items on the Marketplace (HDV). This article covers what the bot can do, two example scripts and what to know before you start a series.

Playing Dofus 3? Automatic smithmagic has its own guide there: Dofus 3 smithmagic bot.

What the bot does in smithmagic

  • It opens the workshop on the map it is on: boots, belt, cape, hat, bag, ring or amulet (fm.open).
  • It places the item and the runes: the item by its ID (fm.putItem), and the runes by choosing on its own the best one available for a stat (fm.putRunesForStat).
  • It fuses once, in a series, or until a stat reaches the value you want (fm.fuseOnce, fm.fuseAll, fm.fuseUntil).
  • It reads the result: the value of a stat on the item (fm.itemStat), the success rate of the last series (fm.successRate), the runes left in the inventory (fm.availableRunes).

The fm module is for smithmagic on your own at a workshop. Two-player smithmagic, between a craftsman and a customer, goes through other API functions (craft.forgemagicAction).

Leveling a smithmagic profession

To gain profession experience, you repeat fusions on a cheap item. Each fusion uses up one rune, and only successful fusions give experience. Here is an example, with the character on the map of a hat workshop and the item and the runes in its inventory:

-- Level smithmagic: Strength ("force") runes on a Gobball Headgear
fm.open("chapeau")                           -- hat workshop on the map
fm.putItem(2411)                             -- Gobball Headgear (item ID 2411)
local poses = fm.putRunesForStat("force", 50)
fm.fuseAll()                                 -- fuses as long as placed runes remain
global.printMessage(poses .. " runes posées, réussite : " .. fm.successRate() .. " %")

The documentation also provides a more complete version that checks each fusion one by one. For the structure of a script, see the Lua scripting tutorial, and for professions in general, the professions guide.

Fusing up to a precise value

To improve an item rather than level the profession, fm.fuseUntil chains fusions until the stat reaches the target value, or until there are no runes left. By default, it stops after 500 attempts and returns the result:

-- Raise an item's Vitality to 40 (item and Vitality runes already placed)
local r = fm.fuseUntil("vitalite", 40)
if r.reached then
    global.printMessage("Objectif atteint en " .. r.attempts .. " fusions")
else
    global.printMessage("Arrêt à " .. r.final .. " après " .. r.attempts .. " fusions")
end

Before starting the series, fm.itemStat("vitalite") gives the starting value, and fm.availableRunes("vitalite") shows how many runes you have left.

Selling on the marketplace

Maged items can be resold on the marketplace. In a route, the sale = true step opens the marketplace and sells according to the settings in the Marketplace tab; in a script, hdv.autoSell() does the same, and hdv.undercutAll(1) reprices your single-item listings at 1 kama below the lowest price. Automatic selling is part of the Standard tier; the pricing logic is explained in the farm kamas automatically guide.

Good to know before starting a series

  • Each fusion uses up one rune, and the server recreates the item: its unique ID changes after every fusion.
  • Place the whole stack of runes before starting a series: when there are no runes left in the workshop, the next fusion is refused and nothing is consumed.
  • To alternate between two runes, remove the placed stack before placing the other one (fm.removeItemByUid).
  • Start on cheap items while you validate your script.

For gathering resources and the other professions, see the Dofus Retro profession bot article.

Free or Standard

  • Free tier: up to 5 bots, unlocked through validated Discord invites, with Lua scripting. Details in the free Dofus bot article.
  • Standard (€87 per month): 50 bots, with automatic selling on the marketplace, automatic crafting and statistics.

Full pricing is on the Dofus Retro page.

Botting breaks the terms of use of Dofus and exposes your accounts to sanctions. MoonBot is independent third-party software, not affiliated with Ankama: you use it at your own responsibility.

Getting started

  1. Create an account on retro.moon-bot.io and link your Discord to unlock your free bots.
  2. Move your character to the map of a smithmagic workshop, with the item and the runes in its inventory.
  3. Paste one of the scripts above into the Scripts tab of the dashboard, adjust the item and the stat, then launch it.
  4. All the functions are described on doc.moon-bot.io, in the fm and hdv sections.

Frequently asked questions

Is there an FM bot for Dofus Retro?

Yes. MoonBot controls smithmagic through Lua scripts, with the fm API: opening the workshop, placing the item and the runes, fusions in a series or up to a target value, reading the success rate.

Can the bot level a smithmagic profession?

Yes. It chains fusions on a cheap item with a stack of runes. Only successful fusions give profession experience.

Can I aim for a precise stat value?

Yes, with fm.fuseUntil: the bot fuses until the stat reaches the value you want, or until it runs out of runes, with a maximum of 500 attempts by default.

Does the bot sell maged items on the Marketplace (HDV)?

Yes, with automatic selling, part of the Standard tier: the sale = true step in a route or hdv.autoSell() in a script, and hdv.undercutAll(1) to price single-item listings 1 kama below the lowest price.

Does botting comply with the rules of Dofus?

No. Botting breaks the terms of use of Dofus and exposes your accounts to sanctions. MoonBot is independent third-party software, not affiliated with Ankama: you use it at your own responsibility.

Ready to automate Dofus Retro?

Create an account, add your characters and launch your first script in minutes. The free tier unlocks up to 5 bots through Discord invites, with nothing to install.

Start for freeSee pricing

Automate your game

The most complete Dofus bot

100% cloud: nothing to install, no VPS. Combat, gathering, marketplace, crafting, multi-account and Lua scripting.

  • 100% cloud — nothing to install
  • Free up to 5 bots
Start for free
← Back to the blog