derfloh205 / LoadoutReminder

2 stars 1 forks source link

Selected Talent Set is not saved (for Instance Types) #20

Open sla-te opened 1 month ago

sla-te commented 1 month ago

@derfloh205 @MedianAura It will always reset back to "-" . (Using ACP) Seems to work for Raids though.

Got this out of BugSack:

1x LoadoutReminder/DB/talentDB.lua:38: table index is nil
[string "@LoadoutReminder/DB/talentDB.lua"]:38: in function `SaveInstanceSet'
[string "@LoadoutReminder/Modules/Options/Options.lua"]:157: in function `SaveSelection'
[string "@LoadoutReminder/Modules/Options/Frames.lua"]:148: in function `selectionCallback'
[string "@LoadoutReminder/Libs/GGUI/GGUI.lua"]:3115: in function `Select'
[string "@LoadoutReminder/Libs/GGUI/GGUI.lua"]:3259: in function `SelectRow'
[string "@LoadoutReminder/Libs/GGUI/GGUI.lua"]:3269: in function `SelectRowWhere'
[string "@LoadoutReminder/Modules/Options/Frames.lua"]:351: in function `UpdateSetListDisplay'
[string "@LoadoutReminder/Modules/Options/Frames.lua"]:123: in function `selectionCallback'
[string "@LoadoutReminder/Libs/GGUI/GGUI.lua"]:3115: in function `Select'
[string "@LoadoutReminder/Libs/GGUI/GGUI.lua"]:3148: in function <LoadoutReminder/Libs/GGUI/GGUI.lua:3143>

Locals:
self = <table> {
}
instanceType = "DUNGEON"
difficulty = "DEFAULT"
specID = nil
talentSetID = 104
(*temporary) = <table> {
 -2 = 104
 34043153 = 104
 C_4 = 104
 C_5 = 104
}
(*temporary) = <table> {
 -2 = 104
 34043153 = 104
 C_4 = 104
 C_5 = 104
}
(*temporary) = "table index is nil"
belatar commented 1 week ago

+1 for the error message above. additionally i get this one:

120x LoadoutReminder/DB/talentDB.lua:47: table index is nil [string "@LoadoutReminder/DB/talentDB.lua"]:47: in function GetInstanceSet' [string "@LoadoutReminder/Modules/Talents/Talents.lua"]:224: in functionCheckInstanceTalentSet' [string "@LoadoutReminder/Modules/Check/Check.lua"]:103: in function CheckInstanceTypes' [string "@LoadoutReminder/Modules/Check/Check.lua"]:41: in functionCheckSituations' [string "@LoadoutReminder/Modules/Check/Check.lua"]:244: in function ?' [string "@LoadoutReminder/Libs/GUTIL/GUTIL.lua"]:232: in function <LoadoutReminder/Libs/GUTIL/GUTIL.lua:232> [string "=[C]"]: in functionTargetNearestEnemy'

Locals: self =

{ } instanceType = nil difficulty = "DEFAULT" specID = 70 (temporary) =
{ OPENWORLD =
{ } RAID =
{ } DUNGEON =
{ } } (temporary) =
{ } (*temporary) = "table index is nil"