Still Questing A WoW journey and its addons
Still running from Hogger Settings

← Back

Still Questing / Discoveries

Saved variables do load back

On the live client, build 1.60.1.70790, an addon's saved variables come back after a /reload and after a full restart, account-wide and per-character alike. The game restores them after the addon's files have run, as Retail does. The plugin had said since September that they were never read back; on the probe's side that came from its own file-scope local.

Measured Forever AddOn Dev

Concluded Written up

The question

Does WoW Forever read an addon's saved variables back, and if so, when?

Why it mattered

Since the beta in September the plugin had told every addon author that saved variables were written but never read back, so settings had to come from outside the game. My own addons disagreed. OAP Debug saw both kinds load after a full logout on 25 and 26 September. On 25 September OAP Off The Map found a dungeon history from a 19:37 session still there after a fresh 21:27 login, and retired its workarounds the next day.

On 31 October I decided to wait for the live release and re-measure with the plugin's own probe, rather than rewrite the plugin's text from another addon's evidence.

How it was done

Before the game started, a script planted a seed file, each with its own token, in every folder the client might read, including two unusual folders other developers had named.

Then eight probe sessions in one evening on my live client: a first login, six /reloads, a full exit to the desktop and a restart. Each session stamped its own token into three test globals and kept whatever token it found on disk. Finding the previous session's token is the only positive proof of a read-back. The game process's start time showed when the restart had really happened.

What was seen

All three test globals came back with the previous session's token across a /reload and across the restart, account-wide and per-character. The probe's 4.3 MB database came back whole after seven saves and a restart.

Nothing is restored while the addon's files run. The client puts the saved table back afterwards, by the time ADDON_LOADED fires: a global reassigned at file scope still came back holding the old token.

That order explains the probe's own September evidence. The probe took a local copy of its database at file scope, which then pointed at the empty table the client replaced. Every write after the first session went into that orphan, and its load counter could never move.

The two unusual folders were neither read nor written. The "destructive save" reported in September did not happen in seven saves.

What changed

The probe now takes its database on ADDON_LOADED. The linter gained a rule, sv-file-scope-local, for a file-scope local copy of a saved global; none of the OAP addons had one.

Every place in the plugin that said saved variables are never read back was corrected. The September sections are kept, marked superseded.

Ways tried

WayOutcomeNote
Seed tokens in every candidate folder Executed Only the normal account and character folders are read; the two unusual ones were untouched.
A token chain across /reload and a full restart Retained The proof: each session found the one before.
The probe's own load counter Rejected Could never move while the probe held a file-scope local.
Me reading results off the screen Rejected Results are collected from the files on disk instead.

Never give up, never surrender

Where the AI stalled, and what it took to get past it.

Through the evening the AI kept asking me to read results off the screen and type them back. At 00:46 I asked the AI to check whether the steps were done; the files on disk showed the /reload proof, and that the game had not yet been restarted. At 02:00, after the restart: "those lines aren't there - and you should be collecting this, not relying on my typing". The lines the AI had asked for were not printed by that version of the probe at all; the files on disk held the answer. Since then I am given only actions in game, and the results are collected from disk.

Still not known

  • When the client started restoring saved variables: not verified. On 20 September, on beta build 69913, the probe once saw an empty database through the global itself, which the orphan local does not explain. Yet OAP Debug and OAP Off The Map both saw saved data come back on the beta on 25 and 26 September, and which build they were on is not recorded. So either a beta build of that week began restoring, or the 20 September result had another cause. These are other addons' observations, not this probe's measurements.
  • Measured on my own client, on one character.

Sources

The project files and commits this report was written from.

  • forever-addon-dev: research/findings.md, P.30
  • forever-addon-dev: git commits b58252c, f240d56 and be255d7
  • forever-addon-dev: research/captures, ForeverProbe 2026-11-04 and 2026-11-05 live-70790
  • forever-addon-dev: Claude transcript 18f19fb4, 2026-11-04 and 2026-11-05
  • forever-addon-dev: Claude memory note 'collect-dont-ask'
  • OAPOffTheMap: Quest Log entry oapoffthemap-history-survives-a-logout (git commit 9819a7b)

In the Quest Log

Happened time from: git commit be255d7 written up Forever AddOn Dev Milestone updated
Release night: the reference meets the live client

On Forever's launch night the probe ran on the live client and the reference was regenerated from it. The headline: saved variables do load back, reversing what the plugin had said since September.

Read the entry: Release night: the reference meets the live client

It was booked on 3 November for 11pm UK on launch day, "first job". The script that set up the test would have used the first character folder it found, and I said "that's not the character I'll be using", so it was changed to take a named one.

The probe ran until 2am, through /reloads, a full exit and a restart. Saved variables came back every time, account-wide and per character, and the probe's wrong evidence from September turned out to be its own mistake. The Discovery tells that story.

Two more September results reversed. SetAttribute on a secure button is now blocked in combat, as on Retail. Threat values are secret out of combat as well as in it.

The first regeneration ran with my own addons switched on, and another addon's probe functions turned up in the reference with pages of their own. It was run again with every other addon switched off.

The linter gained a rule for the mistake that had fooled the probe; none of the OAP addons had made it.

Where this comes from

  • forever-addon-dev: git commits b58252c, f240d56 and be255d7
  • forever-addon-dev: research/findings.md, P.30
  • forever-addon-dev: Claude transcript 18f19fb4, 2026-11-03 to 2026-11-05