HideCollectedThings

Unlisted
Hides the collected things in the vendor window

File Details

HideCollectedThings-v1.5.2.zip

  • R
  • Sep 19, 2024
  • 13.97 KB
  • 151
  • 11.0.2
  • Retail

File Name

HideCollectedThings-v1.5.2.zip

Supported Versions

  • 11.0.2

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.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