ProjectAzilroka

ProjectAzilroka

512k Downloads

Errors 10.0.0.46313

Kirri777 opened this issue ยท 4 comments

commented
Message: ...oka/Libs/LibActionButton-1.0/LibActionButton-1.0.lua:1387: hooksecurefunc(): ActionButton_UpdateFlyout is not a function
Time: Wed Oct 26 13:32:13 2022
Count: 1
Stack: ...oka/Libs/LibActionButton-1.0/LibActionButton-1.0.lua:1387: hooksecurefunc(): ActionButton_UpdateFlyout is not a function
[string "=[C]"]: in function `hooksecurefunc'
[string "@Interface/AddOns/ProjectAzilroka/Libs/LibActionButton-1.0/LibActionButton-1.0.lua"]:1387: in main chunk

Locals: 
Message: ...dOns/ProjectAzilroka/Modules/EnhancedFriendsList.lua:38: attempt to call local 'BNet_GetClientTexture' (a nil value)
Time: Wed Oct 26 13:32:13 2022
Count: 1
Stack: ...dOns/ProjectAzilroka/Modules/EnhancedFriendsList.lua:38: attempt to call local 'BNet_GetClientTexture' (a nil value)
[string "@Interface/AddOns/ProjectAzilroka/Modules/EnhancedFriendsList.lua"]:38: in main chunk

Locals: PA = <table> {
 AC = <table> {
 }
 GetTimeInfo = <function> defined @Interface/AddOns/ProjectAzilroka/Cooldowns.lua:63
 GetUIScale = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:158
 GrowthDirection = <table> {
 }
 modules = <table> {
 }
 CancelTimer = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceTimer-3.0/AceTimer-3.0.lua:147
 Cooldown_TextThreshold = <function> defined @Interface/AddOns/ProjectAzilroka/Cooldowns.lua:97
 TBC = false
 CallModuleFunction = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:472
 CopyTable = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:294
 LCG = <table> {
 }
 Classes = <table> {
 }
 IsEnabled = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:447
 SetTemplate = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:247
 Cooldown_Options = <function> defined @Interface/AddOns/ProjectAzilroka/Cooldowns.lua:202
 PLAYER_LOGIN = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:479
 UnregisterMessage = <function> defined @Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
 NUI = false
 ShortValue = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:183
 UIScale = 0.640000
 SetEnabledState = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:420
 Options = <table> {
 }
 OnSetCooldown = <function> defined @Interface/AddOns/ProjectAzilroka/Cooldowns.lua:282
 GUI = <table> {
 }
 Version = "1.83"
 Noop = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:58
 ACH = <table> {
 }
 UnregisterAllEvents = <function> defined @Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
 Locale = "enUS"
 Cooldown_BelowScale = <function> defined @Interface/AddOns/ProjectAzilroka/Cooldowns.lua:103
 TimeIndicatorColors = <table> {
 }
 ScanTooltip = PAScanTooltip {
 }
 IsAddOnPartiallyEnabled = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:95
 GetOptions = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:446
 name = "ProjectAzilroka"
 Disable = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:310
 LSM = <table> {
 }
 Defaults = <table> {
 }
 ToggleBlizzardCooldownText = <function> defined @Interface/AddOns/ProjectAzilroka/Cooldowns.lua:310
 AllPoints = <table> {
 }
 Print = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:179
 RegisterCooldown = <function> defined @Interface/AddOns/ProjectAzilroka/Cooldowns.lua:295
 TimeFormats = <table> {
 }
 RGBToHex = <function> defined @Interface/AddOns/ProjectAzilroka/Init.lua:193
 Cooldown_StopTimer = <function> defined @Interface/AddOns/ProjectAzilroka/Cooldowns.lua:197
 Solid = "Interface\Buttons\WHITE8X8"
 UnregisterEvent = <function> defined @Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
 SetDefaultModuleLibraries = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:363
 Tukui = false
 SLE = false
 AddOnSkins = true
 Cooldown_ForceUpdate = <function> defined @Interface/AddOns/ProjectAzilroka/Cooldowns.lua:192
 EnableModule = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:328
 IterateEmbeds = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:438
 PetBattleFrameHider = PA_PetBattleFrameHider {
 }
 MyRealm = "Burning Legion"
 RegisteredCooldowns = <table> {
 }
 Printf = <function> defined @Interface/Add
Message: Interface/AddOns/ProjectAzilroka/Libs/LibActionButton-1.0/LibActionButton-1.0.lua:1 (null)
Time: Wed Oct 26 13:32:29 2022
Count: 1
Message: Interface/AddOns/ProjectAzilroka/Modules/EnhancedFriendsList.lua:1 (null)
Time: Wed Oct 26 13:32:29 2022
Count: 1
Message: Interface\FrameXML\Bindings.xml:1 Interface/AddOns/ProjectAzilroka/Modules/EnhancedFriendsList.lua:1 (null)
Time: Wed Oct 26 13:32:29 2022
Count: 1
commented

I started looking at this this morning, at least the EnhancedFriendsList issue. The LibActionButton also affects ElvUI and will need to be updated there. Theres two issues with the friends list, first, BNet_GetClientTexture no longer exists, they use BNet_GetClientAtlas. Beyond that, I ran the script supplied in the file to look at all BNET_CLIENT_ variables defined and it seems that only WoW, Heroes, the App, and "OSI" are being defined now causing an error even after changing to the correct function call. My current investigation is therefore halted pending fixes by other addons to figure out why those variables are not being defined, because I cant imagine Blizzard intentionally disabled showing people playing any Diablo on the friends list.

commented

image

For posterity, and in case @Azilroka gets a chance to investigate this further, this is the error that occurs when changing texture -> atlas, because BNET_CLIENT_D3 is not defined.

commented

I got next error:

Message: ...Ons/ProjectAzilroka/Modules/SquareMinimapButtons.lua:248: attempt to index field 'GarrisonLandingPageMinimapButton' (a nil value)
Time: Sun Oct 30 16:45:13 2022
Count: 1
Stack: ...Ons/ProjectAzilroka/Modules/SquareMinimapButtons.lua:248: attempt to index field 'GarrisonLandingPageMinimapButton' (a nil value)
[string "@Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua"]:761: in function <...Ons/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:717>
[string "=[C]"]: ?
[string "@Interface/AddOns/ProjectAzilroka/Modules/SquareMinimapButtons.lua"]:248: in function `?'
[string "@Interface/AddOns/ElvUI/Libraries/Core/Ace/AceTimer-3.0/AceTimer-3.0.lua"]:55: in function <...vUI/Libraries/Core/Ace/AceTimer-3.0/AceTimer-3.0.lua:50>

