aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin
AgeCommit message (Collapse)Author
2023-02-16ApiCache: Fix apparent NullPointerExceptionfix/apicache-nullpointernea
`CacheResult` should in theory have either a `file != null` a `future != null` or be `disposed`. Apparently this invariant of `CacheResult` is either being violated somewhere, or the `synchronized` blocks arent as synchronized as id hoped they were. In fact, `dispose()` does not even delete the file, so i can really only see this happening because the first `synchronized` block that writes the file and the second `synchronized` block that reads from the file hold the same lock. I have no idea how this would happen, but hopefully this fixes it (since the dispose didn't have a threading issue reported so far, i feel more confident leaving the .deleteOnExit in there, but I'm also wrapping any potential IOExceptions during access, because I am just so confused how the internal state was broken.
2023-02-15 ApiUtil: Add cache with per request timeout and per class histogram (#592)Roman / Linnea Gräf
* ApiUtil: Add cache with per request timeout and per class histogram * MinionHelper: Only load minion helper data when needed * Api: Make api response processing more async. * Lower cache for /pv to 30 seconds and rename cacheDuration to max age * Disk cache for the API
2023-02-15API errors in console (#610)hannibal2
* Print api errors in console. * No reason not to just append. * Censor API Key --------- Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: nea <nea@nea.moe>
2023-02-13Fix Muscle Memory (#581)hannibal2
* Added old SkyBlock Menu. * Execution! * Add cache. * Bingo has already enough to do. * Typo. * Revert "Typo." This reverts commit b4a1c385e0c410b1e111797b8d39e7ff64b09ef5. * Revert "Bingo has already enough to do." This reverts commit 6e004d2d65dff47ea3bee5c5789cb725724df6ed. * I am lazy. * The map is lazy too. * Hypixel moving features behind paywall. * Add red text to the setting too. * SEALED * Fixed Booster Cookie checks. Reworked CookieWarning, kept same logic but accidentally added profile switch support. * /trades does not require booster cookie. * Allowing middle clicks (and any other mouse click combination) --------- Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
2023-02-06Fixed Lags: Magical power in SkyBlock Menu (#587)hannibal2
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
2023-01-31Levels page in Profile Viewer (#562)efefury
* ughidontwannafigureouthowtousethis * not finished hgdt< * Make use of new collections api in collectionspage * final commit HOPEFULLY * fix infer v1 * fix mithril powder going over cap my beloved * Formatting :thumbsup: * More Formatting :thumbsup: important * ea sports its in the game * maybe fix cache * change location of weight and networth and config option for weght requested by alea * Fix jump at CAP powder * Code formatting and deleted unused variables. * Used KUUDRA_TIERS array from CrimsonIslePage in SlayingTaskLevel. * Used SLAYERS array from PROFILEVIEWER in SlayingTaskLevel. * Intellij Code Cleanup. * revert fun things Please efe put formatting in another PR. * fix issues idk * Import fixes and formatting. And an unnecessary empty space in 2.1.1 for jani. * fix nea issue --------- Co-authored-by: nea <nea@nea.moe> Co-authored-by: jani270 <jani270@gmx.de> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
2023-01-31 Add EnforcedConfigValues: Allow disabling options via the repo (#535)Roman / Linnea Gräf
* Add EnforcedConfigValues: Allow disabling options via the repo * EnforcedConfigValues: Allow filtering for mod version * nitpicking
2023-01-25Annotation registering (and also some comptime performance) (#554)Roman / Linnea Gräf
2023-01-13PetLeveling: Allow for defining custom level offsets for pets (#534)Roman / Linnea Gräf
2022-12-27Craft cost price calculation improved (#511)hannibal2
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
2022-12-25PetLeveling: return stub exp ladder on misformed repo data (#508)Roman / Linnea Gräf
2022-12-22PetLeveling: Fix non legendary pets being able to be leveled above 100 (#499)Roman / Linnea Gräf
2022-12-09Katting (#447)Roman / Linnea Gräf
Co-authored-by: nea <romangraef@gmail.com> Co-authored-by: nea <roman.graef@gmail.com> Co-authored-by: nea <nea@nea.moe> Co-authored-by: nea <romangraef@loves.dicksinhisan.us> Co-authored-by: nea <roman.graef@grb-online.net> Co-authored-by: nea <hello@nea89.moe> Co-authored-by: nea <roman.graef@stud.tu-darmstadt.de>