Krowi's Achievement Filter

Krowi's Achievement Filter

738k Downloads

Krowi_AchievementFilter/Globals.lua:211: attempt to index local 'achievement' (a nil value)

tatatada opened this issue ยท 3 comments

commented

2x Krowi_AchievementFilter/Globals.lua:211: attempt to index local 'achievement' (a nil value)
[string "@Krowi_AchievementFilter/Globals.lua"]:211: in function func' [string "@Krowi_AchievementFilter/Data/Data.lua"]:64: in function <Krowi_AchievementFilter/Data/Data.lua:58> [string "@Krowi_AchievementFilter/Data/Data.lua"]:81: in function LoadExcludedAchievements'
[string "@Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:80: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:73>
[string "@Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:117: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:112>
[string "=[C]"]: in function LoadAddOn' [string "@Krowi_AchievementFilter/GUI/Misc/WorldMapButton/WorldMapButtonMixin.lua"]:62: in function Refresh'
[string "@HandyNotes_BattleForAzerothTreasures/handler/lib/Krowi_WorldMapButtons-1.4.lua"]:93: in function <...hTreasures/handler/lib/Krowi_WorldMapButtons-1.4.lua:92>
[string "=[C]"]: ?
[string "=[C]"]: in function RefreshOverlayFrames' [string "@Blizzard_WorldMap/Blizzard_WorldMap.lua"]:233: in function OnMapChanged'
[string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:60: in function SetMapID' ... [string "=[C]"]: in function Show'
[string "@FrameXML/UIParent.lua"]:3189: in function <FrameXML/UIParent.lua:3175>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function ShowUIPanel' [string "@FrameXML/QuestLogOwnerMixin.lua"]:103: in function SetDisplayState'
[string "@FrameXML/QuestLogOwnerMixin.lua"]:41: in function HandleUserActionToggleSelf' [string "@Blizzard_WorldMap/Blizzard_WorldMap.lua"]:440: in function <...rfaceBlizzard_WorldMap/Blizzard_WorldMap.lua:439> [string "=[C]"]: in function ToggleWorldMap'
[string "TOGGLEWORLDMAP"]:1: in function <[string "TOGGLEWORLDMAP"]:1>

Locals:
achievement = nil
update = false
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'achievement' (a nil value)"
addon =

{
ReplaceVarsWithReloadReq = defined @Krowi_AchievementFilter/Globals.lua:537
WorldMapButtons =
{
}
GUI =
{
}
SearchOptions =
{
}
ExcludeAchievement = defined @Krowi_AchievementFilter/Globals.lua:210
Data =
{
}
Filters =
{
}
Diagnostics =
{
}
IsShadowlandsRetail = false
IsCustomModifierKeyDown = defined @Krowi_AchievementFilter/Globals.lua:667
DelayObjects =
{
}
Objects =
{
}
DelayFunction = defined @Krowi_AchievementFilter/Globals.lua:640
ClearWatchAchievement = defined @Krowi_AchievementFilter/Globals.lua:136
OnAchievementEarned = defined @Krowi_AchievementFilter/Globals.lua:361
Options =
{
}
TooltipData =
{
}
EventData =
{
}
GlobalStrings =
{
}
ChangeAchievementMicroButtonOnClick = defined @Krowi_AchievementFilter/Globals.lua:621
GetUsableSets = defined @Krowi_AchievementFilter/Globals.lua:591
Modifiers =
{
}
MakeWindowMovable = defined @Krowi_AchievementFilter/Globals.lua:517
GetNextAchievement = defined @Krowi_AchievementFilter/Globals.lua:561
ExtraWrathStrings =
{
}
Colors =
{
}
GetInstanceInfoName = defined @Krowi_AchievementFilter/Localization/GlobalStrings.lua:10
GetMapName = defined @Krowi_AchievementFilter/Localization/GlobalStrings.lua:38
GetAchievementInfo = defined @Krowi_AchievementFilter/Globals.lua:550
Util =
{
}
MetaData =
{
}
GetFirstAchievementId = defined @Krowi_AchievementFilter/Globals.lua:3
GetSecondsSince = defined @Krowi_AchievementFilter/Globals.lua:527
WatchAchievement = defined @Krowi_AchievementFilter/Globals.lua:160
InGuildView = defined @Krowi_AchievementFilter/Globals.lua:12
TrackingAchievements =
{
}
GetAchievementsInZone = defined @Krowi_AchievementFilter/Globals.lua:20
MakeWindowStatic = defined @Krowi_AchievementFilter/Globals.lua:477
GetVariantSetIDs = defined @Krowi_AchievementFilter/Globals.lua:603
GetLFGDungeonInfo = defined @Krowi_AchievementFilter/Localization/GlobalStrings.lua:34
ResetCache = defined @Krowi_AchievementFilter/Globals.lua:357
BuildCache = defined @Krowi_AchievementFilter/Globals.lua:325
OverwriteFunctions = defined @Krowi_AchievementFilter/Globals.lua:377
Plugins =
{
}
L =
{
}
Icon =
{
}
Credits =
{
}
GetActiveCovenant = defined @Krowi_AchievementFilter/Globals.lua:16
HookAchievementFrameOnShow = defined @Krowi_AchievementFilter/Globals.lua:449
GetAchievementNumbers = defined @Krowi_AchievementFilter/Globals.lua:51
GetCategoryInfoTitle = defined @Krowi_AchievementFilter/Localization/GlobalStrings.lua:22
IncludeAchievement = defined @Krowi_AchievementFilter/Globals.lua:187
AddToTrackingAchievementsCategories = defined @Krowi_AchievementFilter/Globals.lua:174
Event =
{
}
TabsOrder =
{
}
IsDragonflightRetail = true
Tutorials =
{
}
GetCovenantName = defined @Krowi_Achieveme

commented

Hey, I noticed from the error log it's something related to loading excluded achievements when the world map is opened. Could you give me some steps on how to reproduce it and also when it not happens?

Like, does it happen if you load ingame and open the world map first but not if you open the achievement window and then the world map?
Have you tested it with only KAF enabled?
Things like that.

commented

11x Krowi_AchievementFilter/Globals.lua:211: attempt to index local 'achievement' (a nil value)
[string "@Krowi_AchievementFilter/Globals.lua"]:211: in function func' [string "@Krowi_AchievementFilter/Data/Data.lua"]:64: in function <Krowi_AchievementFilter/Data/Data.lua:58> [string "@Krowi_AchievementFilter/Data/Data.lua"]:81: in function LoadExcludedAchievements'
[string "@Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:80: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:73>
[string "@Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:117: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:112>
[string "=[C]"]: in function LoadAddOn' [string "@Krowi_AchievementFilter/GUI/Misc/WorldMapButton/WorldMapButtonMixin.lua"]:62: in function Refresh'
[string "@HandyNotes_BattleForAzerothTreasures/handler/lib/Krowi_WorldMapButtons-1.4.lua"]:93: in function <...hTreasures/handler/lib/Krowi_WorldMapButtons-1.4.lua:92>
[string "=[C]"]: ?
[string "=[C]"]: in function RefreshOverlayFrames' [string "@Blizzard_WorldMap/Blizzard_WorldMap.lua"]:233: in function OnMapChanged'
[string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:60: in function SetMapID' ... [string "=[C]"]: in function Show'
[string "@FrameXML/UIParent.lua"]:3189: in function <FrameXML/UIParent.lua:3175>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function ShowUIPanel' [string "@FrameXML/QuestLogOwnerMixin.lua"]:103: in function SetDisplayState'
[string "@FrameXML/QuestLogOwnerMixin.lua"]:41: in function HandleUserActionToggleSelf' [string "@Blizzard_WorldMap/Blizzard_WorldMap.lua"]:440: in function <...rfaceBlizzard_WorldMap/Blizzard_WorldMap.lua:439> [string "=[C]"]: in function ToggleWorldMap'
[string "TOGGLEWORLDMAP"]:1: in function <[string "TOGGLEWORLDMAP"]:1>

Locals:
achievement = nil
update = false
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'achievement' (a nil value)"
addon =

{
ReplaceVarsWithReloadReq = defined @Krowi_AchievementFilter/Globals.lua:537
WorldMapButtons =
{
}
GUI =
{
}
SearchOptions =
{
}
ExcludeAchievement = defined @Krowi_AchievementFilter/Globals.lua:210
Data =
{
}
Filters =
{
}
Diagnostics =
{
}
IsShadowlandsRetail = false
IsCustomModifierKeyDown = defined @Krowi_AchievementFilter/Globals.lua:667
DelayObjects =
{
}
Objects =
{
}
DelayFunction = defined @Krowi_AchievementFilter/Globals.lua:640
ClearWatchAchievement = defined @Krowi_AchievementFilter/Globals.lua:136
OnAchievementEarned = defined @Krowi_AchievementFilter/Globals.lua:361
Options =
{
}
TooltipData =
{
}
EventData =
{
}
GlobalStrings =
{
}
ChangeAchievementMicroButtonOnClick = defined @Krowi_AchievementFilter/Globals.lua:621
GetUsableSets = defined @Krowi_AchievementFilter/Globals.lua:591
Modifiers =
{
}
MakeWindowMovable = defined @Krowi_AchievementFilter/Globals.lua:517
GetNextAchievement = defined @Krowi_AchievementFilter/Globals.lua:561
ExtraWrathStrings =
{
}
Colors =
{
}
GetInstanceInfoName = defined @Krowi_AchievementFilter/Localization/GlobalStrings.lua:10
GetMapName = defined @Krowi_AchievementFilter/Localization/GlobalStrings.lua:38
GetAchievementInfo = defined @Krowi_AchievementFilter/Globals.lua:550
Util =
{
}
MetaData =
{
}
GetFirstAchievementId = defined @Krowi_AchievementFilter/Globals.lua:3
GetSecondsSince = defined @Krowi_AchievementFilter/Globals.lua:527
WatchAchievement = defined @Krowi_AchievementFilter/Globals.lua:160
InGuildView = defined @Krowi_AchievementFilter/Globals.lua:12
TrackingAchievements =
{
}
GetAchievementsInZone = defined @Krowi_AchievementFilter/Globals.lua:20
MakeWindowStatic = defined @Krowi_AchievementFilter/Globals.lua:477
GetVariantSetIDs = defined @Krowi_AchievementFilter/Globals.lua:603
GetLFGDungeonInfo = defined @Krowi_AchievementFilter/Localization/GlobalStrings.lua:34
ResetCache = defined @Krowi_AchievementFilter/Globals.lua:357
BuildCache = defined @Krowi_AchievementFilter/Globals.lua:325
OverwriteFunctions = defined @Krowi_AchievementFilter/Globals.lua:377
Plugins =
{
}
L =
{
}
Icon =
{
}
Credits =
{
}
GetActiveCovenant = defined @Krowi_AchievementFilter/Globals.lua:16
HookAchievementFrameOnShow = defined @Krowi_AchievementFilter/Globals.lua:449
GetAchievementNumbers = defined @Krowi_AchievementFilter/Globals.lua:51
GetCategoryInfoTitle = defined @Krowi_AchievementFilter/Localization/GlobalStrings.lua:22
IncludeAchievement = defined @Krowi_AchievementFilter/Globals.lua:187
AddToTrackingAchievementsCategories = defined @Krowi_AchievementFilter/Globals.lua:174
Event =
{
}
TabsOrder =
{
}
IsDragonflightRetail = true
Tutorials =
{
}
GetCovenantName = defined @Krowi_Achieveme

commented

Fixed in 39545a0