Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: prepare for leaderboards #123

Merged
merged 20 commits into from
Jul 3, 2024
Merged

feat: prepare for leaderboards #123

merged 20 commits into from
Jul 3, 2024

Conversation

DarkAtra
Copy link
Owner

@DarkAtra DarkAtra commented Jun 22, 2024

Prepare the project for the leaderboards feature: #83
This PR also heavily refactors the DB schema.

@DarkAtra DarkAtra force-pushed the feat/leaderboards branch 12 times, most recently from 0c4020f to a23aee0 Compare June 23, 2024 18:02
@DarkAtra
Copy link
Owner Author

DarkAtra commented Jun 30, 2024

The jar version of the bot is now mostly functional and only waiting for the following fix to be released to mvn central: nitrite/nitrite-java#990 The jar version of the bot is now fully functional.

The native version is currently failing due to: oracle/graal#7089
I tried both with an older version of GraalVM (the one that used to work up until now) and the most recent version of GraalVM 21. Both are failing with the same error now and i can't narrow down why. There are likely also some runtime hints missing for the new version of nitrite (4.x). It would be great to contribute these hints directly to nitrite.

Open TODOs regarding the leaderboard feature:

  • decide on which leaderboards i want to support in this release (pvp stats, pve stats, ...)
  • expose endpoints to fetch the required data from the bot-companion
  • build discord commands to manage leaderboards

@DarkAtra DarkAtra changed the base branch from main to next July 3, 2024 17:31
@DarkAtra DarkAtra changed the title feat: adds leaderboards [WIP] feat: prepare for leaderboards Jul 3, 2024
@DarkAtra DarkAtra force-pushed the feat/leaderboards branch from 5d7bfd4 to 48b5fcf Compare July 3, 2024 17:43
@DarkAtra DarkAtra marked this pull request as ready for review July 3, 2024 17:43
@DarkAtra DarkAtra merged commit b9710c3 into next Jul 3, 2024
5 checks passed
@DarkAtra DarkAtra deleted the feat/leaderboards branch July 3, 2024 18:26
github-actions bot pushed a commit that referenced this pull request Jul 10, 2024
# [2.11.0-next.1](v2.10.6...v2.11.0-next.1) (2024-07-10)

### Features

* **gh-124:** automated database backups ([496f9d8](496f9d8)), closes [#124](#124)
* prepare for leaderboards ([#123](#123)) ([b9710c3](b9710c3))
DarkAtra added a commit that referenced this pull request Aug 11, 2024
refactor: heavily refactors the database schema and bot commands

chore: update nitrite version from 3.x to 4.x

feat(gh-123): prepare for leaderboards

docs: update documentation

fix: better error handling

fix: improve error messages for ServerQueryClient

fix: native hints for bot companion

chore: add debug log at the start of the update loop

fix: build native image with march=compatibility to support older cpus
github-actions bot pushed a commit that referenced this pull request Aug 11, 2024
# [2.11.0](v2.10.6...v2.11.0) (2024-08-11)

### Features

* **gh-124:** automated database backups ([#125](#125)) ([b2a3e03](b2a3e03)), closes [#124](#124) [#123](#123)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant