Duplicated counts #44


  • Defect
Open
  • mythicweetbix created this issue Apr 5, 2023

    I'm seeing multiplied item counts when running Bulk Mail and Altoholic. It happens whether I use bulk mail to send or send manually. For example, I'll see 3 of an item to an alt, and if I'm not running BulkMail at all, the tooltip is accurate, but if I am, then it will say the alt has like 15 of the item in their mail in the item tooltip. Hope I'm making sense, also going to try to contact Altoholic folks.

  • mythicweetbix added a tag Defect Apr 5, 2023
  • denthor posted a comment Jun 23, 2024

    Looks like it was due to the internal timing for the cache loop. Simply changing the timing from 0.1 to 0.3 fixed it on my end and I have not had an issue since. Should be easy to replicate and hopefully patched through.

     

     

    --- BulkMail.lua 2024-06-24 12:15:27.456001500 +1000
    +++ BulkMail-Fixed.lua 2024-06-24 12:20:01.570058300 +1000
    @@ -948,7 +948,7 @@
    local cod = SendMailCODButton:GetChecked() and MoneyInputFrame_GetCopper(SendMailMoney)
    if GetSendMailItem(1) or sendCache and next(sendCache) then
    organizeSendCache()
    - self.sendLoopTimer = self:ScheduleRepeatingTimer("Send", 0.1, cod)
    + self.sendLoopTimer = self:ScheduleRepeatingTimer("Send", 0.3, cod)
    else
    if SendMailSendMoneyButton:GetChecked() and MoneyInputFrame_GetCopper(SendMailMoney) and SendMailSubjectEditBox:GetText() == '' and (not sendCache or not next(sendCache)) then
    SendMailSubjectEditBox:SetText(abacus:FormatMoneyFull(MoneyInputFrame_GetCopper(SendMailMoney)))


    Edited Jun 23, 2024

To post a comment, please login or register a new account.