1x armory_link_menu\armory_link_menu-1.2.4.lua:69: attempt to index global 'UnitPopupButtons' (a nil value) [string "@armory_link_menu\armory_link_menu-1.2.4.lua"]:69: in main chunk
Locals: L = <table> { Okay = "Okay" Armory Link = "Armory Link" } (*temporary) = nil (*temporary) = <table> { dist = 0 text = "Armory Link" }
(*temporary) = "Okay" (*temporary) = "Okay" (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index global 'UnitPopupButtons' (a nil value)"
Currently doesn't work on EU as the API returns enUS even if the client is actually enGB. I fixed this by checking if GetCurrentRegion() == 3, but you should probably update this.
Yes, this is an oversight on my part - I lumped engb in with enus since we both speak English...forgot about the website :). Will be fixed in new version.
This is a great add-on and I use it all the time. Thank you very much for taking the time and effort to create it and thanks for making it available.
The one other situation where I cannot get an Armory link that really matters to me is for friends on my friends list. This would be a great rounding out of the capabilities. I know, some will say "they're your friends, you should know their xp/cr", but it is great to be able to get info on those that you don't know very well.
In the latest version (1.2) you should now be able to get an armory link for players on your friends list if they are playing WoW (and logged in to a character).
Starting with 9.2.5, I now get this error:
1x armory_link_menu\armory_link_menu-1.2.4.lua:69: attempt to index global 'UnitPopupButtons' (a nil value)
[string "@armory_link_menu\armory_link_menu-1.2.4.lua"]:69: in main chunk
Locals:
L = <table> {
Okay = "Okay"
Armory Link = "Armory Link"
}
(*temporary) = nil
(*temporary) = <table> {
dist = 0
text = "Armory Link"
}
(*temporary) = "Okay"
(*temporary) = "Okay"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'UnitPopupButtons' (a nil value)"
Currently doesn't work on EU as the API returns enUS even if the client is actually enGB. I fixed this by checking if GetCurrentRegion() == 3, but you should probably update this.
In reply to Turtvaiz:
Hmm, where do you put that, im only getting enUS :(
Any chance you can post a fix for this?
I sorta "fixed" it mys elf, i know im never playing US, so i just went in and changed the line " ["enUS"] = "https://worldofwarcraft.com/en-us/character/"," to " ["enUS"] = "https://worldofwarcraft.com/en-uk/character/",", but its not really a fix just a workaround for me only :D
Would you fix it for prepatch n BfA?
In reply to Diablolock7:
In reply to jimmyjoeisdabomb:
Hi, it is possible to have the armory link in premade group too? Like Quickarmorylink.
This should be possible, I'll look into it for next version.
Is there a way to make this work for en-gb by default, instead of giving out en-us links?
Yes, this is an oversight on my part - I lumped engb in with enus since we both speak English...forgot about the website :). Will be fixed in new version.
Hi,
This is a great add-on and I use it all the time. Thank you very much for taking the time and effort to create it and thanks for making it available.
The one other situation where I cannot get an Armory link that really matters to me is for friends on my friends list. This would be a great rounding out of the capabilities. I know, some will say "they're your friends, you should know their xp/cr", but it is great to be able to get info on those that you don't know very well.
Thanks for the comment. I will look into this and try to add it soon.
In the latest version (1.2) you should now be able to get an armory link for players on your friends list if they are playing WoW (and logged in to a character).
It doesn't work for players that aren't in range.