Total-RP / Storyline

A World of Warcraft add-on that improves the questing experience by replacing the default dialog frame by a more immersive frame with 3D models.
https://www.curseforge.com/wow/addons/storyline
14 stars 6 forks source link

Error when mousing over a quest objective item #10

Closed Ellypse closed 6 years ago

Ellypse commented 6 years ago

There is a Lua error that can appear when trying to display the tooltip for some currency objectives (like order hall resources). An example is the quest Shard Times or the quest to exchange order hall resources for Argus troops.

1x Storyline\rewards\rewards_buttons.lua:68: Invalid quest item in SetQuestCurrency("type", index)
[C]: in function `SetQuestCurrency'
Storyline\rewards\rewards_buttons.lua:68: in function <Storyline\rewards\rewards_buttons.lua:66>

Locals:
(*temporary) = GameTooltip {
 0 = <userdata>
 numMoneyFrames = 1
 SetRecipeReagentItem = <function> defined =[C]:-1
 SetBuybackItem = <function> defined =[C]:-1
 shoppingTooltips = <table> {
 }
 SetMerchantItem = <function> defined =[C]:-1
 SetQuestLogItem = <function> defined =[C]:-1
 SetGuildBankItem = <function> defined =[C]:-1
 hasMoney = 1
 SetTradePlayerItem = <function> defined =[C]:-1
 SetHyperlink = <function> defined =[C]:-1
 SetSendMailItem = <function> defined =[C]:-1
 updateTooltip = 0.032999991253018
 SetInventoryItem = <function> defined =[C]:-1
 SetInboxItem = <function> defined =[C]:-1
 comparing = false
 SetLootRollItem = <function> defined =[C]:-1
 SetTradeTargetItem = <function> defined =[C]:-1
 SetAuctionSellItem = <function> defined =[C]:-1
 SetBagItem = <function> defined =[C]:-1
 needsReset = true
 SetRecipeResultItem = <function> defined =[C]:-1
 SetLootItem = <function> defined =[C]:-1
 SetQuestItem = <function> defined =[C]:-1
 SetAuctionItem = <function> defined =[C]:-1
}
(*temporary) = "reward"
(*temporary) = 1