Locals: errMsg = "...Ons/ProjectAzilroka/Modules/SquareMinimapButtons.lua:248: attempt to index field 'GarrisonLandingPageMinimapButton' (a nil value)"
isBugGrabber = nil
tsmErrMsg = nil
oldModule = nil
private = <table> {
 globalNameTranslation = <table> {
 }
 FormatErrorMessageSection = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:517
 ErrorHandler = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:134
 origErrorHandler = <function> defined @Interface/SharedXML/SharedBasicControls.lua:360
 hitInternalError = false
 CreateErrorFrame = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:536
 num = 0
 SanitizeString = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:510
 AddonBlockedHandler = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:502
 GetStackLevelInfo = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:344
 ParseLocals = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:396
 ignoreErrors = false
 errorReports = <table> {
 }
 IsTSMAddon = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:478
 localLinesTemp = <table> {
 }
 GetStackInfo = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:313
}
MAX_STACK_DEPTH = 50
OLD_TSM_MODULES = <table> {
 1 = "TradeSkillMaster_Accounting"
 2 = "TradeSkillMaster_AuctionDB"
 3 = "TradeSkillMaster_Auctioning"
 4 = "TradeSkillMaster_Crafting"
 5 = "TradeSkillMaster_Destroying"
 6 = "TradeSkillMaster_Mailing"
 7 = "TradeSkillMaster_Shopping"
 8 = "TradeSkillMaster_Vendoring"
 9 = "TradeSkillMaster_Warehousing"
}

To fix it you must change all GarrisonLandingPageMinimapButton to ExpansionLandingPageMinimapButton and comment these lines:

-- _G.ExpansionLandingPageMinimapButton_OnLoad(_G.ExpansionLandingPageMinimapButton)
-- _G.ExpansionLandingPageMinimapButton_UpdateIcon(_G.ExpansionLandingPageMinimapButton)
commented

Yes if I want to not support future expansions. I haven't changed the toc to 10.0.0