File Details
SimpleItemLevelBagv1.0.zip
- R
- Feb 4, 2026
- 2.82 KB
- 52
- 12.0.1
- Retail
File Name
SimpleItemLevelBag.zip
Supported Versions
- 12.0.1
ItemLevelBags - Changelog
Version 1.0.0 (February 3, 2026)
Initial Release
Core Features:
- Added item level display overlay on all bag item slots
- Implemented visual positioning of ilvl text in bottom-right corner of item icons
- Yellow colored text (RGB: 1, 1, 0) for standard ilvl display with outline for readability
Smart Comparison System:
- Implemented automatic comparison between bag items and currently equipped gear
- Added slot mapping system for all equipment slots including:
- Single slots: Head, Neck, Shoulders, Chest, Waist, Legs, Feet, Wrists, Hands, Back, Main Hand, Off Hand
- Dual slots: Rings (slots 11-12) and Trinkets (slots 13-14)
- Two-handed weapons and ranged weapon support
- Comparison logic checks against the highest ilvl item when multiple slots are available (rings/trinkets)
Visual Upgrade Indicators:
- Added bright green text (RGB: 0, 1, 0.2) for items with higher ilvl than equipped
- Implemented green arrow icon in top-left corner (TOPLEFT position) for upgrade detection
- Arrow uses "Interface\Buttons\Arrow-Up-Up" texture with green vertex coloring
- Larger font size (15px vs 14px) for upgrade items to increase visibility
Equipment Filtering:
- Restricted ilvl display to equipment only (armor and weapons)
- Filters by item classID: classID 2 (weapons) and classID 4 (armor)
- Excludes consumables, materials, bags, and other non-equipment items
Base Item Level Display:
- Implemented tooltip parsing to extract true base item level
- Uses C_TooltipInfo API to read "Item Level" or "Nivel de objeto" from tooltip data
- Fallback to GetDetailedItemLevelInfo if tooltip parsing fails
- Displays actual gear progression ilvl, not scaled/effective values
UI Integration:
- Full compatibility with ContainerFrameCombinedBags (combined bag view)
- Support for individual bag frames (ContainerFrame1-13)
- Hooks into UpdateItems function for automatic refresh
- Dynamic text and icon creation using FontStrings and Textures
Event Handling:
- PLAYER_ENTERING_WORLD: Initial addon setup and hook installation
- PLAYER_EQUIPMENT_CHANGED: Real-time updates when gear is equipped/unequipped
- BAG_UPDATE_DELAYED: Automatic refresh when bag contents change
- 0.5 second delay on login for proper initialization
- 0.1 second delay on equipment changes for smooth updates
Technical Implementation:
- Uses C_Container API for modern WoW container handling
- EnumerateValidItems() for efficient item button iteration
- Created custom FontString with "GameFontNormalLarge" template and custom font settings
- Texture overlay system for upgrade indicators
- Memory efficient: Only creates UI elements when needed, reuses existing elements
Localization:
- Supports both English ("Item Level") and Spanish ("Nivel de objeto") tooltip parsing
- Bilingual addon load message in chat
Performance:
- Lightweight design with minimal overhead
- No continuous scanning or background processes
- Event-driven updates only when necessary
- Efficient caching of created UI elements per button
Known Limitations:
- Currently optimized for WoW version 12.0.0 (The War Within)
- Upgrade detection compares ilvl only; does not account for secondary stats, sockets, or tertiary stats
- Does not show upgrade tracks, crest levels, or catalyst conversion information