Ongeki: Folder and overall clear counts don't save/display properly #146

Closed
opened 2024-05-26 20:09:12 +00:00 by akanyan · 1 comment
Contributor

#127 described three problems and only one has been solved.

These are still broken on the latest develop:

  • The overall clear count (shown right above the song list, on the left, in a yellow tab).
  • Folder clear count (the x / xxx stat in each folder tab in-game). Note: Folder lamps (battle grade, tech grade, full bell, full combo/all break) do currently work.

The counters increment as you play the game but reset after a re-login.

#127 described three problems and only one has been solved. These are still broken on the latest `develop`: * The overall clear count (shown right above the song list, on the left, in a yellow tab). * Folder clear count (the x / xxx stat in each folder tab in-game). Note: Folder lamps (battle grade, tech grade, full bell, full combo/all break) do currently work. The counters increment as you play the game but reset after a re-login.
Author
Contributor

The game expects an int. With #147, clear counts do show up but they appear to be bollocks because it is possible to overwrite a clear with a non-clear. For example:

select clearStatus,overDamage from ongeki_score_playlog where musicId=830 and level=3 order by userPlayDate asc;

# Here, clearStatus=1 is a draw and clearStatus=2 is a win
clearStatus	overDamage
1	0
0	0
1	0
0	0
2	1493
1	0
1	0
1	0
1	0
1	0
1	0
1	0


select clearStatus from ongeki_score_best where musicId=830 and level=3;

# Here, clearStatus=1 is a win and clearStatus=0 is a loss/draw
clearStatus
0

put_best_score should upsert max(oldClearStatus, newClearStatus) This was caused by the game being fed wrong data. After #147 and https://gitea.tendokyu.moe/akanyan/artemis-ongeki-fix-clear-status, everything works as it should.

The game expects an int. With #147, clear counts do show up but they appear to be bollocks because it is possible to overwrite a clear with a non-clear. For example: ``` select clearStatus,overDamage from ongeki_score_playlog where musicId=830 and level=3 order by userPlayDate asc; # Here, clearStatus=1 is a draw and clearStatus=2 is a win clearStatus overDamage 1 0 0 0 1 0 0 0 2 1493 1 0 1 0 1 0 1 0 1 0 1 0 1 0 select clearStatus from ongeki_score_best where musicId=830 and level=3; # Here, clearStatus=1 is a win and clearStatus=0 is a loss/draw clearStatus 0 ``` ~~`put_best_score` should upsert `max(oldClearStatus, newClearStatus)`~~ This was caused by the game being fed wrong data. After #147 and https://gitea.tendokyu.moe/akanyan/artemis-ongeki-fix-clear-status, everything works as it should.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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#146
No description provided.