Quantcast
View Bug Report
Bad arithmetic?
Bug #: 4880
File: BuyEmAll
Date: 10-18-08 01:35 AM
By: jugglervr
Status: Fixed
Tried to buy 2 stacks of high-level food. got this error:
Date: 2008-10-18 00:29:55
ID: 54
Error occured in: Global
Count: 1
Message: ..\AddOns\BuyEmAll\BuyEmAll.lua line 169:
attempt to perform arithmetic on local 'amount' (a table value)
Debug:
[C]: ?
BuyEmAll\BuyEmAll.lua:169: DoPurchase()
BuyEmAll\BuyEmAll.lua:19: OnAccept()
..\FrameXML\StaticPopup.lua:2792: StaticPopup_OnClick()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1


Tried to buy "max" of a low-level food to test. no error, but no food either.
looking forward to filling up my ammo bags...

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Pimpace - 10-19-08 06:17 AM
I have these error too:

Message: ..\AddOns\BuyEmAll\BuyEmAll.lua line 173:
attempt to perform arithmetic on local 'amount' (a table value)
Debug:
(tail call): ?
[C]: ?
BuyEmAll\BuyEmAll.lua:173: DoPurchase()
BuyEmAll\BuyEmAll.lua:19: OnAccept()
..\FrameXML\StaticPopup.lua:2792: StaticPopup_OnClick()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1
By: Phanx - 10-24-08 11:42 PM
Yep, I just got that error too. I had 6 Morning Glory Dew in my bag, shift-clicked the vendor's Morning Glory Dew, clicked the "Stack" button twice so that the quantity read 30, and clicked "Okay" on both the BuyEmAll GUI and the confirmation popup. The items were not purchased, and BugSack caught the error:

Code:
[2008/10/24 22:39:30-51-x1]: BuyEmAll\BuyEmAll.lua:169: attempt to perform arithmetic on local 'amount' (a table value)
BuyEmAll\BuyEmAll.lua:19: in function `OnAccept'
Interface\FrameXML\StaticPopup.lua:2792: in function `StaticPopup_OnClick':
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>
By: Cogwheel - 10-25-08 04:25 PM
Thanks for the reports, guys. Working on it now