-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong craft bag filter bar shown after visiting guild store #7
Comments
Had same problems withing FCOItemSaver e.g. opening the mail panel via keybind directly after the inventory was showing the craftbag. Depening on other addons like CraftBag Extended it was kind of a mess (depending on your last used panel,inventory or craftbag). Maybe this could help you for the AF filterbars and subfilters too, or if it's only a problem at the guildstore -> Maybe put a callback to "guild store closed event" or a callback at inventory scene , check if currentStet == SCENE_SHOWING and set the right filter panel again. |
This seems to happen because the variable for the currentFilter at the craftbag inventory (PLAYER_INVENTORY.inventories[INVENTORY_CRAFT_BAG]) is 0 if you reopen the inventory after the guild store. Upon opening the guild store the value is still 14, so everything is fine until the guild store gets closed. Edit: Found the problem. As the throttle function AF.util.ThrottledUpdate() will be called from function ChangeFilterInventory as well it will overwrite the before started function call to ShowSubfilterBar and pass the wrong data with inventory type 1 (Player inventory) to it, breaking the subfilter bar. If one suppresses the 2nd call to ShowSubfilterBar from function ChangeFilterInventory at this time , the primary call to ShowSubfilterBar will have the craftbag data correctly used and show the subfilter button. Solution: One needs to find out why the function PLAYER_INVENTORY:ChangeFilter (ChangeFilterInventory) is called here with the wrong data! A kind of a workaround: Could be making trouble if you enable the addon CraftBagEnabled, have opened th craftbags at mail, vendor etc. at least once and got them opened as you closed the vendor/mail panels. Then jump between the mail, guildstore, inventory via keybind which wil lshow the last opened craftbags. |
--Fixed 2019-08-09, AF 1.5.1.8 --6. Guild store sell tab shows subcategories enabled where there are no items in there to sell (maybe bound items exist, or stolen ones) --Fixed 2019-08-09, AF 1.5.1.8 --Randactyl#7. Junk in inventory: "jewelry" will show as armor AND jewelry, but should only be shown below jewelry
The text was updated successfully, but these errors were encountered: