Skip to content

Releases

Addon Mockery Forever 0.3.2

Choose a tag to compare

@generalwrex generalwrex released this 05 Dec 06:53

Options pages work, and Lua errors always count.

New

  • The Settings API. Blizzard's own Settings code now runs in the fake game, so addons that put a page in Options > AddOns (Settings.RegisterCanvasLayoutCategory, RegisterAddOnCategory, OpenToCategory, and AceConfigDialog's AddToBlizOptions) load like in game, and opening their options shows the page inside an Options window. The WowSims Exporter used to stop with "attempt to index a nil value (global 'Settings')".
  • Lua errors are problems. An error caught by the game's error handler (Ace3 and many libraries use it) or in a click or slash command was only in chat; now it's in the problems list too.
  • --run "/cmd" for test runs: after logging in, type slash commands and snap what each one opens.
  • The third-party check (node src\third-party.js): runs other people's addons you have installed, opens their windows, and says if any got worse.

Fixed

  • table.wipe exists (AceConfigDialog uses it).
  • UIPanelButtonTemplate buttons have their label from the start (GetFontString(), .Text), like in game.
  • OptionsSliderTemplate sliders have their Text, Low and High labels.
  • Frames have animation groups (CreateAnimationGroup, CreateAnimation); they play instantly.
  • table.getn, table.setn and getn exist, like in WoW's Lua 5.1.
  • A game API an addon reaches through the error handler (event callbacks in Ace3 and the like) gets its stand-in too, instead of failing.

Third-party check today: Teleportal, DisenchanterPlus, ForeverDungeonJournal, ProfessionMaster, SentiCurse, ScreenshotMode and the WowSims Exporter (options included) load with no problems; Auctionator has 1, Bagnon and Questie 2, Titan 7.

Getting it

Install Node.js (nodejs.org), download AddonMockeryForever-0.3.2.zip, unzip it anywhere and run Addon Mockery Forever.exe. Updating? Unzip over your copy; your addons.json, settings.json and Addons folder stay.

The exe isn't signed, so Windows may warn you the first time ("More info", then "Run anyway").

If it saves you time, you can support it at https://donorbox.org/generalwrex.

Addon Mockery Forever 0.3.1

Choose a tag to compare

@generalwrex generalwrex released this 05 Dec 04:40

Scroll bars where the game puts them, and a check for ones that cover things.

  • UIPanelScrollFrameTemplate gets its real scroll bar. Like the game's template: ScrollBar hangs outside the scroll frame's right edge (16 wide, 6 px out, 16 px in from the top and bottom), with ScrollUpButton / ScrollDownButton past its ends and the knob at the top. Also for UIPanelInputScrollFrameTemplate and FauxScrollFrameTemplate. The scene pages draw it with the game's art.
  • Scroll bar check. Every scene reports a scroll bar that sticks out of its window, or covers text, a texture or another frame in that window. Things drawn above it (a higher strata or frame level, like a pop-up) don't count.
  • The up/down buttons scroll (half the frame per click), and SetVerticalScroll / GetVerticalScroll / GetVerticalScrollRange work.
  • Frames remember their strata (SetFrameStrata / GetFrameStrata, inherited from the parent like in game).

Getting it

Install Node.js (nodejs.org), download AddonMockeryForever-0.3.1.zip, unzip it anywhere and run Addon Mockery Forever.exe. Updating? Unzip over your copy; your addons.json, settings.json and Addons folder stay.

If it saves you time, you can support it at https://donorbox.org/generalwrex.

Addon Mockery Forever 0.3.0

Choose a tag to compare

@generalwrex generalwrex released this 03 Dec 18:20

Run other people's addons, open errors in your editor, and use it from your phone.

