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

Lua Errors for function renamed in 11.0 #3

Open
chasaya opened this issue Oct 10, 2024 · 1 comment
Open

Lua Errors for function renamed in 11.0 #3

chasaya opened this issue Oct 10, 2024 · 1 comment

Comments

@chasaya
Copy link

chasaya commented Oct 10, 2024

First of all thanks for the nice addon! 😃
Since 11.0 dropped i get the following error:

Lua Error

1x RemainingXP/Main.lua:12: attempt to call global 'GetAddOnInfo' (a nil value)
[string "@RemainingXP/Main.lua"]:12: in main chunk

Locals:
addonNameSpace = "RemainingXP"
ns = <table> {
 fonts = <table> {
 }
 WidgetToolbox = <table> {
 }
 textures = <table> {
 }
 colors = <table> {
 }
 strings = <table> {
 }
 chat = <table> {
 }
}
wt = <table> {
 preDF = false
 classic = false
}
(*temporary) = 2
(*temporary) = nil
(*temporary) = "RemainingXP"
(*temporary) = "attempt to call global 'GetAddOnInfo' (a nil value)"

Afaik Blizz has once again renamed a bunch of functions, and GetAddOnInfo is now C_AddOns.GetAddOnInfo.

I also have several similar errors for WidgetTools (GetAddOnInfo and IsAddOnLoaded mainly), but i saw that you are already working on that, so i'll wait for the update. Just wanted to report it for RemainingXP, just in case! 👍

@Arxareon
Copy link
Owner

Thanks for the report!

Yes, I'm already working on it with Widget Tools and Movement Speed. The latter is my first priority as a lot more people use it but once it's live, I'll update Remaining XP to use the latest version of Widget Tools and thus be compatible with TWW.

Unfortunately, I have been very very busy in the past couple months so thanks for your patience & support!

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

2 participants