ReagentBankManager-v2.2.10.zip
What's new
# ReagentBankManager Changelog
## Version 2.2.10 - Bug Fixes
### Bug Fixes
- **Fixed Toon Selection in Recipes Tab** - Selecting a toon in the Recipes tab now correctly updates the global selected toon variable
- Previously, selecting a character (e.g., Chiquemage) would still show recipes for the current character (e.g., Osiria)
- Fixed by ensuring the tab dropdown updates `ReagentBankGUI.selectedToon` in addition to the local variable
- Profession dropdown now correctly loads recipes for the selected toon
- **Fixed Minimap Button Position Persistence** - Minimap button position now saves account-wide and restores correctly after reload
- Previously, position was saved to `ReagentBankDB` (per-character), causing it to reset when switching characters
- Now saves to `ReagentBankTrackerDB` (account-wide), so position persists across all characters
- Fixed timing issue by moving position restoration to ADDON_LOADED event when SavedVariables are guaranteed to be loaded
- **Fixed Warbank Item Grey/Unmovable Issue** - Items no longer get stuck grey and unmovable when withdrawing from warbank
- Added `ClearCursor()` calls after each item placement to ensure cursor state is properly cleared
- Prevents items from getting stuck in transitional state during rapid movement operations
- Note: Brief grey flash during movement is unavoidable due to addon API limitations (PickupContainerItem uses cursor state)
- Applied fix to all item movement functions: deposit, withdraw, and recipe reagent withdrawal
## Version 2.2.9 - Cross-Character Recipe Viewing
### New Features
- **Cross-Character Recipe Viewing** - View any character's scanned recipes from any other character
- "Select a Toon" dropdown lists all characters with scanned professions
- Dropdown automatically refreshes when clicking Recipes tab (no reload needed!)
- Recipes saved account-wide in `ReagentBankTrackerDB.characterRecipes`
- Switch between characters to view their profession recipes
- Perfect for checking what recipes your alts know without logging into them
- **"Select Profession" Default Option** - Profession dropdown now defaults to "Select Profession"
- No recipes load automatically on reload
- Clean slate for manual toon and profession selection
- Switching toons resets dropdown to "Select Profession"
### Improvements
- **Enhanced Recipe Count Messages** - Now includes profession name in output
- Example: "Showing 306 Blacksmithing recipe(s) for Classic"
- More informative feedback when viewing recipes
## Version 2.2.8 - Expansion Persistence & Collection Status Fixes
### New Features
- **Per-Character Expansion Persistence** - Recipe expansion selection now persists correctly across sessions
- Each character can have their own expansion preference
- Saved to account-wide database but organized per character
- Expansion dropdown correctly displays saved selection on reload
### Bug Fixes
- **Fixed Collection Status Detection** - Collection status now works correctly for all expansions
- Fixed transmog detection to check if specific item is collected (not just appearance from other sources)
- Added item data caching to ensure item info is loaded
- Added validation for transmog source IDs to prevent Lua errors
- Collection status (C/X) now displays correctly for WotLK and later expansion recipes
- Matches profession window behavior for "Not Collected" vs "Collected from other source"
## Version 2.2.7 - Quantity Persistence & Settings Panel Redesign
### New Features
- **Quantity Persistence** - Recipe quantities now persist across profession rescans
- Quantity values are saved per character and restored when recipes are repopulated
- "Deselect All" button now clears both checkboxes and quantity values
- Quantities persist even when profession window is reopened
- **Settings Panel Tab System** - Redesigned settings panel with tabbed interface
- Settings tab: Contains UI scale slider and reset button
- Help tab: Comprehensive guide on how to use the addon (scrollable)
- About tab: Version info, author, features list, and saved variables documentation (scrollable)
- Larger settings panel (450x350) to accommodate tabbed content
- Improved organization and easier navigation
- Scrollable content areas for Help and About tabs to fit all information
### Bug Fixes
- **Fixed Item Name Loading** - Item names now display correctly on first reagent check
- Previously showed "Item #XXXXX" until second check due to async item data loading
- Now uses C_Timer.After to retry item name lookup after data loads
## Version 2.2.6 - Recipe Selection Improvements
### New Features
- **Recipe Selection Enhancements** - Improved recipe selection functionality
- Click on recipe name to toggle checkbox selection
- Selected recipes are saved per character and persist across reloads
- "Selected Only" checkbox to filter and show only selected recipes
- Fixed timing issues with checkbox state updates
- Improved hover hit area - entire recipe row now responds to mouse hover
- Select All/Deselect All buttons now properly save/clear recipe selections
- Added slash commands: `/reagentbank selected` and `/reagentbank clear`
## Version 2.2.5 - Reagent Bank & Crafting Check
### New Features
- **Reagent Bank in Tracker** - Added reagent bag (bag 5) to tracker scan and display
- Reagent Bank now shown as separate collapsible section in green
- Search includes reagent bank items alongside bags and bank
- Character totals now include reagent bank count
- Scan output shows reagent bank unique reagent count
- **Crafting Reagent Check** - Added ability to check if you have enough reagents to craft a specific quantity
- Select multiple recipes using checkboxes
- Click on recipe name to toggle checkbox selection
- Uses existing quantity box next to each recipe to specify amount
- "Check Reagents" button positioned next to "Withdraw Reagents" button
- Scans bags, reagent bank, and bank for available reagents
- Combines reagent requirements across all selected recipes
- Displays missing reagents with quantities needed and currently owned
- Shows "You have all the reagents needed!" if you can craft the specified quantity
- Slash command support: `/reagentbank check` or `/rb check` for macro use
- **Recipe Selection Improvements** - Enhanced recipe selection functionality
- Selected recipes are saved per character and persist across reloads
- "Selected Only" checkbox to filter and show only selected recipes
- Click on recipe name to quickly check/uncheck recipes
## Version 2.2.4 - Account-Wide Scale
### Bug Fixes
- **Fixed Scale Persistence Across Characters** - UI scale now properly saves to account-wide database, persisting across all characters instead of being per-character
## Version 2.2.3 - Tracker, Performance & Collection Status
### New Features
- **Recipe Collection Status** - Shows whether recipe outputs are collected
- Visual indicators in recipe list: [C] for collected, [X] for not collected
- Collection status displayed in tooltips
- Supports multiple collection types:
- Toys
- Mounts
- Battle Pets
- Transmog (armor and weapons only, excludes non-transmoggable slots)
- Housing Decor
- **Collection Status Filtering** - Added checkboxes to filter recipes by collection status
- Collected checkbox - Show recipes that create collected items
- Not Collected checkbox - Show recipes that create uncollected items
- AND logic for precise filtering (e.g., Unlearned + Not Collected = unlearned uncollected recipes only)
- Non-collectible items hidden when collection filtering is active
- **Lumber Trade Good** - Added Lumber category to profession/trade goods filter
- **Smart Tracker Search** - Search now instantly filters and shows only characters that have the searched item
- Hides characters without matching items
- Searches both bags and bank
- Real-time filtering as you type
### Improvements
- **Expanded by Default** - Tracker tab now shows all character sections expanded for easier viewing
- Character names expanded
- Bags and Bank sections expanded
- Can still collapse any section by clicking
- **Recipe Scroll Performance** - Dramatically improved scrolling in Recipes tab
- Smooth scrollbar dragging with throttled updates
- Preserves scroll position when filtering
- No more jumping back to top when using filters
- Better mouse wheel scrolling (20px steps)
- **Account-Wide Scale** - UI scale now persists across all characters (saved to account-wide database)
## Version 2.2.2 - Bug Fixes
### Bug Fixes
- **Fixed UI Scale Persistence** - Scale settings now properly save and restore between sessions
- **Fixed Border Visibility** - Increased all border edge sizes from 1px to 2px to prevent borders from disappearing when UI is scaled
- **Fixed Initialization Error** - Resolved Lua error when addon loads by properly initializing scale settings after saved variables load
### Improvements
- **ESC Key Support** - Press ESC to close the main window
- **Scaling Recommendations** - Added tip in settings panel recommending 0.5, 0.75, 1.0, or 1.25 scale for best visual quality
## Version 2.2.1 - Bug Fixes & Laptop Support
### New Features
- **Settings Panel** - Right-click minimap button to open settings
- **UI Scale Slider** - Adjust window size from 50% to 150% (0.5 to 1.5 scale)
- Perfect for laptop users with smaller screens (1366x768)
- Live preview - changes apply immediately
- Persistent - scale saves between sessions
- Reset to Default button to quickly return to 100%
- **Blue Border Theme** - Main window now has cyan/blue border matching settings panel
### Improvements
- **Reagent Bag Priority** - Withdrawn items now go to reagent bag (bag 5) first, then regular bags (0-4)
- **Minimap Button Position** - Increased radius to 100px to properly position button outside minimap border
- **Minimap Tooltip** - Updated to show right-click for settings option
- **Consistent Button Styling** - Reset button matches Deselect All/Clear All red style with proper transparency
- **Aligned UI Elements** - Scale slider perfectly aligned with UI Scale label
### Bug Fixes
- Fixed minimap button appearing inside minimap border instead of outside
## Version 2.2.0 - Recipe Crafting Features
### New Features
- **Recipe Source Information** - Unlearned recipes now display source information in tooltips (Profession Trainer, Vendor, Drop, Quest, etc.)
- Automatically extracted from game data using `C_TradeSkillUI.GetRecipeSourceText()`
- Shows trainer names, costs, and locations
- **Quantity Input Boxes** - Added quantity textboxes next to each recipe for precise crafting planning
- Blank by default, defaults to 1 if left empty
- Automatically clears after withdrawal
- **Exact Amount Withdrawal** - "Withdraw exact amounts only" checkbox enables precise reagent withdrawal
- **Checked**: Withdraws exact amounts based on quantities entered (e.g., 10 Gold Ore for 10 Gold Bars)
- **Unchecked**: Withdraws all available reagents for selected recipes
- **Smart Withdrawal Logic** - Automatically withdraws maximum available if bank doesn't have enough
- **Persistent Minimap Position** - Minimap button position now saves between sessions
### Improvements
- **Textbox Spacing** - Quantity textboxes positioned 20px from scrollbar for better visual spacing
- **Dual Withdrawal Modes** - Single button handles both exact and all-reagent withdrawal based on checkbox
- **Better UX** - Removed redundant buttons for cleaner interface
### Bug Fixes
- Fixed item placement logic to properly move items from bank to bags instead of leaving on cursor
- Fixed EditBox font setting to use `SetFontObject` instead of invalid `SetFont` call
## Version 2.1.0 - UI Polish & Quality of Life
### New Features
- **Profession Dropdown** - Added profession filter back to Filters tab for easier reagent organization by profession
- **Search Clear Button** - Added X button to clear search text in Tracker tab
- **Draggable Minimap Button** - Hold Alt and drag to reposition the minimap button
### Improvements
- **Modern Scrollbars** - Replaced default scrollbars with custom dark-themed scrollbars in Recipes and Tracker tabs
- **Scrollbar Arrow Buttons** - Added up/down arrow buttons matching dropdown arrow style
- **Tracker Layout** - Moved bag/bank counts below character name to prevent text cutoff with long names
- **Account-Wide Auto-Open** - Changed auto-open setting from per-character to account-wide
- **Increased Window Height** - Expanded main window to 820px to accommodate all UI elements
- **Profession Mapping** - Smart profession-to-trade-goods mapping (e.g., Alchemy → Herbs, Elemental, Cooking)
### Bug Fixes
- Fixed spacing issues with new profession dropdown
- Improved visual alignment throughout the UI
## Version 2.0.0 - Major UI Overhaul
### New Features
- **Trade Goods Filtering System** - Replaced profession-based filtering with WoW's native trade goods categories
- Categories: Cloth, Elemental, Enchanting, Inscription, Herbs, Jewelcrafting, Leather, Cooking, Metal & Stone, Optional Reagents, Parts, Other
- More accurate item categorization using subclassID
- **Multiple Expansion Selection** - Select multiple expansions at once using checkboxes instead of dropdown
- **Multiple Trade Goods Selection** - Check/uncheck specific trade goods categories to include/exclude
- **Select All/Deselect All Buttons** - Quick selection controls for both Expansions and Trade Goods
- **Enhanced Deposit/Withdraw Messages** - Shows selected expansions, trade goods, bank type, and item names
- **Centered UI Layout** - All tabs and elements properly centered for better visual balance
- **Color-Coded Section Headers** - Cyan/blue headers distinguish section labels from checkbox labels
- **Modern Button Styling** - Updated Select All/Deselect All buttons to match tracker tab style
- **Removed "Both" Bank Type** - Simplified to Bank or Warbank selection
### Improvements
- Better visual spacing and alignment throughout the UI
- More intuitive filtering workflow with checkbox-based selection
- Clearer feedback messages showing exactly what was deposited/withdrawn
- Improved item categorization accuracy
### Technical Changes
- Updated `MatchesExpansionFilter` to handle multiple selected expansions
- Modified `GetItemProfession` to return trade goods category based on subclassID
- Inverted exclusion logic: checked items are included, unchecked items are excluded
- Added `selectedExpansions` table for multi-expansion filtering
- Moved `CreateModernButton` function definition for proper scope
## Version 1.0.0 - Initial Release
### Features
- **Modern Dark-Themed GUI** with custom dropdown menus and styled buttons
- **Bulk Deposit/Withdraw** reagents to/from bank and warbank
- **Expansion Filtering** - Filter by specific WoW expansions (Classic through Midnight)
- **Profession Filtering** - Filter by profession (Mining, Herbalism, Tailoring, etc.)
- **Exclude Profession** - Exclude specific professions from bulk operations
- **Bank Type Selection** - Choose between Bank, Warbank, or Both
- **Auto-Open Option** - Checkbox to automatically open manager when bank opens
- **Smart Item Detection**:
- Automatically skips soulbound items during withdrawal
- Excludes profession tools (fishing poles, etc.)
- Metal & Stone items match both Mining and Blacksmithing
- **Minimap Button** - Quick access via minimap icon
- **Slash Command** - `/rb` to toggle the manager window
- **Clear Feedback** - Detailed messages for successful operations and errors
- **High Frame Priority** - Manager window stays on top of bank/inventory windows
### Technical
- Uses expansion ID from game API for accurate expansion detection
- Supports both regular bank (bags 6-11) and warbank (AccountBankTab 1-5)
- Per-character saved settings via SavedVariables
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