New

  • Load any addon you have. The live page's sidebar lists everything in your WoW Forever AddOns folder (and the app's Addons folder). Tick some and load them, no restart.
  • Dependencies. An addon's ## Dependencies / ## RequiredDeps load first, like in game. A missing one is listed as a problem.
  • The right .toc. For addons that ship one per game version, it loads the one Forever loads.
  • Much closer to the real game. The fake game now runs Blizzard's own shared UI code (Mixin, pools, callback registries, EventRegistry, formatters, NineSlice, dropdowns), Blizzard's 27,000 global strings from your install, WoW's Lua 5.1 extras (strsplit, loadstring, bit, degree trig, the old gsub), Forever's constants (WOW_PROJECT_ID 18), the standard colors and fonts, and more of Blizzard's frames and tooltips.
  • Unknown APIs don't stop an addon. A call Forever doesn't have is still flagged, but the addon keeps loading, so you see everything that's missing at once.
  • Your code editor. file.lua:123 in the Log opens that line in VS Code, Cursor, Windsurf, VSCodium, Sublime Text or Notepad++ (whichever you have; pick it in the sidebar). One button opens the addon's folder.
  • Addon only. One button shows just your addon's windows, full screen. Escape brings the game screen back.
  • On your phone. The page fits a phone screen and taps click. Start with --remote for a link that works from anywhere: it's locked with a secret key and goes through a free Cloudflare tunnel (no account, no port forwarding).
  • AI assistants. The MCP server explains itself when an AI connects, and the sidebar shows the settings to paste, with your path filled in.
  • Backgrounds. Classic's loading screens (Kalimdor by default) when Classic is installed, and the page asks you for an Alt+Z screenshot of your own.
  • The game's art is ready before you see it. The first start loads it behind a progress bar. The main bar has its gryphons.

Tested with Titan Panel, Teleportal, DisenchanterPlus, ForeverDungeonJournal, ProfessionMaster, SentiCurse and ScreenshotMode (all load with no problems), plus Bagnon, Questie and Auctionator, which are down to 2 small problems each (they lean on game data the fake game doesn't have yet).

Getting it

Install Node.js (nodejs.org), download AddonMockeryForever-0.3.0.zip, unzip it anywhere and run Addon Mockery Forever.exe. Updating? Unzip over your copy; your addons.json, settings.json and Addons folder stay.

The exe isn't signed, so Windows may warn you the first time ("More info", then "Run anyway").

If it saves you time, you can support it at https://donorbox.org/generalwrex.

Addon Mockery Forever 0.2.0

Choose a tag to compare

@generalwrex generalwrex released this 03 Dec 17:36

The fake game now looks like the real one.

New

  • The game's own art and fonts. If WoW Forever is installed, the mock reads the art straight from your install while it runs: textures (by path or file id), SetAtlas atlases, texture coordinates, vertex colors, backdrops, icons, and the standard buttons, check boxes, close buttons and input boxes. Text uses Friz Quadrata, and Arial Narrow for numbers and chat. Nothing from Blizzard ships in the download: it's all read from your own game and cached on your PC.
  • Real window frames. Windows made with PortraitFrameTemplate or ButtonFrameTemplate get Forever's metal border, gold portrait ring, title bar, rock background and red close button. Plain frames with no template or backdrop are invisible, like in game.
  • The game screen. Player frame, minimap, main bar, action slots, micro menu, bags, key ring and chat buttons all use the game's textures, in the classic layout.
  • Backgrounds. Pick one in the live sidebar: one of Forever's own loading screens, or any of your screenshots (cropped to the middle so your own UI stays out). Take one with the UI hidden (Alt+Z) for the cleanest look.
  • Your addon's own art. .tga, .blp and .png files in your addon folder show up too, and a changed picture shows after a save.
  • Shift+drag moves windows. Their OnDragStart / OnDragStop run, so addons that save their spot still do.
  • --no-art gives the plain look.

Fixed

  • Text measures and wraps like in game: real letter widths from the game font, so GetStringWidth, GetStringHeight, wrapping and SetJustifyV match what you see. No more lines piling on top of each other.
  • A frame anchored to an edge and a middle point (like TOPLEFT + RIGHT) with its own height keeps that height, like in game.
  • GetCenter, GetRect, GetScale and GetEffectiveScale work, so windows that keep themselves on screen don't jump off it.
  • The minimap frame lines up with the drawn minimap, so buttons around it sit on the ring.
  • Portraits stay with their own window.

Getting it

Install Node.js (nodejs.org), download AddonMockeryForever-0.2.0.zip, unzip it anywhere and run Addon Mockery Forever.exe. Already have 0.1.0? Unzip over it, or just grab the new zip. Your addons.json and Addons folder stay. The exe alone is only for updating a copy you already have.

The exe isn't signed, so Windows may warn you the first time ("More info", then "Run anyway").

Addon Mockery Forever 0.1.0

Choose a tag to compare

@generalwrex generalwrex released this 02 Dec 06:53

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.