Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a character levels up, AddOn blocks buttons from becoming unlocked. #32

Open
zaphon opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@zaphon
Copy link

zaphon commented Jan 14, 2025

I've spent a bit of time trying to figure this out, as I have an army of alts that were mostly 70 prior to the release of TWW. Yet when I log into some of them and take them to Dornogal to start their TWW adventure, the Expansion Button on the minimap stays the one from DF. After a bit of digging, I tracked this down.

The button is tied to a CVarBitField named "unlockedExpansionLandingPages" which the DF and TWW buttons use. This bitfield gets set in the Blizzard_ExpansionLandingPage AddOn. Specifically when there is an event on the ExpansionLandingPageMixin (Blizzard_ExpansionLandingPage.lua line 37) it calls RefreshExpansionOverlay() which checks if the current overlay is the latest, and ultimately calls TryCelebrateUnlock() which would set the unlockedExpansionLandingPages CVarBitField.

For some reason, with your addon loaded, this doesn't trigger. I can disable your addon on a toon this is happening to, let Blizzard's set the bitfield, and than turn it back on and all is well.

However, realistically you shouldn't be blocking this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant