Skip to content

Addon Mockery Forever 0.3.2

Latest

Choose a tag to compare

@generalwrex generalwrex released this 05 Dec 06:53
· 1 commit to main since this release

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.