You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 11.1.5, there are more ways to control the order of loading saved variables (you can load them before the addon itself is run) 1. As far as I'm aware, this is mostly handled by AceAddon and the event-based initialization right now. However, there are some potential issues which could be alleviated by streamlining the load order (important caveat: Treading careful here is mandatory as overwriting the saved variables would erase all data).
Some users have reported errors where the DB wasn't available in time, causing errors. This has been fairly rare but it does happen; it's a typical symptom of async/interleaved code paths and should in theory be fixed if the load order is guaranteed to be sequential by the client
In the code, there are some timers seemingly used to retry initializing the Options when AceDB hasn't loaded - could then remove these
It'll be much easier to test that things are loading as expected; including the DB initialization and DB migrations (if implemented)
Some of the initialization code could potentially be simplified, removed, or dependencies dropped - less code means reduced costs overall
There have been difficult-to-reproduce issues with default values not being loaded as expected - another problem that may be avoided
rdw-software
changed the title
Investigate 11.5 TOC settings to preload saved variables
Investigate 11.1.5 TOC settings to preload saved variables
May 30, 2025
Uh oh!
There was an error while loading. Please reload this page.
In 11.1.5, there are more ways to control the order of loading saved variables (you can load them before the addon itself is run) 1. As far as I'm aware, this is mostly handled by AceAddon and the event-based initialization right now. However, there are some potential issues which could be alleviated by streamlining the load order (important caveat: Treading careful here is mandatory as overwriting the saved variables would erase all data).
Footnotes
https://warcraft.wiki.gg/wiki/Patch_11.1.5/API_changes ↩
The text was updated successfully, but these errors were encountered: