Compare commits
20
Commits
2647baef1e
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56521b625a | ||
|
|
aaaab7168a | ||
|
|
00e1147553 | ||
|
|
d400a0be4b | ||
|
|
31ca45fc68 | ||
|
|
ee667b9ea5 | ||
|
|
c12272feab | ||
|
|
2a8a4880c2 | ||
|
|
5c497032f1 | ||
|
|
06a7fdb1b1 | ||
|
|
68bbde209a | ||
|
|
02cee4198d | ||
|
|
b5715b8da6 | ||
|
|
ec7605eeb0 | ||
|
|
b5e7a59b5f | ||
|
|
d09f3e9907 | ||
|
|
add85aeab7 | ||
|
|
a497a9806d | ||
|
|
e88e1f82f8 | ||
|
|
1e84a50330 |
No files matched your search
@@ -156,7 +156,6 @@ cert/*
|
||||
!cert/billing.key
|
||||
!cert/server.key
|
||||
!cert/server.pem
|
||||
config/*
|
||||
deliver/*
|
||||
*.gz
|
||||
|
||||
|
||||
@@ -1,6 +1,36 @@
|
||||
# Changelog
|
||||
Documenting updates to ARTEMiS, to be updated every time the master branch is pushed to.
|
||||
|
||||
## 20240811
|
||||
### System
|
||||
+ Change backend from Twisted to Starlette
|
||||
+ Implement async handlers
|
||||
+ Reboot times for multiple games have been fixed (thanks zaphkito!)
|
||||
|
||||
### Frontend
|
||||
+ Edit button changed to View on the user page, and is where you can edit the card memo
|
||||
+ Add card now works as it should
|
||||
+ Add event log viewer in the `sys` page for sysadmins
|
||||
+ Add pages for Pokken, SAO, and maimai
|
||||
|
||||
### AimeDB
|
||||
+ Now rejects all-zero access codes
|
||||
+ Stores card IDm (for AmusementIC) and MiFare ID (for old aime/banapass)
|
||||
+ ...unless that MiFare ID is 0x01020304 (the default for segatools)
|
||||
|
||||
### maimai
|
||||
+ Add support for BUDDiES
|
||||
+ Rivals and Favorite Music support
|
||||
|
||||
### Wacca
|
||||
+ Add option to block unregistered serials from accessing the title server
|
||||
|
||||
### DIVA
|
||||
+ Fix for reading modded content (Thanks ThatzOkay!)
|
||||
|
||||
### CHUNITHM
|
||||
+ Save net battle info
|
||||
|
||||
## 20240630
|
||||
### DIVA
|
||||
+ Added configurable festa options'
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
# extra steps
|
||||
|
||||
## reset chuni config (chuni.yaml)
|
||||
|
||||
```yaml
|
||||
server:
|
||||
enable: True
|
||||
loglevel: "debug"
|
||||
news_msg: ""
|
||||
use_https: True # for CRYSTAL PLUS and later or SUPERSTAR and later
|
||||
|
||||
team:
|
||||
name: ARTEMiS # If this is set, all players that are not on a team will use this one by default.
|
||||
|
||||
mods:
|
||||
use_login_bonus: True
|
||||
# stock_tickets allows specified ticket IDs to be auto-stocked at login. Format is a comma-delimited string of ticket IDs
|
||||
# note: quanity is not refreshed on "continue" after set - only on subsequent login
|
||||
stock_tickets:
|
||||
stock_count: 99
|
||||
|
||||
# Allow use of all available customization items in frontend web ui
|
||||
# note: This effectively makes every available item appear to be in the user's inventory. It does _not_ override the "disableFlag" setting on individual items
|
||||
# warning: This can result in pushing a lot of data, especially the userbox items. Recommended for local network use only.
|
||||
forced_item_unlocks:
|
||||
map_icons: False
|
||||
system_voices: False
|
||||
avatar_accessories: False
|
||||
nameplates: False
|
||||
trophies: False
|
||||
character_icons: False
|
||||
stages: False
|
||||
|
||||
version:
|
||||
11:
|
||||
rom: 2.00.00
|
||||
data: 2.00.00
|
||||
12:
|
||||
rom: 2.05.00
|
||||
data: 2.05.00
|
||||
13:
|
||||
rom: 2.10.00
|
||||
data: 2.10.00
|
||||
14:
|
||||
rom: 2.15.00
|
||||
data: 2.15.00
|
||||
15:
|
||||
rom: 2.20.00
|
||||
data: 2.20.00
|
||||
16:
|
||||
rom: 2.25.00
|
||||
data: 2.25.00
|
||||
17:
|
||||
rom: 2.30.00
|
||||
data: 2.30.00
|
||||
18:
|
||||
rom: 2.40.00
|
||||
data: 2.40.00
|
||||
|
||||
crypto:
|
||||
encrypted_only: False
|
||||
|
||||
matching:
|
||||
enable: False
|
||||
match_time_limit: 60
|
||||
match_error_limit: 9999
|
||||
```
|
||||
|
||||
## set maintenance start time to same as end time (core.yaml)
|
||||
|
||||
```yaml
|
||||
title:
|
||||
loglevel: "info"
|
||||
reboot_start_time: "07:00"
|
||||
reboot_end_time: "07:00" # this must be set to 7:00 am for some game, please do not change it
|
||||
```
|
||||
|
||||
## adjust mysql database
|
||||
|
||||
```sql
|
||||
-- Add missing columns to profile table
|
||||
ALTER TABLE chuni_profile_data
|
||||
ADD COLUMN stageId INTEGER DEFAULT 0,
|
||||
ADD COLUMN trophyIdSub1 INTEGER DEFAULT -1,
|
||||
ADD COLUMN trophyIdSub2 INTEGER DEFAULT -1;
|
||||
|
||||
-- Add missing columns to playlog table
|
||||
ALTER TABLE chuni_score_playlog
|
||||
ADD COLUMN monthPoint INTEGER DEFAULT 0,
|
||||
ADD COLUMN eventPoint INTEGER DEFAULT 0;
|
||||
```
|
||||
File renamed without changes.
@@ -0,0 +1,61 @@
|
||||
server:
|
||||
enable: True
|
||||
loglevel: "debug"
|
||||
news_msg: ""
|
||||
use_https: True # for CRYSTAL PLUS and later or SUPERSTAR and later
|
||||
|
||||
team:
|
||||
name: ARTEMiS # If this is set, all players that are not on a team will use this one by default.
|
||||
|
||||
mods:
|
||||
use_login_bonus: True
|
||||
# stock_tickets allows specified ticket IDs to be auto-stocked at login. Format is a comma-delimited string of ticket IDs
|
||||
# note: quanity is not refreshed on "continue" after set - only on subsequent login
|
||||
stock_tickets:
|
||||
stock_count: 99
|
||||
|
||||
# Allow use of all available customization items in frontend web ui
|
||||
# note: This effectively makes every available item appear to be in the user's inventory. It does _not_ override the "disableFlag" setting on individual items
|
||||
# warning: This can result in pushing a lot of data, especially the userbox items. Recommended for local network use only.
|
||||
forced_item_unlocks:
|
||||
map_icons: False
|
||||
system_voices: False
|
||||
avatar_accessories: False
|
||||
nameplates: False
|
||||
trophies: False
|
||||
character_icons: False
|
||||
stages: False
|
||||
|
||||
version:
|
||||
11:
|
||||
rom: 2.00.00
|
||||
data: 2.00.00
|
||||
12:
|
||||
rom: 2.05.00
|
||||
data: 2.05.00
|
||||
13:
|
||||
rom: 2.10.00
|
||||
data: 2.10.00
|
||||
14:
|
||||
rom: 2.15.00
|
||||
data: 2.15.00
|
||||
15:
|
||||
rom: 2.20.00
|
||||
data: 2.20.00
|
||||
16:
|
||||
rom: 2.25.00
|
||||
data: 2.25.00
|
||||
17:
|
||||
rom: 2.30.00
|
||||
data: 2.30.00
|
||||
18:
|
||||
rom: 2.40.00
|
||||
data: 2.40.00
|
||||
|
||||
crypto:
|
||||
encrypted_only: False
|
||||
|
||||
matching:
|
||||
enable: False
|
||||
match_time_limit: 60
|
||||
match_error_limit: 9999
|
||||
@@ -7,7 +7,7 @@ server:
|
||||
allow_user_registration: True
|
||||
allow_unregistered_serials: True
|
||||
name: "ARTEMiS"
|
||||
is_develop: True
|
||||
is_develop: False
|
||||
is_using_proxy: False
|
||||
proxy_port: 0
|
||||
proxy_port_ssl: 0
|
||||
@@ -17,13 +17,13 @@ server:
|
||||
|
||||
title:
|
||||
loglevel: "info"
|
||||
reboot_start_time: "04:00"
|
||||
reboot_start_time: "07:00"
|
||||
reboot_end_time: "07:00" # this must be set to 7:00 am for some game, please do not change it
|
||||
|
||||
database:
|
||||
host: "localhost"
|
||||
username: "aime"
|
||||
password: "aime"
|
||||
password: "password"
|
||||
name: "aime"
|
||||
port: 3306
|
||||
protocol: "mysql"
|
||||
@@ -33,7 +33,7 @@ database:
|
||||
memcached_host: "localhost"
|
||||
|
||||
frontend:
|
||||
enable: False
|
||||
enable: True
|
||||
port: 8080
|
||||
loglevel: "info"
|
||||
secret: ""
|
||||
@@ -55,10 +55,10 @@ billing:
|
||||
|
||||
aimedb:
|
||||
enable: True
|
||||
listen_address: ""
|
||||
listen_address: "0.0.0.0"
|
||||
loglevel: "info"
|
||||
port: 22345
|
||||
key: ""
|
||||
key: "Copyright(C)SEGA"
|
||||
id_secret: ""
|
||||
id_lifetime_seconds: 86400
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -36,6 +36,10 @@ version:
|
||||
card_maker: 1.30.01
|
||||
7:
|
||||
card_maker: 1.35.03
|
||||
8: # O.N.G.E.K.I. ReFresh
|
||||
card_maker: 1.35.03
|
||||
9: # O.N.G.E.K.I. ReFresh +
|
||||
card_maker: 1.35.03
|
||||
|
||||
crypto:
|
||||
encrypted_only: False
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -2,5 +2,5 @@ from .base import ADBBaseRequest, ADBBaseResponse, ADBHeader, ADBHeaderException
|
||||
from .base import CompanyCodes, ReaderFwVer, CMD_CODE_GOODBYE, HEADER_SIZE
|
||||
from .lookup import ADBLookupRequest, ADBLookupResponse, ADBLookupExResponse
|
||||
from .campaign import ADBCampaignClearRequest, ADBCampaignClearResponse, ADBCampaignResponse, ADBOldCampaignRequest, ADBOldCampaignResponse
|
||||
from .felica import ADBFelicaLookupRequest, ADBFelicaLookupResponse, ADBFelicaLookup2Request, ADBFelicaLookup2Response
|
||||
from .felica import ADBFelicaLookupRequest, ADBFelicaLookupResponse, ADBFelicaLookupExRequest, ADBFelicaLookupExResponse
|
||||
from .log import ADBLogExRequest, ADBLogRequest, ADBStatusLogRequest, ADBLogExResponse
|
||||
@@ -35,7 +35,7 @@ class ADBFelicaLookupResponse(ADBBaseResponse):
|
||||
|
||||
return self.head.make() + resp_struct
|
||||
|
||||
class ADBFelicaLookup2Request(ADBBaseRequest):
|
||||
class ADBFelicaLookupExRequest(ADBBaseRequest):
|
||||
def __init__(self, data: bytes) -> None:
|
||||
super().__init__(data)
|
||||
self.random = struct.unpack_from("<16s", data, 0x20)[0]
|
||||
@@ -46,7 +46,7 @@ class ADBFelicaLookup2Request(ADBBaseRequest):
|
||||
self.company = CompanyCodes(int.from_bytes(company, 'little'))
|
||||
self.fw_ver = ReaderFwVer.from_byte(fw_ver)
|
||||
|
||||
class ADBFelicaLookup2Response(ADBBaseResponse):
|
||||
class ADBFelicaLookupExResponse(ADBBaseResponse):
|
||||
def __init__(self, user_id: Union[int, None] = None, access_code: Union[str, None] = None, game_id: str = "SXXX", store_id: int = 1, keychip_id: str = "A69E01A8888", code: int = 0x12, length: int = 0x130, status: int = 1) -> None:
|
||||
super().__init__(code, length, status, game_id, store_id, keychip_id)
|
||||
self.user_id = user_id if user_id is not None else -1
|
||||
@@ -56,7 +56,7 @@ class ADBFelicaLookup2Response(ADBBaseResponse):
|
||||
self.auth_key = [0] * 256
|
||||
|
||||
@classmethod
|
||||
def from_req(cls, req: ADBHeader, user_id: Union[int, None] = None, access_code: Union[str, None] = None) -> "ADBFelicaLookup2Response":
|
||||
def from_req(cls, req: ADBHeader, user_id: Union[int, None] = None, access_code: Union[str, None] = None) -> "ADBFelicaLookupExResponse":
|
||||
c = cls(user_id, access_code, req.game_id, req.store_id, req.keychip_id)
|
||||
c.head.protocol_ver = req.protocol_ver
|
||||
return c
|
||||
|
||||
+41
-2
@@ -176,6 +176,12 @@ class AimedbServlette():
|
||||
|
||||
async def handle_lookup(self, data: bytes, resp_code: int) -> ADBBaseResponse:
|
||||
req = ADBLookupRequest(data)
|
||||
if req.access_code == "00000000000000000000":
|
||||
self.logger.warn(f"All-zero access code from {req.head.keychip_id}")
|
||||
ret = ADBLookupResponse.from_req(req.head, -1)
|
||||
ret.head.status = ADBStatus.BAN_SYS
|
||||
return ret
|
||||
|
||||
user_id = await self.data.card.get_user_id_from_card(req.access_code)
|
||||
is_banned = await self.data.card.get_card_banned(req.access_code)
|
||||
is_locked = await self.data.card.get_card_locked(req.access_code)
|
||||
@@ -201,6 +207,12 @@ class AimedbServlette():
|
||||
|
||||
async def handle_lookup_ex(self, data: bytes, resp_code: int) -> ADBBaseResponse:
|
||||
req = ADBLookupRequest(data)
|
||||
if req.access_code == "00000000000000000000":
|
||||
self.logger.warn(f"All-zero access code from {req.head.keychip_id}")
|
||||
ret = ADBLookupExResponse.from_req(req.head, -1)
|
||||
ret.head.status = ADBStatus.BAN_SYS
|
||||
return ret
|
||||
|
||||
user_id = await self.data.card.get_user_id_from_card(req.access_code)
|
||||
|
||||
is_banned = await self.data.card.get_card_banned(req.access_code)
|
||||
@@ -241,6 +253,12 @@ class AimedbServlette():
|
||||
"""
|
||||
req = ADBFelicaLookupRequest(data)
|
||||
idm = req.idm.zfill(16)
|
||||
if idm == "0000000000000000":
|
||||
self.logger.warn(f"All-zero IDm from {req.head.keychip_id}")
|
||||
ret = ADBFelicaLookupResponse.from_req(req.head, "00000000000000000000")
|
||||
ret.head.status = ADBStatus.BAN_SYS
|
||||
return ret
|
||||
|
||||
card = await self.data.card.get_card_by_idm(idm)
|
||||
if not card:
|
||||
ac = self.data.card.to_access_code(idm)
|
||||
@@ -262,6 +280,14 @@ class AimedbServlette():
|
||||
because we don't implement felica_lookup properly.
|
||||
"""
|
||||
req = ADBFelicaLookupRequest(data)
|
||||
idm = req.idm.zfill(16)
|
||||
|
||||
if idm == "0000000000000000":
|
||||
self.logger.warn(f"All-zero IDm from {req.head.keychip_id}")
|
||||
ret = ADBFelicaLookupResponse.from_req(req.head, "00000000000000000000")
|
||||
ret.head.status = ADBStatus.BAN_SYS
|
||||
return ret
|
||||
|
||||
ac = self.data.card.to_access_code(req.idm)
|
||||
|
||||
if self.config.server.allow_user_registration:
|
||||
@@ -292,9 +318,16 @@ class AimedbServlette():
|
||||
return ADBFelicaLookupResponse.from_req(req.head, ac)
|
||||
|
||||
async def handle_felica_lookup_ex(self, data: bytes, resp_code: int) -> bytes:
|
||||
req = ADBFelicaLookup2Request(data)
|
||||
req = ADBFelicaLookupExRequest(data)
|
||||
user_id = None
|
||||
idm = req.idm.zfill(16)
|
||||
|
||||
if idm == "0000000000000000":
|
||||
self.logger.warn(f"All-zero IDm from {req.head.keychip_id}")
|
||||
ret = ADBFelicaLookupExResponse.from_req(req.head, -1, "00000000000000000000")
|
||||
ret.head.status = ADBStatus.BAN_SYS
|
||||
return ret
|
||||
|
||||
card = await self.data.card.get_card_by_idm(idm)
|
||||
if not card:
|
||||
access_code = self.data.card.to_access_code(idm)
|
||||
@@ -314,7 +347,7 @@ class AimedbServlette():
|
||||
f"idm {idm} ipm {req.pmm} -> access_code {access_code} user_id {user_id}"
|
||||
)
|
||||
|
||||
resp = ADBFelicaLookup2Response.from_req(req.head, user_id, access_code)
|
||||
resp = ADBFelicaLookupExResponse.from_req(req.head, user_id, access_code)
|
||||
|
||||
if user_id > 0:
|
||||
if card['is_banned'] and card['is_locked']:
|
||||
@@ -347,6 +380,12 @@ class AimedbServlette():
|
||||
async def handle_register(self, data: bytes, resp_code: int) -> bytes:
|
||||
req = ADBLookupRequest(data)
|
||||
user_id = -1
|
||||
|
||||
if req.access_code == "00000000000000000000":
|
||||
self.logger.warn(f"All-zero access code from {req.head.keychip_id}")
|
||||
ret = ADBLookupResponse.from_req(req.head, -1)
|
||||
ret.head.status = ADBStatus.BAN_SYS
|
||||
return ret
|
||||
|
||||
if self.config.server.allow_user_registration:
|
||||
user_id = await self.data.user.create_user()
|
||||
|
||||
+78
-16
@@ -479,7 +479,8 @@ class FE_User(FE_Base):
|
||||
'chip_id': c['chip_id'],
|
||||
'idm': c['idm'],
|
||||
'type': c_type,
|
||||
"memo": c['memo']
|
||||
"memo": c['memo'],
|
||||
"id": c['id'],
|
||||
})
|
||||
|
||||
if "e" in request.query_params:
|
||||
@@ -522,39 +523,100 @@ class FE_User(FE_Base):
|
||||
return RedirectResponse("/gate/", 303)
|
||||
|
||||
frm = await request.form()
|
||||
ac = frm.get("add_access_code", None)
|
||||
cid = frm.get("card_edit_frm_card_id", None)
|
||||
if not cid:
|
||||
return RedirectResponse("/user/?e=999", 303)
|
||||
|
||||
ac = frm.get("card_edit_frm_access_code", None)
|
||||
if not ac:
|
||||
return RedirectResponse("/user/?e=999", 303)
|
||||
|
||||
card = await self.data.card.get_card_by_access_code(ac)
|
||||
card = await self.data.card.get_card_by_id(cid)
|
||||
if not card:
|
||||
return RedirectResponse("/user/?e=2", 303)
|
||||
|
||||
if card['user'] != usr_sesh.user_id and not self.test_perm_minimum(usr_sesh.permissions, PermissionOffset.USERMOD):
|
||||
return RedirectResponse("/user/?e=11", 303)
|
||||
|
||||
if frm.get("add_memo", None):
|
||||
if frm.get("add_memo", None) or frm.get("add_memo", None) == "":
|
||||
memo = frm.get("add_memo")
|
||||
if len(memo) > 16 or len(memo) == 0:
|
||||
if len(memo) > 16:
|
||||
return RedirectResponse("/user/?e=4", 303)
|
||||
await self.data.card.set_memo_by_access_code(ac, memo)
|
||||
|
||||
if frm.get("add_felica_idm", None):
|
||||
idm = frm.get('add_felica_idm')
|
||||
if not all(c in string.hexdigits for c in idm):
|
||||
return RedirectResponse("/user/?e=4", 303)
|
||||
await self.data.card.set_idm_by_access_code(ac, idm)
|
||||
if False: # Saving this in case I want to allow editing idm/chip ID down the line
|
||||
if frm.get("add_felica_idm", None):
|
||||
idm = frm.get('add_felica_idm')
|
||||
if not all(c in string.hexdigits for c in idm):
|
||||
return RedirectResponse("/user/?e=4", 303)
|
||||
await self.data.card.set_idm_by_access_code(ac, idm)
|
||||
|
||||
if frm.get("add_mifare_chip_id", None):
|
||||
chip_id: str = frm.get('add_mifare_chip_id')
|
||||
if not all(c in string.hexdigits for c in idm):
|
||||
return RedirectResponse("/user/?e=4", 303)
|
||||
await self.data.card.set_chip_id_by_access_code(ac, int(chip_id, 16))
|
||||
if frm.get("add_mifare_chip_id", None):
|
||||
chip_id: str = frm.get('add_mifare_chip_id')
|
||||
if not all(c in string.hexdigits for c in idm):
|
||||
return RedirectResponse("/user/?e=4", 303)
|
||||
await self.data.card.set_chip_id_by_access_code(ac, int(chip_id, 16))
|
||||
|
||||
return RedirectResponse("/user/?s=4", 303)
|
||||
|
||||
async def add_card(self, request: Request) -> RedirectResponse:
|
||||
return RedirectResponse("/user/", 303)
|
||||
frm = await request.form()
|
||||
card_type = frm.get("card_add_frm_type", None)
|
||||
access_code = frm.get("add_access_code", None)
|
||||
idm = frm.get("add_idm", None)
|
||||
idm_caps = None
|
||||
|
||||
usr_sesh = self.validate_session(request)
|
||||
if not usr_sesh or not self.test_perm(usr_sesh.permissions, PermissionOffset.USERMOD):
|
||||
return RedirectResponse("/gate/", 303)
|
||||
|
||||
if not len(access_code) == 20 or (not access_code.startswith("5") and not access_code.startswith("3") \
|
||||
and not access_code.startswith("010") and not access_code.startswith("0008")):
|
||||
return RedirectResponse("/user/?e=4", 303)
|
||||
|
||||
if card_type == "0" and access_code.startswith("5") and len(idm) == 16:
|
||||
idm_caps = idm.upper()
|
||||
|
||||
if not all([x in string.hexdigits for x in idm_caps]):
|
||||
return RedirectResponse("/user/?e=4", 303)
|
||||
|
||||
if access_code.startswith("5") and not idm_caps:
|
||||
return RedirectResponse("/user/?e=13", 303)
|
||||
|
||||
test = await self.data.card.get_card_by_access_code(access_code)
|
||||
if test:
|
||||
return RedirectResponse("/user/?e=12", 303)
|
||||
|
||||
if idm_caps:
|
||||
test = await self.data.card.get_card_by_idm(idm_caps)
|
||||
if test and test['user'] != usr_sesh.user_id:
|
||||
return RedirectResponse("/user/?e=12", 303)
|
||||
|
||||
test = await self.data.card.get_card_by_access_code(self.data.card.to_access_code(idm_caps))
|
||||
if test:
|
||||
if test['user'] != usr_sesh.user_id:
|
||||
return RedirectResponse("/user/?e=12", 303)
|
||||
|
||||
await self.data.card.set_access_code_by_access_code(test['access_code'], access_code)
|
||||
self.logger.info(f"Update card {test['id']} from {test['access_code']} to {access_code} for user {usr_sesh.user_id}")
|
||||
|
||||
await self.data.card.set_idm_by_access_code(access_code, idm_caps)
|
||||
self.logger.info(f"Set IDm for card {access_code} to {idm_caps}")
|
||||
return RedirectResponse("/user/?s=1", 303)
|
||||
|
||||
if card_type == "0" and access_code.startswith("0008"):
|
||||
test = await self.data.card.get_card_by_idm(self.data.card.to_idm(access_code))
|
||||
if test:
|
||||
return RedirectResponse("/user/?e=12", 303)
|
||||
|
||||
new_card = await self.data.card.create_card(usr_sesh.user_id, access_code)
|
||||
self.logger.info(f"Created new card {new_card} with access code {access_code} for user {usr_sesh.user_id}")
|
||||
|
||||
if idm_caps:
|
||||
await self.data.card.set_idm_by_access_code(access_code, idm_caps)
|
||||
self.logger.info(f"Set IDm for card {access_code} to {idm_caps}")
|
||||
|
||||
return RedirectResponse("/user/?s=1", 303)
|
||||
|
||||
async def render_POST(self, request: Request):
|
||||
frm = await request.form()
|
||||
|
||||
@@ -28,12 +28,28 @@ function toggle_add_card_form() {
|
||||
}
|
||||
}
|
||||
|
||||
function prep_edit_form(access_code, chip_id, idm, card_type, u_memo) {
|
||||
function toggle_idm_disabled(is_disabled) {
|
||||
document.getElementById("btn_add_card");
|
||||
let dv = document.getElementById("add_card_container")
|
||||
|
||||
if (dv.style['display'] != "") {
|
||||
btn.innerText = "Cancel";
|
||||
dv.style['display'] = "";
|
||||
} else {
|
||||
btn.innerText = "Add";
|
||||
dv.style['display'] = "none";
|
||||
}
|
||||
}
|
||||
|
||||
function prep_edit_form(access_code, chip_id, idm, card_type, u_memo, card_id) {
|
||||
ac = document.getElementById("card_edit_frm_access_code");
|
||||
cid = document.getElementById("card_edit_frm_chip_id");
|
||||
fidm = document.getElementById("card_edit_frm_idm");
|
||||
memo = document.getElementById("card_edit_frm_memo");
|
||||
|
||||
|
||||
document.getElementById("card_edit_frm_card_id").value = card_id;
|
||||
|
||||
if (chip_id == "None" || chip_id == undefined) {
|
||||
chip_id = ""
|
||||
}
|
||||
@@ -52,7 +68,7 @@ function prep_edit_form(access_code, chip_id, idm, card_type, u_memo) {
|
||||
if (access_code.startsWith("3") || access_code.startsWith("010")) {
|
||||
cid.disabled = false;
|
||||
fidm.disabled = true;
|
||||
} else if (access_code.startsWith("5")) {
|
||||
} else if (access_code.startsWith("5") || access_code.startsWith("0008")) {
|
||||
cid.disabled = true;
|
||||
fidm.disabled = false;
|
||||
} else {
|
||||
@@ -87,9 +103,23 @@ Card added successfully
|
||||
{% endif %}
|
||||
<div id="add_card_container" style="display: none; max-width: 33%;">
|
||||
<form action="/user/add.card" method="post", id="frm_add_card">
|
||||
<div class="form-check">
|
||||
<input type="radio" id="card_add_frm_type_aicc" value="0" name="card_add_frm_type" aria-describedby="aicc_help" onclick="document.getElementById('card_add_frm_idm').disabled = false;">
|
||||
<label class="form-label" for="card_add_frm_type_aicc">AmusementIC</label>
|
||||
<div id="aicc_help" class="form-text">Starts with 5. If you don't have the IDm, use the 0008 access code shown in-game</div>
|
||||
<br>
|
||||
<input type="radio" id="card_add_frm_type_old" value="1" name="card_add_frm_type" aria-describedby="old_help" onclick="document.getElementById('card_add_frm_idm').disabled = true;">
|
||||
<label class="form-label" for="card_add_frm_type_old">Old Aime/Banapass</label>
|
||||
<div id="old_help" class="form-text">Starts with 010 (aime) or 3 (banapass)</div>
|
||||
</div>
|
||||
|
||||
<label class="form-label" for="card_add_frm_access_code">Access Code:</label>
|
||||
<input class="form-control" name="add_access_code" id="card_add_frm_access_code" maxlength="20" type="text" required aria-describedby="ac_help">
|
||||
<div id="ac_help" class="form-text">20 digit code on the back of the card.</div>
|
||||
<label class="form-label" for="card_add_frm_access_code">IDm:</label>
|
||||
<input class="form-control" name="add_idm" id="card_add_frm_idm" maxlength="16" type="text" aria-describedby="idm_help">
|
||||
<div id="idm_help" class="form-text">AmusementIC cards only! 16 hexidecimal digits, sometimes called the serial number, gotten by scanning the card with a reader.</div>
|
||||
<br>
|
||||
<button type="submit" class="btn btn-primary">Add</button>
|
||||
</form>
|
||||
<br>
|
||||
@@ -101,7 +131,7 @@ Update successful
|
||||
{% endif %}
|
||||
<ul style="font-size: 20px;">
|
||||
{% for c in cards %}
|
||||
<li>{{ c.access_code }} ({{ c.type if c.memo is none or not c.memo else c.memo }}): {{ c.status }} <button onclick="prep_edit_form('{{ c.access_code }}', '{{ c.chip_id}}', '{{ c.idm }}', '{{ c.type }}', '{{ c.memo }}')" data-bs-toggle="modal" data-bs-target="#card_edit" class="btn btn-secondary" id="btn_edit_card_{{ c.access_code }}">Edit</button> {% if c.status == 'Active'%}<button class="btn-warning btn">Lock</button>{% elif c.status == 'Locked' %}<button class="btn-warning btn">Unlock</button>{% endif %} <button class="btn-danger btn" {{ "disabled" if cards|length == 1 else ""}}>Delete</button></li>
|
||||
<li>{{ c.access_code }} ({{ c.type if c.memo is none or not c.memo else c.memo }}): {{ c.status }} <button onclick="prep_edit_form('{{ c.access_code }}', '{{ c.chip_id}}', '{{ c.idm }}', '{{ c.type }}', '{{ c.memo }}', '{{ c.id }}')" data-bs-toggle="modal" data-bs-target="#card_edit" class="btn btn-secondary" id="btn_edit_card_{{ c.access_code }}">View</button> {% if c.status == 'Active'%}<button class="btn-warning btn">Lock</button>{% elif c.status == 'Locked' %}<button class="btn-warning btn">Unlock</button>{% endif %} <button class="btn-danger btn" {{ "disabled" if cards|length == 1 else ""}}>Delete</button></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
@@ -150,31 +180,31 @@ Update successful
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h1 class="modal-title fs-5" id="card_edit_label">Edit Card</h1>
|
||||
<h1 class="modal-title fs-5" id="card_edit_label">Card Information</h1>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="/user/edit.card" method="post" id="frm_edit_card">
|
||||
<input type="hidden" readonly name="card_edit_frm_card_id" id="card_edit_frm_card_id">
|
||||
<label class="form-label" for="card_edit_frm_access_code">Access Code:</label>
|
||||
<input class="form-control" readonly name="add_access_code" id="card_edit_frm_access_code" maxlength="20" type="text" required aria-describedby="ac_help">
|
||||
<input class="form-control-plaintext" readonly name="card_edit_frm_access_code" id="card_edit_frm_access_code" maxlength="20" type="text" required aria-describedby="ac_help">
|
||||
<div id="ac_help" class="form-text">20 digit code on the back of the card. If this is incorrect, contact a sysadmin.</div>
|
||||
|
||||
<label class="form-label" for="card_edit_frm_idm" id="card_edit_frm_idm_lbl">FeliCa IDm:</label>
|
||||
<input class="form-control-plaintext" aria-describedby="idm_help" name="add_felica_idm" id="card_edit_frm_idm" maxlength="16" type="text" readonly>
|
||||
<div id="idm_help" class="form-text">8 bytes that uniquly idenfites a FeliCa card. Obtained by reading the card with an NFC reader.</div>
|
||||
|
||||
<label class="form-label" for="card_edit_frm_chip_id" id="card_edit_frm_chip_id_lbl">Mifare UID:</label>
|
||||
<input class="form-control-plaintext" aria-describedby="chip_id_help" name="add_mifare_chip_id" id="card_edit_frm_chip_id" maxlength="8" type="text" readonly>
|
||||
<div id="chip_id_help" class="form-text">4 byte integer that uniquly identifies a Mifare card. Obtained by reading the card with an NFC reader.</div>
|
||||
|
||||
<label class="form-label" for="card_edit_frm_memo" id="card_edit_frm_memo_lbl">Memo:</label>
|
||||
<input class="form-control" aria-describedby="memo_help" name="add_memo" id="card_edit_frm_memo" maxlength="16" type="text">
|
||||
<div id="memo_help" class="form-text">Must be 16 characters or less.</div>
|
||||
|
||||
<label class="form-label" for="card_edit_frm_idm" id="card_edit_frm_idm_lbl">FeliCa IDm:</label>
|
||||
<input class="form-control" aria-describedby="idm_help" name="add_felica_idm" id="card_edit_frm_idm" maxlength="16" type="text">
|
||||
<div id="idm_help" class="form-text">8 bytes that uniquly idenfites a FeliCa card. Obtained by reading the card with an NFC reader.</div>
|
||||
|
||||
<label class="form-label" for="card_edit_frm_chip_id" id="card_edit_frm_chip_id_lbl">Mifare UID:</label>
|
||||
<input class="form-control" aria-describedby="chip_id_help" name="add_mifare_chip_id" id="card_edit_frm_chip_id" maxlength="8" type="text">
|
||||
<div id="chip_id_help" class="form-text">4 byte integer that uniquly identifies a Mifare card. Obtained by reading the card with an NFC reader.</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="submit" class="btn btn-primary" form="frm_edit_card">Edit</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-primary">Update Memo</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -23,6 +23,10 @@ You must be logged in to preform this action
|
||||
Invalid serial number
|
||||
{% elif error == 11 %}
|
||||
Access Denied
|
||||
{% elif error == 12 %}
|
||||
Card already registered
|
||||
{% elif error == 13 %}
|
||||
AmusementIC Access Codes beginning with 5 must have IDm
|
||||
{% else %}
|
||||
An unknown error occoured
|
||||
{% endif %}
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
server:
|
||||
enable: True
|
||||
loglevel: "info"
|
||||
news_msg: ""
|
||||
|
||||
team:
|
||||
name: ARTEMiS # If this is set, all players that are not on a team will use this one by default.
|
||||
|
||||
mods:
|
||||
use_login_bonus: True
|
||||
|
||||
version:
|
||||
11:
|
||||
rom: 2.00.00
|
||||
data: 2.00.00
|
||||
12:
|
||||
rom: 2.05.00
|
||||
data: 2.05.00
|
||||
13:
|
||||
rom: 2.10.00
|
||||
data: 2.10.00
|
||||
14:
|
||||
rom: 2.15.00
|
||||
data: 2.15.00
|
||||
15:
|
||||
rom: 2.20.00
|
||||
data: 2.20.00
|
||||
|
||||
crypto:
|
||||
encrypted_only: False
|
||||
|
||||
matching:
|
||||
enable: False
|
||||
match_time_limit: 60
|
||||
match_error_limit: 9999
|
||||
@@ -0,0 +1,485 @@
|
||||
{"userId": "1", "segaIdAuthKey": "", "upsertUserAll": {"userData": [
|
||||
{"accessCode": "09783303748775763700", "userName": "SEHANINE", "level": "1", "reincarnationNum": "0", "exp": "1000", "point": "3000", "totalPoint": "844424930134968", "playCount": "1", "multiPlayCount": "0", "playerRating": "13", "highestRating": "23", "nameplateId": "2", "frameId": "1", "characterId": "0", "trophyId": "744", "trophyIdSub1": "-1", "trophyIdSub2": "-1", "playedTutorialBit": "1", "firstTutorialCancelNum": "1", "masterTutorialCancelNum": "0", "totalMapNum": "24", "totalHiScore": "2872839", "totalBasicHighScore": "2872839", "totalAdvancedHighScore": "0", "totalExpertHighScore": "0", "totalMasterHighScore": "0", "totalUltimaHighScore": "0", "eventWatchedDate": "1970-01-01 09: 00: 00", "friendCount": "1", "firstGameId": "SDHD", "firstRomVersion": "2.45.00", "firstDataVersion": "2.45.01", "firstPlayDate": "2026-07-25 16: 51: 41", "lastGameId": "SDHD", "lastRomVersion": "2.45.00", "lastDataVersion": "2.45.01", "lastPlayDate": "2026-07-25 17: 03: 07", "lastPlaceId": "291", "lastPlaceName": "ARTEMiS", "lastRegionId": "1", "lastRegionName": "W", "lastAllNetId": "0", "lastClientId": "A69E01A8888", "lastCountryCode": "JPN", "userNameEx": "", "compatibleCmVersion": "", "medal": "0", "mapIconId": "1", "voiceId": "1", "avatarWear": "3100201", "avatarHead": "1200001", "avatarFace": "1300001", "avatarSkin": "1400001", "avatarItem": "1500001", "avatarFront": "1600001", "avatarBack": "1700001", "classEmblemBase": "0", "classEmblemMedal": "0", "stockedGridCount": "0", "exMapLoopCount": "0", "netBattlePlayCount": "0", "netBattleWinCount": "0", "netBattleLoseCount": "0", "netBattleConsecutiveWinCount": "0", "charaIllustId": "0", "skillId": "103000", "stageId": "99999", "overPowerPoint": "3455", "overPowerRate": "2", "overPowerLowerRank": "0", "avatarPoint": "0", "battleRankId": "0", "battleRankPoint": "0", "eliteRankPoint": "0", "netBattle1stCount": "0", "netBattle2ndCount": "0", "netBattle3rdCount": "0", "netBattle4thCount": "0", "netBattleCorrection": "0", "netBattleErrCnt": "0", "netBattleHostErrCnt": "0", "battleRewardStatus": "0", "battleRewardIndex": "0", "battleRewardCount": "0", "ext1": "0", "ext2": "251200001", "ext3": "104205501", "ext4": "0", "ext5": "1", "ext6": "1", "ext7": "0", "ext8": "0", "ext9": "0", "ext10": "0", "extStr1": "", "extStr2": "", "extLong1": "0", "extLong2": "0", "isNetBattleHost": "false", "netBattleEndState": "0"
|
||||
}
|
||||
], "userGameOption": [
|
||||
{"bgInfo": "1", "fieldColor": "5", "guideSound": "5", "soundEffect": "5", "guideLine": "2", "speed": "20", "optionSet": "0", "matching": "1", "judgePos": "1", "rating": "1", "judgeCritical": "0", "judgeJustice": "0", "judgeAttack": "0", "headphone": "0", "playerLevel": "1", "successTap": "5", "successExTap": "5", "successSlideHold": "5", "successAir": "5", "successFlick": "5", "successSkill": "5", "successTapTimbre": "0", "privacy": "0", "mirrorFumen": "0", "selectMusicFilterLv": "1", "sortMusicFilterLv": "0", "sortMusicGenre": "0", "categoryDetail": "0", "judgeTimingOffset": "20", "playTimingOffset": "20", "fieldWallPosition": "0", "resultVoiceShort": "0", "notesThickness": "0", "judgeAppendSe": "0", "trackSkip": "0", "hardJudge": "0", "speed_120": "20", "fieldWallPosition_120": "0", "playTimingOffset_120": "20", "judgeTimingOffset_120": "20", "ext1": "0", "ext2": "0", "ext3": "0", "ext4": "0", "ext5": "0", "ext6": "0", "ext7": "0", "ext8": "0", "ext9": "0", "ext10": "0"
|
||||
}
|
||||
], "userCharacterList": [
|
||||
{"characterId": "0", "playCount": "3", "level": "2", "friendshipExp": "10", "isValid": "true", "isNewMark": "false", "exMaxLv": "0", "assignIllust": "0", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24690", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24690", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24700", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24700", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24710", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24710", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24720", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24720", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24730", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24730", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24740", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24740", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24750", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24750", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24760", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24760", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24770", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24770", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24780", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24780", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24790", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24790", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24800", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24800", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "24810", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "24810", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25470", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25470", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25480", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25480", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25490", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25490", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25500", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25500", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25510", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25510", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25580", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25580", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25590", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25590", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25600", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25600", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25610", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25610", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25620", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25620", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25630", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25630", "param1": "0", "param2": "0"
|
||||
},
|
||||
{"characterId": "25640", "playCount": "0", "level": "1", "friendshipExp": "0", "isValid": "true", "isNewMark": "true", "exMaxLv": "0", "assignIllust": "25640", "param1": "0", "param2": "0"
|
||||
}
|
||||
], "userItemList": [
|
||||
{"itemKind": "1", "itemId": "1", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "1", "itemId": "2", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "1", "itemId": "10365", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "1", "itemId": "10366", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "1", "itemId": "10367", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "1", "itemId": "10368", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "1", "itemId": "26017", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "2", "itemId": "1", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "2", "itemId": "2", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "2", "itemId": "3", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "2", "itemId": "4", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "3", "itemId": "0", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "3", "itemId": "744", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "0", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "100010", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "100011", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "100012", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "100013", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "103000", "stock": "20", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "103001", "stock": "20", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "103002", "stock": "20", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "103003", "stock": "25", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "103004", "stock": "20", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "103005", "stock": "10", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "103006", "stock": "10", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "4", "itemId": "103007", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "5", "itemId": "313", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "6", "itemId": "21078", "stock": "0", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "7", "itemId": "2896", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "8", "itemId": "1", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "9", "itemId": "1", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "0", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10002", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10003", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10004", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10005", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10006", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10007", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10008", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10009", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10010", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10011", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10012", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10013", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10014", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10015", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10016", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10017", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10018", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10019", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10020", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10021", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10022", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "10024", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20002", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20003", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20004", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20005", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20006", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20007", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20008", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20009", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20010", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20011", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20014", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "20015", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30002", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30003", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30004", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30005", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30006", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30007", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30008", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30009", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30010", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30011", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30012", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30013", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30014", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30015", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30016", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30017", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30018", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30019", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30020", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30021", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30022", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30023", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30024", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30025", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30026", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30027", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30028", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30029", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30030", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30031", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30032", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30033", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30034", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "30035", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "40001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "40002", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "40003", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "40004", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "40005", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "40006", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "40007", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "40008", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "40010", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "40011", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "50001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "50002", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "50003", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "60001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "60002", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "60003", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "60004", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "60005", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "60006", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "60007", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "70001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "70002", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "70003", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "70004", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "70005", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80002", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80003", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80004", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80005", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80006", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80009", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80010", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80011", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80012", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80013", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80014", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "10", "itemId": "80015", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "1100001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "1200001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "1300001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "1400001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "1500001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "1600001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "1700001", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "3100101", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "3100201", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "3200101", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "3200201", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "4105501", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "4205501", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "4505501", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "4605501", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "4705501", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "6104401", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "6204401", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "6504401", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "11", "itemId": "6704401", "stock": "1", "isValid": "true"
|
||||
},
|
||||
{"itemKind": "13", "itemId": "99999", "stock": "1", "isValid": "true"
|
||||
}
|
||||
], "userMusicDetailList": [
|
||||
{"musicId": "2494", "level": "0", "playCount": "1", "scoreMax": "966513", "missCount": "14", "maxComboCount": "145", "isFullCombo": "false", "isAllJustice": "false", "isSuccess": "1", "fullChain": "0", "maxChain": "0", "scoreRank": "7", "isLock": "false", "theoryCount": "0", "ext1": "0"
|
||||
},
|
||||
{"musicId": "2820", "level": "0", "playCount": "1", "scoreMax": "966326", "missCount": "7", "maxComboCount": "202", "isFullCombo": "false", "isAllJustice": "false", "isSuccess": "1", "fullChain": "0", "maxChain": "0", "scoreRank": "7", "isLock": "false", "theoryCount": "0", "ext1": "0"
|
||||
},
|
||||
{"musicId": "2896", "level": "0", "playCount": "1", "scoreMax": "940000", "missCount": "9", "maxComboCount": "140", "isFullCombo": "false", "isAllJustice": "false", "isSuccess": "1", "fullChain": "0", "maxChain": "0", "scoreRank": "6", "isLock": "false", "theoryCount": "0", "ext1": "0"
|
||||
}
|
||||
], "userActivityList": [
|
||||
{"kind": "1", "id": "25640", "sortNumber": "1784965880", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "1", "id": "25630", "sortNumber": "1784965880", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "1", "id": "25620", "sortNumber": "1784965880", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "1", "id": "25610", "sortNumber": "1784965880", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "1", "id": "25600", "sortNumber": "1784965880", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "1", "id": "25590", "sortNumber": "1784965880", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "1", "id": "25580", "sortNumber": "1784965880", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "1", "id": "25510", "sortNumber": "1784965880", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "1", "id": "25500", "sortNumber": "1784965880", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "1", "id": "25490", "sortNumber": "1784965880", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "2", "id": "0", "sortNumber": "1784966539", "param1": "1", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "3", "id": "2896", "sortNumber": "1784966313", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "4", "id": "2494", "sortNumber": "1784966539", "param1": "1310720", "param2": "18074", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "4", "id": "2896", "sortNumber": "1784966313", "param1": "131072", "param2": "18074", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "4", "id": "2820", "sortNumber": "1784966151", "param1": "262144", "param2": "18074", "param3": "0", "param4": "0"
|
||||
},
|
||||
{"kind": "5", "id": "1", "sortNumber": "1784965901", "param1": "0", "param2": "0", "param3": "0", "param4": "0"
|
||||
}
|
||||
], "userRecentRatingList": [
|
||||
{"musicId": "2494", "difficultId": "0", "romVersionCode": "2045000", "score": "966513"
|
||||
},
|
||||
{"musicId": "2896", "difficultId": "0", "romVersionCode": "2045000", "score": "940000"
|
||||
},
|
||||
{"musicId": "2820", "difficultId": "0", "romVersionCode": "2045000", "score": "966326"
|
||||
}
|
||||
], "userPlaylogList": [
|
||||
{"romVersion": "2.45.00", "orderId": "0", "sortNumber": "1784966588", "placeId": "291", "playDate": "2026-07-25 00: 00: 00", "userPlayDate": "2026-07-25 16: 55: 51", "musicId": "2820", "level": "0", "customId": "0", "playedUserId1": "0", "playedUserId2": "0", "playedUserId3": "0", "playedUserName1": "", "playedUserName2": "", "playedUserName3": "", "playedMusicLevel1": "0", "playedMusicLevel2": "0", "playedMusicLevel3": "0", "playedCustom1": "0", "playedCustom2": "0", "playedCustom3": "0", "track": "1", "score": "966326", "rank": "7", "maxCombo": "202", "maxChain": "0", "rateTap": "9433", "rateHold": "10100", "rateSlide": "10100", "rateAir": "10094", "rateFlick": "0", "judgeGuilty": "7", "judgeAttack": "20", "judgeJustice": "68", "judgeCritical": "41", "judgeHeaven": "275", "eventId": "18074", "playerRating": "5", "isNewRecord": "true", "isFullCombo": "false", "fullChainKind": "0", "isAllJustice": "false", "isContinue": "false", "isFreeToPlay": "false", "characterId": "0", "charaIllustId": "0", "skillId": "103000", "playKind": "0", "isClear": "true", "skillLevel": "20", "skillEffect": "41151", "placeName": "ARTEMiS", "commonId": "7", "regionId": "1", "machineType": "0", "ticketId": "-1", "monthPoint": "0", "eventPoint": "0"
|
||||
},
|
||||
{"romVersion": "2.45.00", "orderId": "0", "sortNumber": "1784966588", "placeId": "291", "playDate": "2026-07-25 00: 00: 00", "userPlayDate": "2026-07-25 16: 58: 33", "musicId": "2896", "level": "0", "customId": "0", "playedUserId1": "0", "playedUserId2": "0", "playedUserId3": "0", "playedUserName1": "", "playedUserName2": "", "playedUserName3": "", "playedMusicLevel1": "0", "playedMusicLevel2": "0", "playedMusicLevel3": "0", "playedCustom1": "0", "playedCustom2": "0", "playedCustom3": "0", "track": "2", "score": "940000", "rank": "6", "maxCombo": "140", "maxChain": "0", "rateTap": "9047", "rateHold": "10096", "rateSlide": "8926", "rateAir": "10092", "rateFlick": "0", "judgeGuilty": "9", "judgeAttack": "21", "judgeJustice": "50", "judgeCritical": "31", "judgeHeaven": "179", "eventId": "18074", "playerRating": "8", "isNewRecord": "true", "isFullCombo": "false", "fullChainKind": "0", "isAllJustice": "false", "isContinue": "false", "isFreeToPlay": "false", "characterId": "0", "charaIllustId": "0", "skillId": "103000", "playKind": "1", "isClear": "true", "skillLevel": "20", "skillEffect": "38369", "placeName": "ARTEMiS", "commonId": "1", "regionId": "1", "machineType": "0", "ticketId": "-1", "monthPoint": "0", "eventPoint": "0"
|
||||
},
|
||||
{"romVersion": "2.45.00", "orderId": "0", "sortNumber": "1784966588", "placeId": "291", "playDate": "2026-07-25 00: 00: 00", "userPlayDate": "2026-07-25 17: 02: 19", "musicId": "2494", "level": "0", "customId": "0", "playedUserId1": "0", "playedUserId2": "0", "playedUserId3": "0", "playedUserName1": "", "playedUserName2": "", "playedUserName3": "", "playedMusicLevel1": "0", "playedMusicLevel2": "0", "playedMusicLevel3": "0", "playedCustom1": "0", "playedCustom2": "0", "playedCustom3": "0", "track": "3", "score": "966513", "rank": "7", "maxCombo": "145", "maxChain": "0", "rateTap": "9283", "rateHold": "10100", "rateSlide": "10047", "rateAir": "9737", "rateFlick": "0", "judgeGuilty": "14", "judgeAttack": "12", "judgeJustice": "57", "judgeCritical": "38", "judgeHeaven": "358", "eventId": "18074", "playerRating": "13", "isNewRecord": "true", "isFullCombo": "false", "fullChainKind": "0", "isAllJustice": "false", "isContinue": "false", "isFreeToPlay": "false", "characterId": "0", "charaIllustId": "0", "skillId": "103000", "playKind": "0", "isClear": "true", "skillLevel": "20", "skillEffect": "40534", "placeName": "ARTEMiS", "commonId": "0", "regionId": "1", "machineType": "0", "ticketId": "-1", "monthPoint": "0", "eventPoint": "0"
|
||||
}
|
||||
], "userTeamPoint": [
|
||||
{"userId": "1", "teamId": "0", "orderId": "0", "teamPoint": "0", "aggrDate": ""
|
||||
}
|
||||
], "userRatingBaseHotList": [
|
||||
{"musicId": "2494", "difficultId": "0", "romVersionCode": "2045000", "score": "966513"
|
||||
},
|
||||
{"musicId": "2820", "difficultId": "0", "romVersionCode": "2045000", "score": "966326"
|
||||
},
|
||||
{"musicId": "2896", "difficultId": "0", "romVersionCode": "2045000", "score": "940000"
|
||||
}
|
||||
], "userRatingBaseList": [
|
||||
{"musicId": "2494", "difficultId": "0", "romVersionCode": "2045000", "score": "966513"
|
||||
},
|
||||
{"musicId": "2820", "difficultId": "0", "romVersionCode": "2045000", "score": "966326"
|
||||
}
|
||||
], "userRatingBaseNewList": [
|
||||
{"musicId": "2896", "difficultId": "0", "romVersionCode": "2045000", "score": "940000"
|
||||
}
|
||||
], "userMapAreaList": [
|
||||
{"mapAreaId": "2303001", "position": "5", "isClear": "true", "rate": "5", "statusCount": "1", "remainGridCount": "0", "isLocked": "false"
|
||||
},
|
||||
{"mapAreaId": "2303002", "position": "19", "isClear": "false", "rate": "0", "statusCount": "256", "remainGridCount": "6", "isLocked": "false"
|
||||
},
|
||||
{"mapAreaId": "2303003", "position": "0", "isClear": "false", "rate": "0", "statusCount": "0", "remainGridCount": "25", "isLocked": "false"
|
||||
},
|
||||
{"mapAreaId": "2303004", "position": "0", "isClear": "false", "rate": "0", "statusCount": "0", "remainGridCount": "45", "isLocked": "false"
|
||||
},
|
||||
{"mapAreaId": "2303005", "position": "0", "isClear": "false", "rate": "0", "statusCount": "0", "remainGridCount": "45", "isLocked": "false"
|
||||
},
|
||||
{"mapAreaId": "2303006", "position": "0", "isClear": "false", "rate": "0", "statusCount": "0", "remainGridCount": "65", "isLocked": "false"
|
||||
},
|
||||
{"mapAreaId": "2303007", "position": "0", "isClear": "false", "rate": "0", "statusCount": "0", "remainGridCount": "65", "isLocked": "false"
|
||||
},
|
||||
{"mapAreaId": "2303008", "position": "0", "isClear": "false", "rate": "0", "statusCount": "0", "remainGridCount": "85", "isLocked": "false"
|
||||
}
|
||||
], "userEmoneyList": [
|
||||
{"type": "1", "emoneyCredit": "0", "emoneyBrand": "0", "ext1": "0", "ext2": "0", "ext3": "0"
|
||||
}
|
||||
], "userNetBattleData": [
|
||||
{"isRankUpChallengeFailed": "false", "highestBattleRankId": "0", "battleIconId": "0", "battleIconNum": "0", "avatarEffectPoint": "0"
|
||||
}
|
||||
], "userFavoriteMusicList": [
|
||||
{"orderId": "1", "musicId": "-1"
|
||||
}
|
||||
], "isNewCharacterList": "11111111111111111111111111", "isNewMusicDetailList": "111", "isNewItemList": "111111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", "isNewCourseList": "", "isNewDuelList": "", "isNewCMissionList": "", "isNewMapAreaList": "11111111", "isNewUnlockChallengeList": "", "isNewLinkedVerseList": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
python dbutils.py upgrade
|
||||
python read.py --game SDHD --version 15 --binfolder D:\games\CHUNITHM\bin --optfolder D:\games\CHUNITHM\bin\option
|
||||
@@ -0,0 +1,10 @@
|
||||
# ongeki steps
|
||||
|
||||
## for reading
|
||||
|
||||
ALTER TABLE ongeki_static_rewards
|
||||
MODIFY COLUMN rewardname VARCHAR(255) NULL;
|
||||
|
||||
## in code
|
||||
|
||||
changed consts and read code
|
||||
@@ -29,6 +29,7 @@ Games listed below have been tested and confirmed working. Only game versions ol
|
||||
+ NEW PLUS
|
||||
+ SUN
|
||||
+ SUN PLUS
|
||||
+ LUMINOUS
|
||||
|
||||
+ crossbeats REV.
|
||||
+ Crossbeats REV.
|
||||
|
||||
+12
-5
@@ -94,14 +94,19 @@ class ChuniServlet(BaseServlet):
|
||||
|
||||
known_iter_counts = {
|
||||
ChuniConstants.VER_CHUNITHM_CRYSTAL_PLUS: 67,
|
||||
f"{ChuniConstants.VER_CHUNITHM_CRYSTAL_PLUS}_int": 25, # SUPERSTAR
|
||||
ChuniConstants.VER_CHUNITHM_PARADISE: 44,
|
||||
f"{ChuniConstants.VER_CHUNITHM_PARADISE}_int": 25,
|
||||
f"{ChuniConstants.VER_CHUNITHM_PARADISE}_int": 51, # SUPERSTAR PLUS
|
||||
ChuniConstants.VER_CHUNITHM_NEW: 54,
|
||||
f"{ChuniConstants.VER_CHUNITHM_NEW}_int": 49,
|
||||
ChuniConstants.VER_CHUNITHM_NEW_PLUS: 25,
|
||||
f"{ChuniConstants.VER_CHUNITHM_NEW_PLUS}_int": 31,
|
||||
ChuniConstants.VER_CHUNITHM_SUN: 70,
|
||||
f"{ChuniConstants.VER_CHUNITHM_SUN}_int": 35,
|
||||
ChuniConstants.VER_CHUNITHM_SUN_PLUS: 36,
|
||||
f"{ChuniConstants.VER_CHUNITHM_SUN_PLUS}_int": 36,
|
||||
ChuniConstants.VER_CHUNITHM_LUMINOUS: 8,
|
||||
f"{ChuniConstants.VER_CHUNITHM_LUMINOUS}_int": 8,
|
||||
}
|
||||
|
||||
for version, keys in self.game_cfg.crypto.keys.items():
|
||||
@@ -233,8 +238,10 @@ class ChuniServlet(BaseServlet):
|
||||
elif version >= 220: # LUMINOUS
|
||||
internal_ver = ChuniConstants.VER_CHUNITHM_LUMINOUS
|
||||
elif game_code == "SDGS": # Int
|
||||
if version < 110: # SUPERSTAR / SUPERSTAR PLUS
|
||||
internal_ver = ChuniConstants.VER_CHUNITHM_PARADISE # SUPERSTAR / SUPERSTAR PLUS worked fine with it
|
||||
if version < 105: # SUPERSTAR
|
||||
internal_ver = ChuniConstants.VER_CHUNITHM_CRYSTAL_PLUS
|
||||
elif version >= 105 and version < 110: # SUPERSTAR PLUS *Cursed but needed due to different encryption key
|
||||
internal_ver = ChuniConstants.VER_CHUNITHM_PARADISE
|
||||
elif version >= 110 and version < 115: # NEW
|
||||
internal_ver = ChuniConstants.VER_CHUNITHM_NEW
|
||||
elif version >= 115 and version < 120: # NEW PLUS!!
|
||||
@@ -353,9 +360,9 @@ class ChuniServlet(BaseServlet):
|
||||
padded = pad(zipped, 16)
|
||||
|
||||
crypt = AES.new(
|
||||
bytes.fromhex(self.game_cfg.crypto.keys[internal_ver][0]),
|
||||
bytes.fromhex(self.game_cfg.crypto.keys[crypto_cfg_key][0]),
|
||||
AES.MODE_CBC,
|
||||
bytes.fromhex(self.game_cfg.crypto.keys[internal_ver][1]),
|
||||
bytes.fromhex(self.game_cfg.crypto.keys[crypto_cfg_key][1]),
|
||||
)
|
||||
|
||||
return Response(crypt.encrypt(padded))
|
||||
+11
-1
@@ -16,4 +16,14 @@ class ChuniSun(ChuniNewPlus):
|
||||
|
||||
# hardcode lastDataVersion for CardMaker 1.35 A032
|
||||
user_data["lastDataVersion"] = "2.10.00"
|
||||
return user_data
|
||||
return user_data
|
||||
|
||||
#SDGS Exclusive
|
||||
async def handle_get_user_cto_c_play_api_request(self, data: Dict) -> Dict:
|
||||
return {
|
||||
"userId": data["userId"],
|
||||
"orderBy": "0",
|
||||
"count": "0",
|
||||
#game request c2c play history while login but seem unused(?)
|
||||
"userCtoCPlayList": [],
|
||||
}
|
||||
@@ -23,7 +23,7 @@ class DivaFrontend(FE_Base):
|
||||
self.game_cfg.update(
|
||||
yaml.safe_load(open(f"{cfg_dir}/{DivaConstants.CONFIG_NAME}"))
|
||||
)
|
||||
self.nav_name = "diva"
|
||||
self.nav_name = "Project Diva"
|
||||
|
||||
def get_routes(self) -> List[Route]:
|
||||
return [
|
||||
|
||||
@@ -15,6 +15,8 @@ class OngekiConstants:
|
||||
VER_ONGEKI_RED_PLUS = 5
|
||||
VER_ONGEKI_BRIGHT = 6
|
||||
VER_ONGEKI_BRIGHT_MEMORY = 7
|
||||
VER_ONGEKI_REFRESH = 8 # NEW: O.N.G.E.K.I. ReFresh
|
||||
VER_ONGEKI_REFRESH_PLUS = 9 # NEW: Future-proofing
|
||||
|
||||
EVT_TYPES: Enum = Enum(
|
||||
"EVT_TYPES",
|
||||
@@ -40,6 +42,10 @@ class OngekiConstants:
|
||||
"SilverJewelEvent",
|
||||
"Max",
|
||||
"None",
|
||||
"MapEvent", # NEW: Map/Stage unlock events
|
||||
"AreaEvent", # NEW: Area-based events
|
||||
"StoryEvent", # NEW: Story progression events
|
||||
"CollaboEvent", # NEW: Collaboration events
|
||||
],
|
||||
)
|
||||
|
||||
@@ -67,6 +73,11 @@ class OngekiConstants:
|
||||
"Attachment",
|
||||
"UnlockItem",
|
||||
"Max",
|
||||
"Sizuku", # NEW: Droplet/Water currency (ReFresh)
|
||||
"SkillStone", # NEW: Skill enhancement item
|
||||
"CharacterSkin", # NEW: Alternate character appearances
|
||||
"StoryKey", # NEW: Story unlock items
|
||||
"EventPoint", # NEW: Event-specific currency
|
||||
"None",
|
||||
],
|
||||
)
|
||||
@@ -102,6 +113,8 @@ class OngekiConstants:
|
||||
"ONGEKI R.E.D. +",
|
||||
"ONGEKI bright",
|
||||
"ONGEKI bright MEMORY",
|
||||
"ONGEKI ReFresh", # NEW
|
||||
"ONGEKI ReFresh +", # NEW
|
||||
)
|
||||
|
||||
@classmethod
|
||||
|
||||
@@ -53,6 +53,8 @@ class OngekiReader(BaseReader):
|
||||
"1025": OngekiConstants.VER_ONGEKI_RED_PLUS,
|
||||
"1030": OngekiConstants.VER_ONGEKI_BRIGHT,
|
||||
"1035": OngekiConstants.VER_ONGEKI_BRIGHT_MEMORY,
|
||||
"1045": OngekiConstants.VER_ONGEKI_REFRESH, # NEW: ReFresh
|
||||
"1050": OngekiConstants.VER_ONGEKI_REFRESH_PLUS, # NEW: ReFresh +
|
||||
}
|
||||
|
||||
for root, dirs, files in os.walk(base_dir):
|
||||
|
||||
Reference in new issue
Block a user