-
-
Notifications
You must be signed in to change notification settings - Fork 350
Update for Midnight compatibility #6143
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
Conversation
…t value checks, add restricted load condition
|
We have no interest in maintaining that jank. |
|
There's nothing jank about it, it works just fine. |
|
Your own words are: "This does result in some auras starting to become a bit janky when the restrictions kick in (e.g. buffs/debuffs not updating anymore), so I also added an option to unload auras that would cause problems with addon restrictions." And I fully agree with you, that trigger is useless if behaves that way. |
|
You should read the 2nd part, it states that I added a simple solution for that. Auras not quite working correctly when loaded in the wrong circumstances is nothing new. And ofc you could do a better job by e.g. just automatically unloading auras that try to read secret values, but I don't think I understand enough of the overall code to implement that.
I never said anything like that. I have a lot of auras that work absolutely fine with this fix, e.g. custom resource displays and a castbar replacement. I don't really want to argue with you about this though. If you don't want to merge it then ok, but imo it would restore quite a lot of functionallity that people have grown accustomed to. |
|
That solution is pure jank, it requires the user to toggle an setting on a different page, while understanding the internals of WOW's API to figure out whether that trigger works or doesn't. Prediciting whether it works or not is simply impossible for users. That WA is just a bait for most people, it pretends to work by providing all kind of pratically useless triggers. There's obviously some functionality of WA that can and still does work, but this is not the way to do that. |
|
Thanks for your PR. And yeah I agree with you and Infus. Yes it would bring certain features back under certain conditions but yes it also is janky and would be very confusing for our users. That's the reason why we did not do these changes ourselves yet and had decided to not maintain WA for Midnight. |
|
Honestly, I'm kinda baffled that you'd rather let the whole thing die than have users toggle a single checkbox for some auras to not stop updating for some time, in an addon that literally requires intimate knowledge of wow events and even lua coding for half its functionallity. But I'll leave you to it, sorry to interrupt. :/ |
|
Also I should note that WA is open source, you can absolutely fork WA and maintain a midnight compatible version. If you would do that, we'd ask you to rename it, but otherwise we have zero objections to that. |
|
Hmm ok, I might do that. Ty! |
All good and thanks for your effort again, we just don't want to merge something right now and claim WA is supported for Midnight when we are not really ready to support it and it does not match our expectations. |
Description
This is somewhat of a quick-fix for the Midnight changes. Basically all places that caused problems in combat or during M+ dungeons have been wrapped with the new secret value access APIs, and not being able to access values is treated as them being nil or false in most cases.
This does result in some auras starting to become a bit janky when the restrictions kick in (e.g. buffs/debuffs not updating anymore), so I also added an option to unload auras that would cause problems with addon restrictions.
I still get an error message when logging in about calling
coroutine.resumeand that somehow being prohibited, but I couldn't figure out a solution for this. It doesn't seem to cause any real problems though.Changes in detail:
WeakAuras.GetUnitFrameinpcall, cause the lib behind it can trigger secret value access errors right nowType of change
Please delete options that are not relevant.
How Has This Been Tested
Checklist