File Details
GearGuardian 2.2
- R
- Jan 30, 2026
- 87.19 KB
- 88
- 2.5.5
- Classic TBC
File Name
GearGuardian 2.2.zip
Supported Versions
- 2.5.5
Version 2.2 - Code Refactoring & Bug Fixes
MAJOR CODE IMPROVEMENTS:
• Complete code refactoring - split monolithic file into modular structure
• Professional namespace pattern (GG.FunctionName)
• Easier to add new features and maintain existing ones
BUG FIXES:
• Fixed spec check interval initialization errors
TECHNICAL IMPROVEMENTS:
• Modular file structure:
- core/init.lua - Namespace and library initialization
- core/helpers.lua - Helper functions (GetItemLevel, LibClassicInspector)
- core/config.lua - Configuration system
- modules/enchants.lua - Enchant and gem checking
- modules/gearscore.lua - GearScore calculation
- modules/itemlevel.lua - Item level calculation and display
- modules/comparison.lua - Stat weights and item comparison
- modules/borders.lua - Quality borders and slot updates
- ui/config-panel.lua - Configuration GUI
- ui/tooltips.lua - Tooltip integration
- GearGuardian.lua - Main file with events and slash commands
• Better error handling for item data not yet cached
• Proper initialization sequence for inspect frame
• Fixed character frame hooks for player slots
• Added safety checks for nil values
PERFORMANCE:
• More efficient code loading through modular structure
• Better separation of concerns
• Easier debugging with clear module boundaries
This is a maintenance release focusing on code quality and bug fixes.
All features from version 2.1 are preserved and now work correctly!

