DMF Quest

DMF Quest

42.9k Downloads

LUA error in Autobuy

dblanch369 opened this issue · 2 comments

commented

Well I have seen this pop up today, on my Evoker. Went to hit up my usual vendor for Autobuy, and got a LUA error, see below. A couple of notes....

Does not have Archeology profession (most of toons do)
I had grey items in my bags that wanted to Autosell, but did not Autobuy.
Subsequent attempts to talk to the vendor, repeat the LUA error. I did a /reload and it did not fix it.

Here is the output from BugSack.

Details

4x DMFQuest/DMFQuest.lua:1419: attempt to index local 'prof' (a nil value)
[string "@DMFQuest/DMFQuest.lua"]:1419: in function `AutoBuyItems'
[string "@DMFQuest/DMFQuest.lua"]:569: in function <DMFQuest/DMFQuest.lua:565>

Locals:
self = DMFQuest {
0 =
cacheAreaNames =

{
}
QUEST_DETAIL = defined @DMFQuest/DMFQuest.lua:621
itemButton6 = Button {
}
OnCleaned = defined @SharedXML/LayoutFrame.lua:131
startTime = 1712451600
MERCHANT_FILTER_ITEM_UPDATE = defined @DMFQuest/DMFQuest.lua:574
GetAdditionalRegions = defined @SharedXML/LayoutFrame.lua:85
MERCHANT_UPDATE = defined @DMFQuest/DMFQuest.lua:574
QUEST_REMOVED = defined @DMFQuest/DMFQuest.lua:638
OnShow = defined @SharedXML/LayoutFrame.lua:32
addonTitle = "DMFQuest 3.0.1"
GetFixedWidth = defined @SharedXML/LayoutFrame.lua:148
itemButton1 = Button {
}
GetWidthPadding = defined @SharedXML/LayoutFrame.lua:168
SKILL_LINES_CHANGED = defined @DMFQuest/DMFQuest.lua:546
itemButton7 = Button {
}
SetFixedWidth = defined @SharedXML/LayoutFrame.lua:135
UpdateItemButtons = defined @DMFQuest/DMFQuest.lua:1051
cacheItemNames =
{
}
SetFixedSize = defined @SharedXML/LayoutFrame.lua:143
GetLayoutChildren = defined @SharedXML/LayoutFrame.lua:73
itemButton9 = Button {
}
IsDirty = defined @SharedXML/LayoutFrame.lua:127
ZONE_CHANGED_NEW_AREA = defined @DMFQuest/DMFQuest.lua:476
Layout = defined @SharedXML/LayoutFrame.lua:395
itemButton8 = Button {
}
UpdateTextLines = defined @DMFQuest/DMFQuest.lua:1124
IsLayoutFrame = defined @SharedXML/LayoutFrame.lua:36
TitleText = FontString {
}
PLAYER_ENTERING_WORLD = defined @DMFQuest/DMFQuest.lua:476
SetHeightPadding = defined @SharedXML/LayoutFrame.lua:160
minimumHeight = 150
optionsFrame = Frame {
}
categoryId = "DMFQuest"
GetHeightPadding = defined @SharedXML/LayoutFrame.lua:164
endTime = 1713052800
itemButton3 = Button {
}
dirty = false
initDone = true
CheckForPortalZone = defined @DMFQuest/DMFQuest.lua:970
ContainerText = FontString {
}
QUEST_ACCEPTED = defined @DMFQuest/DMFQuest.lua:617
itemButton10 = Button {
}
itemButton5 = Button {
}
itemButton4 = Button {
}
BAG_UPDATE = defined @DMFQuest/DMFQuest.lua:604
itemButton2 = Button {
}
AutoBuyItems = defined @DMFQuest/DMFQuest.lua:1408
GetFixedSize = defined @SharedXML/LayoutFrame.lua:156
SetFixedHeight = defined @SharedXML/LayoutFrame.lua:139
MarkDirty = defined @SharedXML/LayoutFrame.lua:99
TRADE_SKILL_LIST_UPDATE = defined @DMFQuest/DMFQuest.lua:546
PixelSnapDisabled = true
Background = Texture {
}
CheckForDMF = defined @DMFQuest/DMFQuest.lua:874
Container = Frame {
}
heightPadding = 72
PLAYER_INTERACTION_MANAGER_FRAME_SHOW = defined @DMFQuest/DMFQuest.lua:587
fixedWidth = 324
UpdateProfessions = defined @DMFQuest/DMFQuest.lua:1315
OnUpdate = defined @SharedXML/LayoutFrame.lua:93
ZONE_CHANGED = defined @DMFQuest/DMFQuest.lua:476
QUEST_DATA_LOAD_RESULT = defined @DMFQuest/DMFQuest.lua:644
MarkClean = defined @SharedXML/LayoutFrame.lua:117
CloseButton = Button {
}
ProfData =
{
}
AddLayoutChildren = defined @SharedXML/LayoutFrame.lua:55
MarkIgnoreInLayout = defined @SharedXML/LayoutFrame.lua:44
GetFixedHeight = defined @SharedXML/LayoutFrame.lua:152
ZONE_CHANGED_INDOORS = defined @DMFQuest/DMFQuest.lua:476
IgnoreLayoutInde

Screenshot 2024-04-09 at 8 54 18 PM

commented

I'll add this to the list of things to fix asap

commented

Forgot to make the changes to the AutoBuy when I fixed the iteration loops on missing profession indexes. Fixed in 3.0.2!