Hi Fizzlemizz
Thanks for your code chunks.
When I do a comparison I can see the changes and together with your explanation I can see how those changes make sense, (though it scares me that I was so far off when it came to the indexing).
I now have a question about accessing the global table
Lua Code:
IronManCompleatedAchievements
I can see the table and I can access it in-game but when it comes to the update function it is throwing the following error:
Lua Code:
1x IronMan\IronMan-1.0.9.15.lua:539: attempt to get length of global 'IronManCompleatedAchievements' (a nil value)
[string "@IronMan\IronMan-1.0.9.15.lua"]:539: in function `updateAchievementList'
[string "@IronMan\IronMan-1.0.9.15.lua"]:1272: in main chunk
Locals:
(*temporary) = <function> defined @SharedXML\SecureUIPanelTemplates.lua:258
(*temporary) = IronManInterfaceScrollFrame {
0 = <userdata>
ScrollBar = IronManInterfaceScrollFrameScrollBar {
}
offset = 0
frames = <table> {
}
ScrollChildFrame = IronManInterfaceScrollFrameScrollChildFrame {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to get length of global 'IronManCompleatedAchievements' (a nil value)"
NumberList = <table> {
scrollFrameRowWidth = 355
interfaceTextureScale = 0.550000
achievementFramePositionY = 150
scrollAchievementTextBoxHeight = 30
selectionButtonHeight = 45
failTextBoxWidth = 190
scrollParentGapX = 10
scrollParentTopGap = -135
interfaceTextureBoxSize = 50
iconTextureX = -11
iconAchievementTextureScale = 0.250000
scrollParentWidth = 390
dateNameTextBoxWidth = 500
maxJumps = 100
scrollFrameRowHeight = 80
maxDeaths = 100
scrollParentHeight = 350
interfaceTextureGap = -50
titleTextBoxWidth = 350
titleTextBoxTopGap = -10
scrollFrameWidth = 330
metaAchievementFramePositionGapY = -40
titleTextBoxHeight = 80
dateTextBoxBottomGap = 5
textBoxSpacerLeft = 0
textBoxHeight = 190
buttonSpacerBottom = -20
selectionFrameScale = 1.200000
achievementCloseButtonY = -6
bottomLeftTextureX = -200
insetSize = 5
textBoxSpacerTop = 0
selectionButtonWidth = 190
iconTextureY = 30
failTextBoxSpacerLeft = 200
maxLevel = 19
failTextBoxHeight = 80
scrollAchievementTextBoxWidth = 300
achievementFrameWidth = 600
nameTextBoxBottomGap = -5
bottomRightTextureX = 200
metaAchievementTopGap = -8
edgeSize = 20
maxPlayed = 100
iconTextureScale = 0.450000
textBoxWidth = 190
selectionFramePositionY = 150
maxFails = 100
scrollFrameNumberOfFrames = 4
failTextBoxSpacerTop = 40
selectionFrameHeight = 200
buttonSpacerLeft = 200
buttonSpacerTop = 30
dateNameTextBoxHeight = 40
achievementCloseButtonX = -5
achievementFrameHeight = 160
selectionFrameWidth = 480
}
Why is it that I can query it in game but it is not available for this function?