Skip to content

Addon Mockery Forever 0.1.0

Choose a tag to compare

@generalwrex generalwrex released this 02 Dec 06:53
· 16 commits to main since this release

First release!

Addon Mockery Forever is a fake World of Warcraft Forever client for building addons without logging in. It loads your addon from its .toc, runs your real Lua code, and draws its windows on a fake game screen in your browser. You click around, type slash commands and fire game events, and your code answers like it would in game.

What it does

  • Live page: your addon's windows on a classic-style WoW screen. Click buttons, check boxes, type in edit boxes, scroll, close windows with their X. Zoom in, screenshot it.
  • Reloads on save: edit a file of your addon and the page reloads with the change. There are Reload and Restart buttons too.
  • Knows Forever's real API: it downloads Blizzard's own API docs and UI code for Forever's current build and keeps them up to date. Calls the fake game doesn't do itself still answer with the right shape (a bool is false, a structure has its fields, enums have their real values). Calls that don't exist in Forever show in red in the Log, because they'd break in game too.
  • Log: errors with file and line, prints, chat output, and every API call it had to stand in for.
  • Several addons at once: tick more than one, they load together like in game.
  • MCP server: an AI assistant can drive the live game (click, type, run commands, read the screen) while you watch the same page. See the README.

Forever only: its API, bag and bank layout, level 60. The look is our own drawing in a classic WoW style, not Blizzard's art.

What you need

  • Windows
  • Node.js (https://nodejs.org, the LTS one). Nothing else. Lua comes with it.
  • An internet connection the first time (it downloads the API docs, about 27 MB, once).

You don't need WoW running. If Forever is installed it finds it by itself (to check your game version and to open your AddOns folder when you add an addon).

How to use it

  1. Install Node.js.
  2. Download AddonMockeryForever-0.1.0.zip below and unzip it anywhere (not inside the game's AddOns folder).
  3. Run Addon Mockery Forever.exe. It isn't signed, so Windows may warn you the first time: "More info", then "Run anyway".
  4. Click Add an addon... and pick your addon's folder (the one with the .toc). It gets linked, not moved, so you keep working on it where it is.
  5. Tick it, click Start. Your browser opens the fake game with your addon loaded.
  6. Done for the day? Close the launcher, or double-click close-all.bat to stop everything.

Addon Mockery Forever.exe on its own is only the launcher, for updating a copy you already have. It needs the src folder next to it, so grab the zip the first time.

Bugs and ideas: open an issue.