Auctionator / Collectionator

World of Warcraft addon for the Auction House that adds a new Collecting tab to browse uncollected transmogs, pets, toys, mounts and recipes on all your alts.
https://www.curseforge.com/wow/addons/collectionator
MIT License
9 stars 4 forks source link

Aritmethc on local 'money' #28

Closed laric closed 1 year ago

laric commented 1 year ago

Please include as much of the following information as possible to help me fix the bug:

Brief Description of Bug

After I buy two items I get this error.

Steps to Reproduce

Buy two items after each other

Loaded Addons

This would be a very long list.

Back Trace (LUA Error Output)

3x SharedXML/FormattingUtil.lua:60: attempt to perform arithmetic on local 'money' (a nil value) [string "@SharedXML/FormattingUtil.lua"]:60: in function GetMoneyString' [string "@Collectionator/Source/Tab/BuyCheapest.lua"]:102: in functionProcessPurchaseData' [string "@Collectionator/Source/Tab/BuyCheapest.lua"]:138: in function ReceiveEvent' [string "@Auctionator/Source/Utilities/EventBusMixin.lua"]:77: in functionFire' [string "@Collectionator/Source/Buy/Frame.lua"]:44: in function ReceiveEvent' [string "@Auctionator/Source/Utilities/EventBusMixin.lua"]:77: in functionFire' [string "@Auctionator/Source_Mainline/AH/Mixins/SearchScan.lua"]:63: in function <...Auctionator/Source_Mainline/AH/Mixins/SearchScan.lua:36>

Locals: money = nil separateThousands = true goldString = nil silverString = nil copperString = nil (temporary) = defined =[C]:-1 (temporary) = 10000 (temporary) = 100 (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to perform arithmetic on local 'money' (a nil value)"

plusmouse commented 1 year ago

Fixed in the latest alpha Collectionator-0.102-1-g793ec04.zip