v1.03 - November 29th, 2024
- Internal Recovery Module Added
- Introduced
:SafeCall()function to handle retries when a function fails. - The
SafeCallfunction is now used within theAchievementServicemodule for more resilient function calls.
- Introduced
- New Variables
-
MaxRetryLimit- Controls the maximum number of retry attempts (default is 5).
-
RetryDelay- Defines the delay between retry attempts (default is 1 second).
-
- Code Documentation Improvements
- More comments have been added throughout the code to increase legibility and clarify the functionality for developers
-
achievementsService.DefaultsTable- Default values for configurable variables are now stored in the
Defaultstable for easier management.
- Default values for configurable variables are now stored in the
- Initialization Enhancements
-
AutoInitializevariable- Determines whether the module initializes automatically on startup or if developers should initialize it manually.
- Developers can now call
AchievementService.init()again to retry initialization if the first attempt fails. (It is recommended to disableAutoInitializeand handle initialization yourself if you choose to do this.) - Improved checks during initialization for a smoother startup process.
-
- Removed Redundancy
- Removed the redundant
achievementService.Timeoutvariable and more for cleaner and more efficient code.
- Removed the redundant
- New IntValue Dependency (
Duration)- Added an
IntValuecalledDurationinside each AnimationStyle folder. This new value can be used to configure the duration of animations.
- Added an
This update improves both the robustness and flexibility of the AchievementService module, providing developers with more control over initialization and retry logic.