10.0 Errors when readjusting stats
Nillx opened this issue ยท 0 comments
Getting this errors when im trying to move stats up and down (dragging them)
28x Interface/AddOns/DejaCharacterStats/DCSLayouts.lua:661: attempt to index local 'stat' (a nil value)
[string "@Interface/AddOns/DejaCharacterStats/DCSLayouts.lua"]:661: in function <Interface/AddOns/DejaCharacterStats/DCSLayouts.lua:654>
Locals:
self = ScrollFrame {
ScrollBar = CharacterFrameInsetRightScrollBar {
}
timer = 0.200000
offset = 0
0 = <userdata>
}
elasped = 0.008000
stat = nil
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
5 = <table> {
}
6 = <table> {
}
7 = <table> {
}
8 = <table> {
}
9 = <table> {
}
10 = <table> {
}
11 = <table> {
}
12 = <table> {
}
13 = <table> {
}
14 = <table> {
}
15 = <table> {
}
16 = <table> {
}
17 = <table> {
}
18 = <table> {
}
19 = <table> {
}
20 = <table> {
}
21 = <table> {
}
22 = <table> {
}
23 = <table> {
}
24 = <table> {
}
25 = <table> {
}
26 = <table> {
}
27 = <table> {
}
28 = <table> {
}
29 = <table> {
}
30 = <table> {
}
31 = <table> {
}
32 = <table> {
}
33 = <table> {
}
34 = <table> {
}
35 = <table> {
}
36 = <table> {
}
37 = <table> {
}
38 = <table> {
}
39 = <table> {
}
40 = <table> {
}
41 = <table> {
}
42 = <table> {
}
43 = <table> {
}
44 = <table> {
}
45 = <table> {
}
46 = <table> {
}
47 = <table> {
}
48 = <table> {
}
49 = <table> {
}
50 = <table> {
}
51 = <table> {
}
52 = <table> {
}
53 = <table> {
}
54 = <table> {
}
55 = <table> {
}
56 = <table> {
}
57 = <table> {
}
58 = <table> {
}
59 = <table> {
}
60 = <table> {
}
61 = <table> {
}
uniqueKey = "Saehx:Argent Dawn:2"
}
(for control) = 2
i = 2
v = <table> {
statKey = "CR_CORRUPTION"
hideAt = 0
hidden = true
}
(*temporary) = <table> {
REPAIR_COST = <table> {
}
STAGGER = <table> {
}
DCS_POWER = <table> {
}
UserCat4 = <table> {
}
AttributesCategory = <table> {
}
PARRY_RATING = <table> {
}
EnhancementsCategory = <table> {
}
UserCat5 = <table> {
}
ATTACK_AP = <table> {
}
UserCat3 = <table> {
}
RatingCategory = <table> {
}
UserCat2 = <table> {
}
LIFESTEAL = <table> {
}
STAMINA = <table> {
}
HASTE_RATING = <table> {
}
STRENGTH = <table> {
}
UserCat1 = <table> {
}
GeneralCategory = <table> {
}
VERSATILITY_RATING = <table> {
}
ARMOR = <table> {
}
HONOR_PROGRESS = <table> {
}
AVOIDANCE = <table> {
}
ENERGY_REGEN = <table> {
}
ITEMLEVEL = <table> {
}
FOCUS_REGEN = <table> {
}
DODGE = <table> {
}
SPEED = <table> {
}
MASTERY_RATING = <table> {
}
CRITCHANCE = <table> {
}
SPELLPOWER = <table> {
}
DODGE_RATING = <table> {
}
HONOR_LEVEL = <table> {
}
OffenseCategory = <table> {
}
LIFESTEAL_RATING = <table> {
}
MOVESPEED = <table> {
}
DURABILITY_STAT = <table> {
}
VERSATILITY = <table> {
}
CRITCHANCE_RATING = <table> {
}
WEAPON_DPS = <table> {
}
DCS_ATTACK_ATTACKSPEED = <table> {
}
GCD = <table> {
}
DCS_ALTERNATEMANA = <table> {
}
HEALTH = <table> {
}
DCS_RUNEREGEN = <table> {
}
HonorCategory = <table> {
}
INTELLECT = <table> {
}
ItemLevelFrame = <table> {
}
AGILITY = <table> {
}
ATTACK_DAMAGE = <table> {
}
AVOIDANCE_RATING = <table> {
}
PARRY = <table> {
}
MASTERY = <table> {
}
HASTE = <table> {
}
BLOCK = <table> {
}
DefenseCategory = <table> {
}
MANAREGEN = <table> {
}
SPEED_RATING = <table> {
}
}
(*temporary) = "CR_CORRUPTION"
(*temporary) = "attempt to index local 'stat' (a nil value)"
DragSourceFrame = Frame {
0 = <userdata>
speed = 110.466875
UpdateTooltip = <function> defined @Interface/FrameXML/PaperDollFrame.lua:1289
Label = FontString {
}
statKey = "MOVESPEED"
swimSpeed = 67.460285
flightSpeed = 100
unit = "player"
runSpeed = 110.466875
anchorBar = Texture {
}
checkButton = CheckButton {
}
onEnterFunc = <function> defined @Interface/FrameXML/PaperDollFrame.lua:1289
Value = FontString {
}
Background = Texture {
}
numericValue = 110.466875
wasSwimming = false
}
ShownData = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
5 = <table> {
}
6 = <table> {
}
7 = <table> {
}
8 = <table> {
}
9 = <table> {
}
10 = <table> {
}
11 = <table> {
}
12 = <table> {
}
13 = <table> {
}
14 = <table> {
}
15 = <table> {
}
16 = <table> {
}
17 = <table> {
}
18 = <table> {
}
19 = <table> {
}
2