# ItemLevelViewer
version: 1.1.1
A comprehensive World of Warcraft Classic Era addon that displays item levels, vendor prices, and extensive item information in tooltips with advanced debugging capabilities.
## Features
- **Core Functionality:**
- Shows item level in all tooltips (inventory, chat links, shopping tooltips)
- Shows vendor sell prices in all tooltips
- Handles item stacks correctly (shows total value for multiple items)
- Lightweight and performance-friendly
- **Advanced Display Options:**
- Item ID display
- Item quality with colors
- Item type and subtype information
- Equipment location details
- Stack count information
- Required level display
- Advanced API values (13, 14, 15)
- **Debug & Control Panel:**
- Comprehensive debug window with tabbed interface
- Real-time item information testing
- API value exploration and logging
- Export functionality for debugging
- Clickable command links in chat
- **Configuration:**
- Extensive slash command system
- Visual control panel with checkboxes
- Bulk enable/disable options
- Settings persistence across sessions
## Installation
1. Download the addon files
2. Extract the `ItemLevelViewer` folder to your WoW Classic Anniversary AddOns directory:
- `World of Warcraft/_classic_era_/Interface/AddOns/`
3. Restart World of Warcraft or reload your UI (`/reload`)
4. You should see a green "ItemLevelViewer loaded successfully!" message in chat
## Usage
Once installed, simply hover over any item in your inventory, bank, or chat links to see:
- Item level displayed in the tooltip
- Vendor sell price displayed in the tooltip (if the item can be sold)
### Slash Commands
**Basic Commands:**
- `/ilv` - Open control panel
- `/ilv help` - Show available commands
- `/ilv toggle` - Toggle addon on/off
- `/ilv il` - Toggle item level display
- `/ilv vp` - Toggle vendor price display
- `/ilv status` - Show current settings
- `/ilv disable` - Disable addon (use if LFG issues persist)
- `/ilv enable` - Re-enable addon
**Debug Commands:**
- `/ilv debug <itemlink>` - Debug item info
- `/ilv debugtarget` - Debug target/mouseover item
- `/ilv getlink` - Get item link from mouseover
- `/ilv test` - Test with multiple items
- `/ilv testweapons` - Test weapon items
- `/ilv testarmor` - Test armor items
- `/ilv panel` - Open control panel
- `/ilv export` - Export debug log
## Requirements
- World of Warcraft Classic Anniversary (version 1.15.7.61582)
- Interface version: 11507
## Troubleshooting
### Looking for Group (LFG) Issues
If you experience problems with the Looking for Group tool (e.g., it keeps loading and doesn't show groups):
1. **First, try reloading your UI**: Type `/reload` in chat
2. **If the issue persists, temporarily disable the addon**: Type `/ilv disable`
3. **Use the LFG tool normally**
4. **Re-enable the addon when done**: Type `/ilv enable`
### General Issues
- If the addon doesn't load, check that it's in the correct directory
- If tooltips don't show item levels, try `/ilv il` to toggle the feature
- If vendor prices don't show, try `/ilv vp` to toggle the feature
- Use `/ilv status` to check current settings
## Author
Termodynamiikka
## Version History
### 1.1.1
- **LFG Compatibility Fix:**
- Fixed potential conflicts with Looking for Group (LFG) tool
- Restricted chat frame hooking to avoid interfering with system frames
- Added specific hyperlink handling to prevent conflicts with LFG functionality
- Set appropriate frame levels to avoid UI interference
- Added `/ilv disable` and `/ilv enable` commands for troubleshooting
- **Technical Improvements:**
- More targeted chat frame hooking (skips system frames like ChatFrame2)
- Only processes addon-specific hyperlinks instead of all hyperlinks
- Improved frame level management for better UI compatibility
### 1.1.0
- **Major Feature Additions:**
- Comprehensive debug window with tabbed interface
- Advanced item information display (ID, quality, type, subtype, etc.)
- Visual control panel with checkboxes for all settings
- Bulk enable/disable options ("Show All Info" / "Hide All Info")
- Real-time item testing and API exploration
- Export functionality for debugging logs
- Clickable command links in chat messages
- Version number display in UI
- CurseForge URL integration
- **Enhanced Commands:**
- Added extensive debug commands (`/ilv debug`, `/ilv test`, etc.)
- Added item link extraction and analysis tools
- Added comprehensive testing suite for weapons and armor
- **UI Improvements:**
- Tabbed interface for better organization
- Keyboard-friendly design (no blocking of other UI elements)
- Improved button positioning and layout
- Settings persistence across sessions
### 1.0.0
- Initial release with item level display