Collectionator

Collectionator

206k Downloads

Aritmethc on local 'money'

laric opened this issue ยท 1 comments

commented

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 function ProcessPurchaseData'
[string "@Collectionator/Source/Tab/BuyCheapest.lua"]:138: in function ReceiveEvent' [string "@Auctionator/Source/Utilities/EventBusMixin.lua"]:77: in function Fire'
[string "@Collectionator/Source/Buy/Frame.lua"]:44: in function ReceiveEvent' [string "@Auctionator/Source/Utilities/EventBusMixin.lua"]:77: in function Fire'
[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)"

commented

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