For version 7.0.23569 and prior, in Goal.lua:871-884, it appears that this code is still using deprecated and removed global functions such as GetNumGossipAvailableQuests(), all which have been moved into the namespace C_GossipInfo. Furthermore, these functions no longer return arrays, which breaks the code even further.
In my copy, I have modified the code to the following, which seems to work fine.
In my copy, I have modified the code to the following, which seems to work fine.
Code:
if GossipFrame:IsShown() then local noquests=true local qdata = C_GossipInfo.GetAvailableQuests() for qnum=1,C_GossipInfo.GetNumAvailableQuests() do if qdata[qnum].frequency==Enum.QuestFrequency.Daily then noquests=nil break end -- one daily breaks it end local qdata = C_GossipInfo.GetActiveQuests() for qnum=1,C_GossipInfo.GetNumActiveQuests() do if qdata[qnum].isComplete then noquests=nil break end -- one complete breaks it end if noquests then CloseGossip() end return noquests, true