ChampionCommander

ChampionCommander

2M Downloads

Bug with latest beta 2

Addonman opened this issue ยท 3 comments

commented

Error occured in: Global
Count: 2
Message: ..\AddOns\ChampionCommander\missionlist.lua line 317:
attempt to index field 'allArtifactPower' (a nil value)
Debug:
[C]: ?
ChampionCommander\missionlist.lua:317:
ChampionCommander\missionlist.lua:314
(tail call): ?
[C]: ?
Error occured in: Global
Count: 31
Message: ..\AddOns\ChampionCommander\cache.lua line 402:
attempt to index field 'allArtifactPower' (a nil value)
Debug:
[C]: ?
ChampionCommander\cache.lua:402:
ChampionCommander\cache.lua:378
ChampionCommander\cache.lua:434: Reward2Class()
ChampionCommander\cache.lua:483:
ChampionCommander\cache.lua:479
ChampionCommander\matchmaker.lua:581: Match()
ChampionCommander\matchmaker.lua:694: ?()
ChampionCommander\missionlist.lua:543:
ChampionCommander\missionlist.lua:527
(tail call): ?
ChampionCommander\missionlist.lua:572: ReloadMissions()
ChampionCommander\missionlist.lua:756:
ChampionCommander\missionlist.lua:736
(tail call): ?
[C]: ?
[C]: Show()
..\FrameXML\UIParent.lua:2614: SetUIPanel()
..\FrameXML\UIParent.lua:2420: ShowUIPanel()
..\FrameXML\UIParent.lua:2320:
..\FrameXML\UIParent.lua:2316
[C]: SetAttribute()
..\FrameXML\UIParent.lua:3141:
..\FrameXML\UIParent.lua:3129
[C]: ShowUIPanel()
..\FrameXML\UIParent.lua:1724:
..\FrameXML\UIParent.lua:1090
[C]: ?

It totally froze my pc for like a min

commented

@alar77 even with Beta3 tested on 2 account and different toon, the problem is still here on my side.

41x ChampionCommander\cache.lua:402: attempt to index field 'allArtifactPower' (a nil value)
ChampionCommander\cache.lua:402: in function <ChampionCommander\cache.lua:378>
ChampionCommander\cache.lua:434: in function Reward2Class' ChampionCommander\cache.lua:483: in function <ChampionCommander\cache.lua:479> ChampionCommander\matchmaker.lua:581: in function Match'
ChampionCommander\matchmaker.lua:694: in function ?' ChampionCommander\missionlist.lua:540: in function <ChampionCommander\missionlist.lua:524> (tail call): ? ChampionCommander\missionlist.lua:569: in function ReloadMissions'
ChampionCommander\missionlist.lua:753: in function <ChampionCommander\missionlist.lua:733>
(tail call): ?
[C]: ?
[C]: in function Show' FrameXML\UIParent.lua:2614: in function SetUIPanel'
FrameXML\UIParent.lua:2420: in function ShowUIPanel' FrameXML\UIParent.lua:2320: in function <FrameXML\UIParent.lua:2316> [C]: in function SetAttribute'
FrameXML\UIParent.lua:3141: in function `ShowUIPanel'
FrameXML\UIParent.lua:1724: in function <FrameXML\UIParent.lua:1090>

Locals:
self =

{
MAXLEVEL = defined @ChampionCommander\ChampionCommander.lua:131
modules =
{
}
CancelTimer = defined @ElvUI\Libraries\AceTimer-3.0\AceTimer-3.0.lua:147
IsBlacklisted = defined @ChampionCommander\core.lua:165
GetAverageLevels = defined @ChampionCommander\cache.lua:945
allEquipments =
{
}
RebuildMissionCache = defined @ChampionCommander\cache.lua:932
GetDataModule = defined @ChampionCommander\data.lua:14
ActivateButton = defined @ChampionCommander\core.lua:199
GetDifficultyColors = defined @ChampionCommander\core.lua:226
GetMissionlistModule = defined @ChampionCommander\missionlist.lua:16
SetDefaultModulePrototype = defined @ElvUI\Libraries\AceAddon-3.0\AceAddon-3.0.lua:440
MAXQUALITY = defined @ChampionCommander\ChampionCommander.lua:134
GetResources = defined @ChampionCommander\cache.lua:745
GetCacheModule = defined @ChampionCommander\cache.lua:16
IsEnabled = defined @ElvUI\Libraries\AceAddon-3.0\AceAddon-3.0.lua:482
GetCompletedMissionData = defined @ChampionCommander\autocomplete.lua:569
MarkAsSeen = defined @ChampionCommander\core.lua:289
ReloadMissions = defined @ChampionCommander\missionlist.lua:562
RegisterMessage = defined @ElvUI\Libraries\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
UnregisterMessage = defined @ElvUI\Libraries\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
Pulse = defined @ChampionCommander\missionlist.lua:638
hooks =
{
}
db =
{
}
PauseApply = defined @ChampionCommander\missionlist.lua:491
Apply = defined @ChampionCommander\missionlist.lua:494
SetEnabledState = defined @ElvUI\Libraries\AceAddon-3.0\AceAddon-3.0.lua:455
Hook = defined @ElvUI\Libraries\AceHook-3.0\AceHook-3.0.lua:274
EmptyPermutations = defined @ChampionCommander\cache.lua:850
PushRefresher = defined @ChampionCommander\missionlist.lua:553
Reserve = defined @ChampionCommander\ChampionCommander.lua:207
Reward2Class = defined @ChampionCommander\cache.lua:431
ColorFromBias = defined @ChampionCommander\ChampionCommander.lua:143
NeedsTutorial = defined @ChampionCommander\tutorials.lua:411
ShowPermutations = defined @ChampionCommander\missionpage.lua:289
OnInitialized = defined @ChampionCommander\core.lua:142
GetMissionpageModule = defined @ChampionCommander\missionpage.lua:16
NewModule = defined @ElvUI\Libraries\AceAddon-3.0\AceAddon-3.0.lua:266
GetMembersFrame = defined @ChampionCommander\missionlist.lua:816
SortTroop = defined @ChampionCommander\cache.lua:815
CleanPermutations = defined @ChampionCommander\missionlist.lua:389
revision = "ad50597"
Unban = defined @ChampionCommander\ChampionCommander.lua:222
GetSelectedParty = defined @ChampionCommander\matchmaker.lua:652
GetName = defined @ElvUI\Libraries\AceAddon-3.0\AceAddon-3.0.lua:310
DumpPermutations = defined @ChampionCommander\cache.lua:924
name = "ChampionCommander"
RefillParties = defined @ChampionCommander\matchmaker.lua:

commented

Ok i tried something, removing the reference on the if iteration in cache.lua regarding artifactpower solve the issue and the latest beta doesn't give anymore problem with it.

cache lua

commented

ArtifactPower is no longer a thing, removed