ada9377c06
ongeki: remove BM card duplicate check
2025-04-09 18:09:41 -04:00
2640f23a00
ongeki: fix opt reader
2025-04-09 00:10:54 -04:00
c955c1ae37
mai2: fix opt reader
2025-04-08 23:45:15 -04:00
9a14e54328
ongeki: add opts to reader
2025-04-08 17:59:19 -04:00
47affd898f
mai2: add opts to reader
2025-04-08 17:42:17 -04:00
e16bfc713a
chuni: add opt to reader
2025-04-08 00:41:49 -04:00
a7077fb41c
mai2: add prism to version lut
2025-04-07 23:16:06 -04:00
311b439cc7
Merge pull request 'chuni: userbox ui and read cleanup' ( #206 ) from daydensteve/artemis-develop-chuni-userbox-ui-fix:develop into develop
...
Reviewed-on: Hay1tsme/artemis#206
2025-04-08 03:14:57 +00:00
ecd4cc205e
Add new KaleidxScope Condition handle method
2025-04-08 08:34:21 +08:00
e757990682
Merge pull request 'develop' ( #5 ) from Hay1tsme/artemis:develop into prism_support
...
Reviewed-on: SoulGateKey/artemis#5
2025-04-08 00:32:33 +00:00
ceee8e3477
Merge branch 'develop' into fix_mai2_present
2025-04-07 23:25:42 +00:00
ed2b6044ff
mai2_item_present fixed
2025-04-08 11:18:40 +08:00
1cab68006d
add opt static tables
2025-04-07 18:31:11 -04:00
eb601e3293
fixed read failures in older chuni versions where sortname doesn't exist. Also noticed some character import errors associated with &
2025-04-05 20:10:07 -04:00
5906bc3486
fixed inappropriate use of character illustration id instead of base character id. The Userbox jinja would break if the profile was using an alternate character illustration
2025-04-05 18:05:00 -04:00
9a7fc007bc
standardization KaleidxScope variable names
2025-04-04 05:42:53 +08:00
3d84e32892
add Kaleidx Scope Support
2025-04-02 09:42:08 +08:00
d77d02c2dd
database add Mai2Prism support
2025-04-02 06:42:28 +08:00
36354ae109
add GetUserKaleidxScopeApi handler
2025-04-02 05:46:44 +08:00
814c4fd284
add GetGameKaleidxScopeApi handler
2025-04-02 04:54:01 +08:00
6821ab6f46
add UploadUserPlaylogListApi handler for Exp version
2025-04-02 04:35:39 +08:00
6b1b607db0
add GetGameMusicScoreApi handler
2025-04-02 04:35:14 +08:00
f4b9f48ed6
add cardmaker support for Prism
2025-04-02 03:07:59 +08:00
fa94c029ca
add GetUserNewItemListApi handler
2025-04-02 03:07:35 +08:00
1d545b2bd2
add const.py of prism
2025-04-02 02:32:34 +08:00
62e61ec975
Merge pull request 'O.N.G.E.K.I. bright MEMORY Act.3 support added' ( #204 ) from feature/ongeki_act3 into develop
...
Reviewed-on: Hay1tsme/artemis#204
2025-03-29 15:23:45 +00:00
f939d4976e
chuni: make total columns BigInt, for #203
2025-03-29 11:22:12 -04:00
fbcc53aeae
ongeki: update ongeki_static_tech_music_uk
2025-03-26 21:20:22 +01:00
a2f71dc553
ongeki: bright MEMORY Act.3 support added
2025-03-26 15:25:34 +01:00
60002a466f
diva: put full name in frontend header
2025-03-25 11:32:12 -04:00
c1fa528e45
chuni: fix frontend 500 if no profile is available
2025-03-25 11:30:44 -04:00
20d9a2da9c
sao: fix frontend
2025-03-22 00:58:56 -04:00
afdcd9a731
mai2: remove print statements from frontend
2025-03-22 00:58:49 -04:00
cdd46d51b7
chuni: fix favorite music list
2025-03-02 18:34:06 +01:00
360dfdfdc1
Merge pull request 'ongeki: use the latest applicable version' ( #200 ) from akanyan/artemis:fix/ongeki/versions into develop
...
Reviewed-on: Hay1tsme/artemis#200
2025-02-22 15:24:55 +00:00
0f52b89033
remove deprecated warn
2025-02-21 23:51:59 -05:00
f3f0569755
Fixes Capitalization on CrossBeats Read.py
2025-01-27 19:50:49 +00:00
59a3c28134
ongeki: use the latest applicable version
2025-01-20 22:34:05 +00:00
b62e9beb67
Merge pull request 'ongeki: proper handling of music ranking list' ( #195 ) from akanyan/artemis:feat/ongeki/music-ranking into develop
...
Reviewed-on: Hay1tsme/artemis#195
2025-01-14 02:31:51 +00:00
fa667d15f2
ongeki: proper handling of music ranking list
2025-01-06 18:39:49 +00:00
ab64eea5c9
ongeki: read music version from the xml
2024-12-30 18:31:22 +00:00
e8c90634b6
Merge pull request '[chunithm] fix rival music not showing up in game' ( #190 ) from beerpsi/artemis:fix/chunithm/rivals into develop
...
Reviewed-on: Hay1tsme/artemis#190
2024-12-19 06:14:10 +00:00
5475b52336
[chunithm] support luminous+
2024-12-19 13:03:37 +07:00
e8ea328e77
mai2: add add_consec_login
call if get_consec_login
returns None #189
2024-12-15 20:21:03 -05:00
1dceff456d
cxb: added missing r which fixes an issue on ubuntu 24.04.1
2024-12-15 20:16:18 -05:00
fe8f365d8a
[chunithm] fix rival music not showing up in game
2024-12-12 20:49:39 +07:00
383859388e
chuni: fix 'NoneType' object has no attribute 'split' in score.py
2024-11-29 22:20:55 -05:00
58a5177a30
use SQL's limit/offset pagination for nextIndex/maxCount requests ( #185 )
...
Instead of retrieving the entire list of items/characters/scores/etc. at once (and even store them in memory), use SQL's `LIMIT ... OFFSET ...` pagination so we only take what we need.
Currently only CHUNITHM uses this, but this will also affect maimai DX and O.N.G.E.K.I. once the PR is ready.
Also snuck in a fix for CHUNITHM/maimai DX's `GetUserRivalMusicApi` to respect the `userRivalMusicLevelList` sent by the client.
### How this works
Say we have a `GetUserCharacterApi` request:
```json
{
"userId": 10000,
"maxCount": 700,
"nextIndex": 0
}
```
Instead of getting the entire character list from the database (which can be very large if the user force unlocked everything), add limit/offset to the query:
```python
select(character)
.where(character.c.user == user_id)
.order_by(character.c.id.asc())
.limit(max_count + 1)
.offset(next_index)
```
The query takes `maxCount + 1` items from the database to determine if there is more items than can be returned:
```python
rows = ...
if len(rows) > max_count:
# return only max_count rows
next_index += max_count
else:
# return everything left
next_index = -1
```
This has the benefit of not needing to load everything into memory (and also having to store server state, as seen in the [`SCORE_BUFFER` list](2274b42358/titles/chuni/base.py (L13)
).)
Reviewed-on: Hay1tsme/artemis#185
Co-authored-by: beerpsi <beerpsi@duck.com >
Co-committed-by: beerpsi <beerpsi@duck.com >
2024-11-16 19:10:29 +00:00
cb009f6e23
wacca: tiny cleanup
2024-11-14 12:39:21 -05:00
1331d473c9
Merge pull request '[mai2] Implement GetGameRankingAPI . Fix photo merge , Add UserScoreRankingAPI handler' ( #181 ) from SoulGateKey/artemis:develop into develop
...
Reviewed-on: Hay1tsme/artemis#181
2024-11-13 05:37:00 +00:00