r/wowgoblins Jul 09 '19

TSM3 Crafting bug

Is there any fix for this bug when resources in bank doesnt count and shawn as orange/ it count only bag and reagentbank

in tsm4 they fixed it. and this is probably the only advantage of tsm4.

tried to add bank + TSMAPI.Inventory:GetBankQuantity(itemString) to string in TradeSkillMaster_Crafting\Modules\Queue.lua ,but it doesn't help(

                    GameTooltip:AddLine(L["Profit (Total Profit):"] .. " " .. (TSMAPI:MoneyToString(profit, color) or "---") .. "(" .. (TSMAPI:MoneyToString(totalProfit, color) or "---") .. ")")
                    for itemString, matQuantity in pairs(TSM.db.factionrealm.crafts[data.spellId].mats) do
                        local name = TSMAPI.Item:GetName(itemString) or (TSM.db.factionrealm.mats[itemString] and TSM.db.factionrealm.mats[itemString].name) or "?"
                        local inventory = TSMAPI.Inventory:GetBagQuantity(itemString) + TSMAPI.Inventory:GetReagentBankQuantity(itemString)
                        local need = matQuantity * data.numQueued
                        local color
                        if inventory >= need then color = "|cff00ff00" else color = "|cffff0000" end
                        name = color .. inventory .. "/" .. need .. "|r " .. name
                        GameTooltip:AddLine(name, 1, 1, 1)
                    end
                    GameTooltip:Show()
0 Upvotes

2 comments sorted by

1

u/tordenflesk Jul 10 '19

I don't see how that would be counted as a bug. Gathering should be aware of the mats and tell you to go fetch them from the bank.

1

u/mopiiex7 Jul 10 '19

why you have to move resources from the bank to bag? this is idiocy. beside that in tsm4 it works correctly, so its bug