From 584e8a8161bdda1cd48693ef89908754d9d1c1a5 Mon Sep 17 00:00:00 2001 From: Remi Date: Sat, 8 Mar 2025 13:14:39 -0700 Subject: [PATCH] Bingo Plugin (#7559) * Plugin for Bingo * Plugin for Bingo * Change for JSON * Added support for Raids (COX, TOA, and TOB), Added a notification for completion of the full board, Added a notification for completion of a row, Added more discord notifications for completions, More refactoring to the code has been done. * Created itemsByName map for O(1) lookups instead of O(n) linear searches improving performance in findAndMarkItem and loadSavedItems methods Optimized Item Processing Reduced redundant string comparisons and list iterations Replaced stream operations with direct for-loop for better performance Eliminated the need to create intermediate collections Added proper clearing of the lookup map when resetting items Improved checkForCompletions to only check diagonals when the item is actually on a diagonal Reduced redundant calculations and boolean variables Refactored more code Fully Asynchronous Screenshot System (Replaced blocking CompletableFuture with a callback-based approach Implemented proper asynchronous handling within the frame listener Used scheduled tasks for retries instead of thread-blocking sleeps) Better error handling and validation throughout Simplified payload creation Fixed issues with Discord webhook attachments * Profile System & Anti-Cheat Implementation - Created comprehensive profile management system allowing multiple bingo events - Implemented profile-specific settings (item lists, URLs, refresh intervals) - Added robust anti-cheat system with acquisition verification and logging - Fixed item persistence issues when switching between profiles - Enhanced profile deletion with automatic profile switching - Improved error handling to prevent deleting the last profile - Implemented settings configuration during profile creation - Streamlined UI with intuitive profile management controls - Optimized code performance and removed unused functionality - Added to the Discord integration webhook for verification --- plugins/betterbingo | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 plugins/betterbingo diff --git a/plugins/betterbingo b/plugins/betterbingo new file mode 100644 index 000000000..9c0776e0f --- /dev/null +++ b/plugins/betterbingo @@ -0,0 +1,3 @@ +repository=https://github.com/ItsRemer/BetterBingo.git +commit=e6ecff2dc2fe32e2a002d0fab181ad5e3b3351a0 +authors=ItsRemer