File Details
SuppressGuildAchievements.zip v1.7.5
- R
- Aug 8, 2024
- 9.75 KB
- 43
- 11.0.2
- Retail
File Name
SuppressGuildAchievements.zip
Supported Versions
- 11.0.2
Version 1.7.5
Added Features:
Bug Fix:
/sga clear - Clears text chat history
This wasnt working on 1.7.4
-
Simulated Achievement Popup:
- Function
SimulateAchievementPopupto simulate GUI achievement popups for testing.
- Function
-
New Test Commands:
/sga test1to enable all suppressions and loggings, then run the tests./sga test2to disable all suppressions and loggings, then run the tests./sga test3to suppress GUI achievements and log text achievements only, then run the tests.
-
Comprehensive Status Reporting:
- Enhanced
/sga statusto report the current status of all suppression and logging settings in a clear and ordered manner.
- Enhanced
-
Detailed Load Message:
- Added commands to toggle detailed load messages:
/sga showloadmessage enable/sga showloadmessage disable
- Added commands to toggle detailed load messages:
Removed Features:
- Guild and Personal Achievement Lists:
- Removed the need for
GuildAchievementsListandPersonalAchievementsListto streamline the addon functionality.
- Removed the need for
- Global SaveSettings Functionality:
- Removed global
SaveSettingscalls to simplify code and avoid unnecessary complexity.
- Removed global
Code Restructuring:
-
Commands Restructure:
- Updated command handler to include new test configurations and detailed load message toggling.
-
Functions Restructure:
- Split core functionalities into separate Lua files:
Core.luafor main initialization and setup.Commands.luafor command handling and testing.Functions.luafor suppression and logging functionalities.
- Split core functionalities into separate Lua files:
-
Simplified Function Calls:
- Simplified logging and suppression enabling/disabling functions to ensure they work seamlessly without the need for saved settings.
Bug Fixes:
-
Command Error Handling:
- Fixed errors related to undefined
SaveSettingsby either defining it properly or removing its calls where not necessary.
- Fixed errors related to undefined
-
Achievement Event Handling:
- Enhanced
HandleAchievementEventsto correctly handle suppression and logging of achievement events for guild achievements, guild members' achievements, and personal achievements.
- Enhanced
Detailed Changes
Core.lua
- Added initialization and setup code for the addon.
- Ensured all global variables and settings are correctly initialized.
Commands.lua
- Added new command handler for:
/sga test1/sga test2/sga test3
- Enhanced existing commands to provide better user feedback and logging.
Functions.lua
- Added new functions:
SimulateAchievementPopupRunTestConfig
- Updated functions for enabling/disabling logging and suppression:
EnableLoggingEnableGUILoggingEnableTextLoggingEnableSuppressionEnableGUISuppressionEnableTextSuppression
- Improved event handling in
HandleAchievementEvents.
Instructions for Users
- New Test Commands: Use
/sga test1,/sga test2, and/sga test3
To quickly switch between different states of suppression and logging, and run comprehensive tests. - Detailed Load Message: Toggle detailed load messages using
/sga showloadmessage enableor/sga showloadmessage disable. - Status Reporting: Check the current status of suppression and logging settings using
/sga status.
Future Plans
- Additional customization options for users to define specific achievements to suppress.
- Improved UI for easier management of addon settings.