Ongeki: Fix issue with technical award folder counts not being saved properly #128

Merged
Midorica merged 3 commits from Kumubou/artemis:develop into develop 2024-04-18 21:45:59 +00:00
Contributor

This pull request is to fix an issue reported in #127 regarding technical award counts displayed in-game not being saved properly.

Be aware that this will only completely fix the issue on new accounts, existing accounts will only have the counts from their last session (and going forward) until manually fixed by the operator. There's more notes on how that may be fixed with an external script in the issue report.

This has only been tested on my personal instance with one actively used account and a couple of test accounts, so more testing may be needed.

This pull request is to fix an issue reported in https://gitea.tendokyu.moe/Hay1tsme/artemis/issues/127 regarding technical award counts displayed in-game not being saved properly. Be aware that this will only completely fix the issue on new accounts, existing accounts will only have the counts from their last session (and going forward) until manually fixed by the operator. There's more notes on how that may be fixed with an external script in the issue report. This has only been tested on my personal instance with one actively used account and a couple of test accounts, so more testing may be needed.
Kumubou added 3 commits 2024-04-17 01:49:59 +00:00
Kumubou changed title from Ongeki: Fix issue technical award folder counts not being saved properly to Ongeki: Fix issue with technical award folder counts not being saved properly 2024-04-17 01:50:53 +00:00
Collaborator

Hello Kumubou

May I know if this is ready for merging or did you need to add something else before i approve this?

Thank you!

Hello Kumubou May I know if this is ready for merging or did you need to add something else before i approve this? Thank you!
Author
Contributor

This should be good to go -- all that needed to be done is actually implement get_tech_count, and since the schema for that was already defined all that really needed to be done was have it run the SQL command and return the result (and then cast the result as a dict in handle_get_user_tech_count_api_request, or else the pops won't work and the returned result will end up crashing the game).

I don't know why it's trying to include the original rebasing as one of the commits, although I guess that won't matter once squashed (especially since the calculated file changes look correct).

This should be good to go -- all that needed to be done is actually implement `get_tech_count`, and since the schema for that was already defined all that really needed to be done was have it run the SQL command and return the result (and then cast the result as a dict in `handle_get_user_tech_count_api_request`, or else the pops won't work and the returned result will end up crashing the game). I don't know why it's trying to include the original rebasing as one of the commits, although I guess that won't matter once squashed (especially since the calculated file changes look correct).
Midorica merged commit 36ab38b1ee into develop 2024-04-18 21:45:59 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hay1tsme/artemis#128
No description provided.