File Details
HideCollectedThings-v1.5.7.zip
- R
- Oct 28, 2024
- 16.73 KB
- 231
- 11.0.5
- Retail
File Name
HideCollectedThings-v1.5.7.zip
Supported Versions
- 11.0.5
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
[1.5.7] - 2024-10-27
Fixed
- Resolved the issue with currencies not greying out when the player does not have enough to purchase an item.
- Fixed a Lua error associated with the currency greying out functionality introduced in the previous version.
- Fixed the buyback tab to correctly show items recently sold.
Developer Notes
- This update addresses the currency display issue, the related Lua error, and ensures the buyback tab functions correctly for recently sold items, enhancing the user experience in the vendor window.
[1.5.6] - 2024-10-27
Fixed
- Resolved the issue with item qualities in the vendor window not displaying correctly.
- Fixed the issue where the addon overrides the default UI for graying out currency when the player does not have enough.
[1.5.5] - 2024-10-22
Changed
- Updated .toc file to reflect compatibility with WoW patch 11.0.5
Fixed
- Resolved an issue where Commendations were being hidden. Commendations will now always be visible in vendor windows, regardless of collection status.
[1.5.4] - 2024-09-30
Fixed
- Resolved all known instances of ADDON_ACTION_FORBIDDEN errors. This comprehensive fix addresses issues occurring in various scenarios, including but not limited to:
- Exiting delves
- Interacting with gear tokens (e.g., Venerated Chest Module from Shadowlands raids)
- Any interactions involving StaticPopup dialogs
- Eliminated interference with protected functions (such as EndBoundTradeable()), ensuring full compliance with Blizzard's UI restrictions
- Corrected issues with incorrect items being displayed and purchased when hiding collected items
- Fixed tooltip information to always show accurate item details for visible items
Changed
- Completely overhauled StaticPopup handling to prevent conflicts with game systems and protected functions
- Redesigned the approach to modifying UI elements, ensuring no accidental triggering of protected function calls
- Improved mapping between visible and original item indices in merchant frame
- Enhanced StaticPopup window modifications to match Blizzard's default UI style while strictly adhering to allowed customizations
- Refined item purchase mechanism for correct functionality without risking protected function calls
- Significantly improved overall addon stability and compatibility across all game systems and UI interactions
Added
- Implemented new GetVisibleItems function for accurate mapping of visible items
- Enhanced debug logging system for easier troubleshooting of potential issues
- Added debug mode toggle accessible via slash commands for advanced users and testing
Removed
- All hooks on protected functions to eliminate potential conflicts with game systems
- Any direct modifications to StaticPopup dialogs that could interfere with protected UI elements
Developer Notes
- Conducted a thorough, system-wide review of all addon interactions to ensure full compliance with Blizzard's API restrictions
- Implemented a more robust and safe system for handling merchant frame updates
- Added comprehensive error checking and safeguards throughout the addon to prevent any unintended interactions with protected UI elements
- Restructured the addon's core functionality to better respect and work within Blizzard's UI boundaries
- Extensive testing performed across various scenarios to confirm the resolution of all known ADDON_ACTION_FORBIDDEN errors
[1.5.3] - 2024-09-20
Added
- Reintegrated support for hiding collected Recipes (including all profession recipes, patterns, plans, formulae, books, techniques, schematics, and designs) in vendor windows
Changed
- Updated main file to properly integrate recipe functionality
- Improved consistency across mounts, pets, toys, cosmetics, ensembles, and recipes handling
Removed
- Commented out debug information and module loading messages for a cleaner user experience
Fixed
- Ensured correct display of item information in purchase confirmation windows for all item types, including recipes
Developer Notes
- Refined integration of recipe functionality to maintain consistency with existing code structure
- Improved code cleanliness by removing unnecessary debug output
[1.5.2] - 2024-09-19
Added
- Support for hiding collected Recipes (including all profession recipes, patterns, plans, formulae, books, techniques, schematics, and designs) in vendor windows
- New recipes.lua file for handling recipe-specific logic
Changed
- Updated main file to integrate recipe functionality
- Improved consistency across mounts, pets, toys, cosmetics, ensembles, and recipes handling
Fixed
- Issue with recipes not being hidden when already known by the player
Developer Notes
- Implemented custom tooltip scanning for recipe collection status
- Refactored IsItemCollectible and IsItemCollected functions to include recipe checks
- Added event listener for TRADE_SKILL_LIST_UPDATE to refresh caches when recipes change
[1.5.1] - 2024-09-12
Fixed
- Resolved ADDON_ACTION_FORBIDDEN error occurring during item upgrades
- Removed interference with protected function UpgradeItem()
- Fixed issue with incorrect items being displayed and purchased when hiding collected items
- Corrected tooltip information to show accurate item details for visible items
Changed
- Modified StaticPopup handling to avoid conflicts with item upgrade system
- Improved mapping between visible and original item indices in merchant frame
- Enhanced StaticPopup window to match Blizzard's default UI style
- Refined item purchase mechanism to ensure correct items are bought
- Improved overall addon stability and compatibility with various game systems
Added
- New GetVisibleItems function to maintain accurate mapping of visible items
- Improved debug logging for easier troubleshooting
Removed
- Hook on StaticPopup_Show function to prevent conflicts with game systems
Developer Notes
- Refactored StaticPopup handling to differentiate between purchase and upgrade dialogs
- Added safety checks to prevent modification of upgrade-related dialogs
- Implemented new PurchaseItem function to use correct item indices
- Updated merchant frame update logic for better handling of hidden items
- Improved addon's compliance with Blizzard's protected function restrictions
[1.5.0] - 2024-09-11
Fixed
- Resolved issue with incorrect items being displayed and purchased when hiding collected items
- Fixed tooltip information to show correct item details for visible items
Changed
- Improved mapping between visible and original item indices in merchant frame
- Enhanced StaticPopup window to match Blizzard's default UI style
- Refined item purchase mechanism to ensure correct items are bought
Added
- New GetVisibleItems function to maintain accurate mapping of visible items
- Improved debug logging for easier troubleshooting
Developer Notes
- Refactored UpdateMerchantItems function for better handling of hidden items
- Implemented new PurchaseItem function to use correct item indices
- Updated StaticPopup handling to ensure consistency with Blizzard UI
[1.4.2] - 2024-09-10
Fixed
- Resolved issue with buyback tab displaying incorrect items
- Ensured buyback tab shows all items without filtering
Changed
- Improved handling of merchant frame updates for both regular and buyback tabs
- Enhanced compatibility with WoW's merchant frame functionality
Developer Notes
- Refactored UpdateMerchantItems function to correctly handle buyback tab
- Added checks to differentiate between regular merchant and buyback tabs
[1.4.1] - 2024-09-05
Fixed
- Resolved ADDON_ACTION_FORBIDDEN error occurring when using Explorer's League rope
- Removed interference with protected function AcceptSpellConfirmationPrompt()
Changed
- Further refined StaticPopup handling to avoid conflicts with game systems
- Improved overall addon stability and compatibility
Removed
- Code attempting to modify static popups and interact with protected functions
Developer Notes
- Refactored code to focus solely on modifying the merchant frame
- Improved addon's compliance with Blizzard's protected function restrictions
[1.4.0] - 2024-09-04
Fixed
- Resolved issue with item upgrade process causing Lua errors
- Removed interference with protected function UpgradeItem()
Changed
- Modified StaticPopup handling to avoid conflicts with item upgrade system
- Improved compatibility with various types of purchase and upgrade dialogs
- Further refined overall addon stability and compatibility
- Ensured compatibility with ElvUI skin
Removed
- Hook on StaticPopup_Show function to prevent conflicts
Developer Notes
- Refactored dialog modification code for better maintainability and compatibility
[1.3.0] - 2024-09-02
Added
- Comprehensive debug logging system for easier troubleshooting
- New UpdateDialogMoneyFrame function to correctly update prices in purchase confirmation dialogs
- Hooks for StaticPopup_Show and purchase dialog OnShow functions
Changed
- Improved price display in purchase confirmation dialogs, fixing issues with incorrect prices
- Enhanced compatibility with different types of purchase confirmation dialogs
- Optimized performance by removing unnecessary timer delays
- Improved error handling for non-existent UI elements
Removed
- Verbose debug messages from chat output during normal operation
Developer Notes
- Added commented-out debug functions and slash commands for future development use
- Implemented a DEBUG_MODE flag for easy enabling/disabling of debug features
[1.2.0] - 2024-09-01
Added
- Support for hiding collected ensemble sets in vendor windows
- New ensembles.lua file for handling ensemble-specific logic
Changed
- Updated main file to integrate ensemble functionality
- Improved consistency across mounts, pets, toys, cosmetics, and ensembles handling
[1.1.0] - 2024-08-31
Added
- Support for hiding collected cosmetic items (transmog appearances) in vendor windows
- New cosmetics.lua file for handling cosmetic-specific logic
Changed
- Updated main file to integrate cosmetic functionality
- Improved consistency across mounts, pets, toys, and cosmetics handling
- Enhanced troubleshooting capabilities with new debug commands
[1.0.0] - 2024-08-30
Added
- Initial release of HideCollectedThings
- Functionality to hide collected mounts, pets, and toys in vendor windows
- Slash commands for easy control:
/hct,/hct button,/hct show - Toggle button to show/hide collected items
- Support for the NEW_TOY_ADDED event to update display when new toys are collected
- Compatibility with other addons like CanIMogIt
Features
- Hides collected mounts, pets, and toys from vendor windows
- Maintains the default UI layout and functionality
- Provides a toggle button for showing/hiding collected items
- Includes slash commands for easy configuration
- Automatically updates when new toys are added to the collection
Technical Details
- Implements caching for improved performance
- Uses a centralized ShouldHideItem function for consistent item hiding logic
- Hooks into relevant WoW API functions for seamless integration
- Includes separate modules for mounts, pets, and toys handling