View Bug Report
Craft bag filters lost sometimes
Bug #: 2043
File: Craft Bag Extended
Date: 08/09/17 06:46 AM
By: silvereyes
Status: Not a Bug
Steps to reproduce
  • Open the mail send screen
  • Click the craft bag icon
  • Select any filter. Enchanting will do.
  • Close mail and open the player bank
  • Click the deposit tab
  • Hit ' to open mail send again
  • The craft bag item list will be unfiltered, but the menu will still look like the enchanting filter is selected

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: silvereyes - 08/09/17 02:22 PM
This only seems to happen when using Advanced Filters. Digging in a little more.
By: silvereyes - 05/25/19 10:42 PM
Even simpler steps:
  • Open the mail send screen
  • Click the craft bag icon
  • Select any filter. Enchanting will do.
  • Hit i to open inventory
  • Hit ' to open mail send again
By: silvereyes - 05/25/19 10:45 PM
The problem seems to stem from the
ChangeFilterInventory() method in Advanced Filters main.lua. It's getting called with filterTab.inventoryType: 1, currentFilter: 0. So somehow, PLAYER_INVENTORY:ChangeFilter() is getting called from the _backpack_ filter tabs instead of the craft bag ones. Still need to dig into why this is happening, and why it's only a problem with Advanced Filters.
By: silvereyes - 05/25/19 11:10 PM
Adding the following before the first line of Advanced Filters main.lua ChangeFilterInventory() fixes the issue:
Lua Code:
  1. if AF.currentInventoryType ~= filterTab.inventoryType then return end
By: silvereyes - 05/25/19 11:52 PM
This bug no longer exists in Baertram's forked version of AF. Closing.