2019-12-08 22:43:49 +01:00
|
|
|
# vim: set fileencoding=utf-8
|
|
|
|
from typing import Any, Dict, List, Optional
|
2021-09-07 19:56:15 +02:00
|
|
|
from typing_extensions import Final
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
from bemani.backend.ess import EventLogHandler
|
|
|
|
from bemani.backend.sdvx.base import SoundVoltexBase
|
|
|
|
from bemani.backend.sdvx.booth import SoundVoltexBooth
|
2021-08-25 01:18:53 +02:00
|
|
|
from bemani.common import Profile, VersionConstants, ID
|
2019-12-08 22:43:49 +01:00
|
|
|
from bemani.data import UserID
|
|
|
|
from bemani.protocol import Node
|
|
|
|
|
|
|
|
|
|
|
|
class SoundVoltexInfiniteInfection(
|
|
|
|
EventLogHandler,
|
|
|
|
SoundVoltexBase,
|
|
|
|
):
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "SOUND VOLTEX II -infinite infection-"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.SDVX_INFINITE_INFECTION
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
GAME_LIMITED_LOCKED: Final[int] = 1
|
|
|
|
GAME_LIMITED_UNLOCKABLE: Final[int] = 2
|
|
|
|
GAME_LIMITED_UNLOCKED: Final[int] = 3
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
GAME_CURRENCY_PACKETS: Final[int] = 0
|
|
|
|
GAME_CURRENCY_BLOCKS: Final[int] = 1
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
GAME_CLEAR_TYPE_NO_CLEAR: Final[int] = 1
|
|
|
|
GAME_CLEAR_TYPE_CLEAR: Final[int] = 2
|
|
|
|
GAME_CLEAR_TYPE_HARD_CLEAR: Final[int] = 5
|
|
|
|
GAME_CLEAR_TYPE_ULTIMATE_CHAIN: Final[int] = 3
|
|
|
|
GAME_CLEAR_TYPE_PERFECT_ULTIMATE_CHAIN: Final[int] = 4
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
GAME_GRADE_NO_PLAY: Final[int] = 0
|
|
|
|
GAME_GRADE_D: Final[int] = 1
|
|
|
|
GAME_GRADE_C: Final[int] = 2
|
|
|
|
GAME_GRADE_B: Final[int] = 3
|
|
|
|
GAME_GRADE_A: Final[int] = 4
|
|
|
|
GAME_GRADE_AA: Final[int] = 5
|
|
|
|
GAME_GRADE_AAA: Final[int] = 6
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
GAME_CATALOG_TYPE_SONG: Final[int] = 0
|
|
|
|
GAME_CATALOG_TYPE_APPEAL_CARD: Final[int] = 1
|
|
|
|
GAME_CATALOG_TYPE_SPECIAL_SONG: Final[int] = 2
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2021-09-07 19:56:15 +02:00
|
|
|
GAME_GAUGE_TYPE_SKILL: Final[int] = 1
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def get_settings(cls) -> Dict[str, Any]:
|
|
|
|
"""
|
|
|
|
Return all of our front-end modifiably settings.
|
|
|
|
"""
|
|
|
|
return {
|
2022-10-15 20:56:30 +02:00
|
|
|
"bools": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"name": "Disable Online Matching",
|
|
|
|
"tip": "Disable online matching between games.",
|
|
|
|
"category": "game_config",
|
|
|
|
"setting": "disable_matching",
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"name": "Force Song Unlock",
|
|
|
|
"tip": "Force unlock all songs.",
|
|
|
|
"category": "game_config",
|
|
|
|
"setting": "force_unlock_songs",
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"name": "Force Appeal Card Unlock",
|
|
|
|
"tip": "Force unlock all appeal cards.",
|
|
|
|
"category": "game_config",
|
|
|
|
"setting": "force_unlock_cards",
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
2022-10-15 20:56:30 +02:00
|
|
|
"ints": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"name": "BEMANI Stadium Event Phase",
|
|
|
|
"tip": "BEMANI Stadium event phase for all players.",
|
|
|
|
"category": "game_config",
|
|
|
|
"setting": "bemani_stadium",
|
|
|
|
"values": {
|
|
|
|
0: "No Event",
|
|
|
|
1: "BEMANI Stadium",
|
|
|
|
2: "BEMANI iseki",
|
|
|
|
},
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
def previous_version(self) -> Optional[SoundVoltexBase]:
|
|
|
|
return SoundVoltexBooth(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
def __game_to_db_clear_type(self, clear_type: int) -> int:
|
|
|
|
return {
|
|
|
|
self.GAME_CLEAR_TYPE_NO_CLEAR: self.CLEAR_TYPE_FAILED,
|
|
|
|
self.GAME_CLEAR_TYPE_CLEAR: self.CLEAR_TYPE_CLEAR,
|
|
|
|
self.GAME_CLEAR_TYPE_HARD_CLEAR: self.CLEAR_TYPE_HARD_CLEAR,
|
|
|
|
self.GAME_CLEAR_TYPE_ULTIMATE_CHAIN: self.CLEAR_TYPE_ULTIMATE_CHAIN,
|
|
|
|
self.GAME_CLEAR_TYPE_PERFECT_ULTIMATE_CHAIN: self.CLEAR_TYPE_PERFECT_ULTIMATE_CHAIN,
|
|
|
|
}[clear_type]
|
|
|
|
|
|
|
|
def __db_to_game_clear_type(self, clear_type: int) -> int:
|
|
|
|
return {
|
|
|
|
self.CLEAR_TYPE_NO_PLAY: self.GAME_CLEAR_TYPE_NO_CLEAR,
|
|
|
|
self.CLEAR_TYPE_FAILED: self.GAME_CLEAR_TYPE_NO_CLEAR,
|
|
|
|
self.CLEAR_TYPE_CLEAR: self.GAME_CLEAR_TYPE_CLEAR,
|
|
|
|
self.CLEAR_TYPE_HARD_CLEAR: self.GAME_CLEAR_TYPE_HARD_CLEAR,
|
|
|
|
self.CLEAR_TYPE_ULTIMATE_CHAIN: self.GAME_CLEAR_TYPE_ULTIMATE_CHAIN,
|
|
|
|
self.CLEAR_TYPE_PERFECT_ULTIMATE_CHAIN: self.GAME_CLEAR_TYPE_PERFECT_ULTIMATE_CHAIN,
|
|
|
|
}[clear_type]
|
|
|
|
|
|
|
|
def __game_to_db_grade(self, grade: int) -> int:
|
|
|
|
return {
|
|
|
|
self.GAME_GRADE_NO_PLAY: self.GRADE_NO_PLAY,
|
|
|
|
self.GAME_GRADE_D: self.GRADE_D,
|
|
|
|
self.GAME_GRADE_C: self.GRADE_C,
|
|
|
|
self.GAME_GRADE_B: self.GRADE_B,
|
|
|
|
self.GAME_GRADE_A: self.GRADE_A,
|
|
|
|
self.GAME_GRADE_AA: self.GRADE_AA,
|
|
|
|
self.GAME_GRADE_AAA: self.GRADE_AAA,
|
|
|
|
}[grade]
|
|
|
|
|
|
|
|
def __db_to_game_grade(self, grade: int) -> int:
|
|
|
|
return {
|
|
|
|
self.GRADE_NO_PLAY: self.GAME_GRADE_NO_PLAY,
|
|
|
|
self.GRADE_D: self.GAME_GRADE_D,
|
|
|
|
self.GRADE_C: self.GAME_GRADE_C,
|
|
|
|
self.GRADE_B: self.GAME_GRADE_B,
|
|
|
|
self.GRADE_A: self.GAME_GRADE_A,
|
|
|
|
self.GRADE_A_PLUS: self.GAME_GRADE_A,
|
|
|
|
self.GRADE_AA: self.GAME_GRADE_AA,
|
|
|
|
self.GRADE_AA_PLUS: self.GAME_GRADE_AA,
|
|
|
|
self.GRADE_AAA: self.GAME_GRADE_AAA,
|
|
|
|
self.GRADE_AAA_PLUS: self.GAME_GRADE_AAA,
|
|
|
|
self.GRADE_S: self.GAME_GRADE_AAA,
|
|
|
|
}[grade]
|
|
|
|
|
|
|
|
def __get_skill_analyzer_seasons(self) -> Dict[int, str]:
|
|
|
|
return {
|
2022-10-15 20:56:30 +02:00
|
|
|
6: "SKILL ANALYZER 第6回 (2013/12/06)",
|
|
|
|
7: "SKILL ANALYZER 第7回 (2014/01/10)",
|
|
|
|
8: "SKILL ANALYZER 第8回 (2014/02/06)",
|
|
|
|
9: "SKILL ANALYZER 第9回 (2014/03/06)",
|
|
|
|
10: "SKILL ANALYZER 第10回 (2014/04/04)",
|
|
|
|
11: "SKILL ANALYZER 第11回 (2014/05/01)",
|
|
|
|
12: "SKILL ANALYZER 第12回 (2014/06/05)",
|
|
|
|
13: "SKILL ANALYZER 第13回 (2014/07/04)",
|
|
|
|
14: "SKILL ANALYZER 第14回 (2014/08/01)",
|
2019-12-08 22:43:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
def __get_skill_analyzer_skill_levels(self) -> Dict[int, str]:
|
|
|
|
return {
|
2022-10-15 20:56:30 +02:00
|
|
|
0: "Skill LEVEL 01 岳翔",
|
|
|
|
1: "Skill LEVEL 02 流星",
|
|
|
|
2: "Skill LEVEL 03 月衝",
|
|
|
|
3: "Skill LEVEL 04 瞬光",
|
|
|
|
4: "Skill LEVEL 05 天極",
|
|
|
|
5: "Skill LEVEL 06 烈風",
|
|
|
|
6: "Skill LEVEL 07 雷電",
|
|
|
|
7: "Skill LEVEL 08 麗華",
|
|
|
|
8: "Skill LEVEL 09 魔騎士",
|
|
|
|
9: "Skill LEVEL 10 剛力羅",
|
|
|
|
10: "Skill LEVEL 11 或帝滅斗",
|
|
|
|
11: "Skill LEVEL ∞(12) 暴龍天",
|
2019-12-08 22:43:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
def __get_skill_analyzer_courses(self) -> List[Dict[str, Any]]:
|
|
|
|
return [
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 0,
|
|
|
|
"season_id": 6,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 109,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 24,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 245,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 1,
|
|
|
|
"season_id": 6,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 22,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 313,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 7,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 2,
|
|
|
|
"season_id": 6,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 4,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 39,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 322,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 3,
|
|
|
|
"season_id": 6,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 134,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 87,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 314,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 4,
|
|
|
|
"season_id": 6,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 126,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 59,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 23,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 5,
|
|
|
|
"season_id": 6,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 86,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 128,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 2,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 6,
|
|
|
|
"season_id": 6,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 256,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 255,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 246,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 7,
|
|
|
|
"season_id": 6,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 96,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 139,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 216,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 8,
|
|
|
|
"season_id": 6,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 244,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 250,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 180,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 9,
|
|
|
|
"season_id": 6,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 7,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 214,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 126,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 0,
|
|
|
|
"season_id": 7,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 54,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 221,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 51,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 1,
|
|
|
|
"season_id": 7,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 6,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 111,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 183,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 2,
|
|
|
|
"season_id": 7,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 56,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 333,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 10,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 3,
|
|
|
|
"season_id": 7,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 134,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 343,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 75,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 4,
|
|
|
|
"season_id": 7,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 36,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 369,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 224,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 5,
|
|
|
|
"season_id": 7,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 90,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 323,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 128,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 6,
|
|
|
|
"season_id": 7,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 85,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 344,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 241,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 7,
|
|
|
|
"season_id": 7,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 251,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 139,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 341,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 8,
|
|
|
|
"season_id": 7,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 346,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 116,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 302,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 9,
|
|
|
|
"season_id": 7,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 19,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 329,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 289,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 0,
|
|
|
|
"season_id": 8,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 54,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 221,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 51,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 1,
|
|
|
|
"season_id": 8,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 6,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 111,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 183,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 2,
|
|
|
|
"season_id": 8,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 56,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 333,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 10,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 3,
|
|
|
|
"season_id": 8,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 134,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 343,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 75,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 4,
|
|
|
|
"season_id": 8,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 36,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 369,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 224,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 5,
|
|
|
|
"season_id": 8,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 90,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 323,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 128,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 6,
|
|
|
|
"season_id": 8,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 85,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 344,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 241,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 7,
|
|
|
|
"season_id": 8,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 251,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 139,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 341,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 8,
|
|
|
|
"season_id": 8,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 346,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 116,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 302,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 9,
|
|
|
|
"season_id": 8,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 19,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 329,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 289,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 0,
|
|
|
|
"season_id": 9,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 60,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 87,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 328,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 1,
|
|
|
|
"season_id": 9,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 278,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 313,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 41,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 2,
|
|
|
|
"season_id": 9,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 90,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 80,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 295,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 3,
|
|
|
|
"season_id": 9,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 45,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 44,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 326,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 4,
|
|
|
|
"season_id": 9,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 258,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 340,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 23,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 5,
|
|
|
|
"season_id": 9,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 90,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 115,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 288,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 6,
|
|
|
|
"season_id": 9,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 57,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 267,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 246,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 7,
|
|
|
|
"season_id": 9,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 304,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 155,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 373,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 8,
|
|
|
|
"season_id": 9,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 122,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 359,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 247,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 9,
|
|
|
|
"season_id": 9,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 221,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 229,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 363,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 0,
|
|
|
|
"season_id": 10,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 365,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 328,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 51,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 1,
|
|
|
|
"season_id": 10,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 126,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 111,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 41,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 2,
|
|
|
|
"season_id": 10,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 15,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 322,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 10,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 3,
|
|
|
|
"season_id": 10,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 259,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 299,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 22,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 4,
|
|
|
|
"season_id": 10,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 258,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 23,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 66,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 5,
|
|
|
|
"season_id": 10,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 62,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 85,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 288,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 6,
|
|
|
|
"season_id": 10,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 78,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 311,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 71,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 7,
|
|
|
|
"season_id": 10,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 87,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 341,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 173,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 8,
|
|
|
|
"season_id": 10,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 63,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 228,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 166,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 9,
|
|
|
|
"season_id": 10,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 155,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 229,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 384,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 0,
|
|
|
|
"season_id": 11,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 54,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 365,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 374,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 1,
|
|
|
|
"season_id": 11,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 126,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 22,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 183,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 2,
|
|
|
|
"season_id": 11,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 56,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 39,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 10,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 3,
|
|
|
|
"season_id": 11,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 369,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 299,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 222,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 4,
|
|
|
|
"season_id": 11,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 103,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 158,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 74,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 5,
|
|
|
|
"season_id": 11,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 262,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 128,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 79,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 6,
|
|
|
|
"season_id": 11,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 264,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 71,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 192,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 7,
|
|
|
|
"season_id": 11,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 253,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 299,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 341,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 8,
|
|
|
|
"season_id": 11,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 58,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 343,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 269,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 9,
|
|
|
|
"season_id": 11,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 116,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 289,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 376,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 0,
|
|
|
|
"season_id": 12,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 189,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 245,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 367,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 1,
|
|
|
|
"season_id": 12,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 278,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 340,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 183,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 2,
|
|
|
|
"season_id": 12,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 426,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 349,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 322,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 3,
|
|
|
|
"season_id": 12,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 342,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 190,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 222,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 4,
|
|
|
|
"season_id": 12,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 158,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 352,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 212,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 5,
|
|
|
|
"season_id": 12,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 275,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 198,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 331,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 6,
|
|
|
|
"season_id": 12,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 184,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 345,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 218,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 7,
|
|
|
|
"season_id": 12,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 268,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 299,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 373,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 8,
|
|
|
|
"season_id": 12,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 244,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 414,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 269,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 9,
|
|
|
|
"season_id": 12,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 408,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 376,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 362,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 0,
|
|
|
|
"season_id": 13,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 189,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 219,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 367,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 1,
|
|
|
|
"season_id": 13,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 278,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 340,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 313,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 2,
|
|
|
|
"season_id": 13,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 90,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 223,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 322,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 3,
|
|
|
|
"season_id": 13,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 299,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 407,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 77,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 4,
|
|
|
|
"season_id": 13,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 36,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 92,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 337,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 5,
|
|
|
|
"season_id": 13,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 8,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 375,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 426,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 6,
|
|
|
|
"season_id": 13,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 401,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 345,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 290,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 7,
|
|
|
|
"season_id": 13,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 432,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 72,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 373,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 8,
|
|
|
|
"season_id": 13,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 125,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 302,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 252,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 9,
|
|
|
|
"season_id": 13,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 247,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 437,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 342,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 0,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 228,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 374,
|
|
|
|
"type": self.CHART_TYPE_NOVICE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 24,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 1,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 76,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 8,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 309,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 2,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 412,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 155,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 99,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 3,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 269,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 24,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 171,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 4,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 258,
|
|
|
|
"type": self.CHART_TYPE_ADVANCED,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 92,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 34,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 5,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 42,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 275,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 480,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 6,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 170,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 264,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 307,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 7,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 253,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 72,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 430,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 8,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 63,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 343,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 220,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 9,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 413,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 437,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 362,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 10,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 258,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 374,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 360,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"level": 11,
|
|
|
|
"season_id": 14,
|
|
|
|
"tracks": [
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 366,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 126,
|
|
|
|
"type": self.CHART_TYPE_INFINITE,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"id": 367,
|
|
|
|
"type": self.CHART_TYPE_EXHAUST,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|
|
|
|
def handle_game_2_exception_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
return Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def handle_game_2_play_e_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
return Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def handle_game_2_save_e_request(self, request: Node) -> Node:
|
|
|
|
# This has to do with Policy Break against ReflecBeat and
|
|
|
|
# floor infection, but we don't implement multi-game support so meh.
|
2022-10-15 20:56:30 +02:00
|
|
|
return Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def handle_game_2_lounge_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
game = Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
# Refresh interval in seconds.
|
2022-10-15 20:56:30 +02:00
|
|
|
game.add_child(Node.u32("interval", 10))
|
2019-12-08 22:43:49 +01:00
|
|
|
return game
|
|
|
|
|
|
|
|
def handle_game_2_entry_s_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
game = Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
# This should be created on the fly for a lobby that we're in.
|
2022-10-15 20:56:30 +02:00
|
|
|
game.add_child(Node.u32("entry_id", 1))
|
2019-12-08 22:43:49 +01:00
|
|
|
return game
|
|
|
|
|
|
|
|
def handle_game_2_entry_e_request(self, request: Node) -> Node:
|
|
|
|
# Lobby destroy method, eid node (u32) should be used
|
|
|
|
# to destroy any open lobbies.
|
2022-10-15 20:56:30 +02:00
|
|
|
return Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def handle_game_2_shop_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
self.update_machine_name(request.child_value("shopname"))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Respond with number of milliseconds until next request
|
2022-10-15 20:56:30 +02:00
|
|
|
game = Node.void("game_2")
|
|
|
|
game.add_child(Node.u32("nxt_time", 1000 * 5 * 60))
|
2019-12-08 22:43:49 +01:00
|
|
|
return game
|
|
|
|
|
|
|
|
def handle_game_2_common_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
game = Node.void("game_2")
|
|
|
|
limited = Node.void("music_limited")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(limited)
|
|
|
|
|
|
|
|
# Song unlock config
|
|
|
|
game_config = self.get_game_config()
|
2022-10-15 20:56:30 +02:00
|
|
|
if game_config.get_bool("force_unlock_songs"):
|
2019-12-08 22:43:49 +01:00
|
|
|
ids = set()
|
|
|
|
songs = self.data.local.music.get_all_songs(self.game, self.version)
|
|
|
|
for song in songs:
|
2022-10-15 20:56:30 +02:00
|
|
|
if song.data.get_int("limited") in (
|
|
|
|
self.GAME_LIMITED_LOCKED,
|
|
|
|
self.GAME_LIMITED_UNLOCKABLE,
|
|
|
|
):
|
2019-12-08 22:43:49 +01:00
|
|
|
ids.add((song.id, song.chart))
|
|
|
|
|
2023-02-17 04:02:41 +01:00
|
|
|
for songid, chart in ids:
|
2022-10-15 20:56:30 +02:00
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
limited.add_child(info)
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.s32("music_id", songid))
|
|
|
|
info.add_child(Node.u8("music_type", chart))
|
|
|
|
info.add_child(Node.u8("limited", self.GAME_LIMITED_UNLOCKED))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Event config
|
2022-10-15 20:56:30 +02:00
|
|
|
event = Node.void("event")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(event)
|
|
|
|
|
|
|
|
def enable_event(eid: int) -> None:
|
2022-10-15 20:56:30 +02:00
|
|
|
evt = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
event.add_child(evt)
|
2022-10-15 20:56:30 +02:00
|
|
|
evt.add_child(Node.u32("event_id", eid))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
if not game_config.get_bool("disable_matching"):
|
2019-12-08 22:43:49 +01:00
|
|
|
enable_event(1) # Matching enabled
|
|
|
|
enable_event(2) # BEMANI Academy
|
|
|
|
enable_event(3) # Floor Infection
|
|
|
|
enable_event(6) # Skill Analyzer
|
|
|
|
enable_event(9) # Policy Break
|
|
|
|
enable_event(14) # Enable pages on Skill Analyzer
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
stadium = game_config.get_int("bemani_stadium")
|
2019-12-08 22:43:49 +01:00
|
|
|
if stadium == 1:
|
|
|
|
enable_event(18) # BEMANI Stadium (mutually exclusive with BEMANI iseki)
|
|
|
|
if stadium == 2:
|
|
|
|
enable_event(51) # BEMANI iseki (mutually exclusive with BEMANI Stadium)
|
|
|
|
|
|
|
|
# In-game purchases catalog config (this isn't necessary for SDVX 2 to work).
|
2022-10-15 20:56:30 +02:00
|
|
|
catalog = Node.void("catalog")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(catalog)
|
|
|
|
songunlocks = self.data.local.game.get_items(self.game, self.version)
|
|
|
|
for unlock in songunlocks:
|
2022-10-15 20:56:30 +02:00
|
|
|
if unlock.type == "song_unlock":
|
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
catalog.add_child(info)
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.u8("catalog_type", self.GAME_CATALOG_TYPE_SONG))
|
|
|
|
info.add_child(Node.u32("catalog_id", unlock.id))
|
|
|
|
info.add_child(Node.u32("currency_type", self.GAME_CURRENCY_BLOCKS))
|
|
|
|
info.add_child(Node.u32("price", unlock.data.get_int("blocks")))
|
|
|
|
elif unlock.type == "special_unlock":
|
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
catalog.add_child(info)
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(
|
|
|
|
Node.u8("catalog_type", self.GAME_CATALOG_TYPE_SPECIAL_SONG)
|
|
|
|
)
|
|
|
|
info.add_child(Node.u32("catalog_id", unlock.id))
|
|
|
|
info.add_child(Node.u32("currency_type", self.GAME_CURRENCY_BLOCKS))
|
|
|
|
info.add_child(Node.u32("price", unlock.data.get_int("blocks")))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Skill Analyzer config
|
2022-10-15 20:56:30 +02:00
|
|
|
skill_course = Node.void("skill_course")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(skill_course)
|
|
|
|
|
|
|
|
seasons = self.__get_skill_analyzer_seasons()
|
|
|
|
skillnames = self.__get_skill_analyzer_skill_levels()
|
|
|
|
last_season = max(seasons.keys())
|
|
|
|
for course in self.__get_skill_analyzer_courses():
|
2022-10-15 20:56:30 +02:00
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
skill_course.add_child(info)
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.s16("course_id", course["level"]))
|
|
|
|
info.add_child(Node.s16("level", course["level"]))
|
|
|
|
info.add_child(Node.s32("season_id", course["season_id"]))
|
|
|
|
info.add_child(Node.string("season_name", seasons[course["season_id"]]))
|
|
|
|
info.add_child(
|
|
|
|
Node.bool("season_new_flg", course["season_id"] == last_season)
|
|
|
|
)
|
|
|
|
info.add_child(Node.string("course_name", skillnames[course["level"]]))
|
|
|
|
info.add_child(Node.s16("course_type", 0))
|
|
|
|
info.add_child(Node.s16("skill_name_id", course["level"]))
|
|
|
|
info.add_child(Node.bool("matching_assist", course["level"] <= 6))
|
|
|
|
info.add_child(Node.s16("gauge_type", self.GAME_GAUGE_TYPE_SKILL))
|
|
|
|
info.add_child(Node.s16("paseli_type", 0))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
trackno = 0
|
2022-10-15 20:56:30 +02:00
|
|
|
for trackdata in course["tracks"]:
|
|
|
|
track = Node.void("track")
|
2019-12-08 22:43:49 +01:00
|
|
|
info.add_child(track)
|
2022-10-15 20:56:30 +02:00
|
|
|
track.add_child(Node.s16("track_no", trackno))
|
|
|
|
track.add_child(Node.s32("music_id", trackdata["id"]))
|
|
|
|
track.add_child(Node.s8("music_type", trackdata["type"]))
|
2019-12-08 22:43:49 +01:00
|
|
|
trackno = trackno + 1
|
|
|
|
|
|
|
|
return game
|
|
|
|
|
|
|
|
def handle_game_2_hiscore_request(self, request: Node) -> Node:
|
|
|
|
# Grab location for local scores
|
2022-10-15 20:56:30 +02:00
|
|
|
locid = ID.parse_machine_id(request.child_value("locid"))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Start the response packet
|
2022-10-15 20:56:30 +02:00
|
|
|
game = Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# First, grab hit chart
|
|
|
|
playcounts = self.data.local.music.get_hit_chart(self.game, self.version, 1024)
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
hitchart = Node.void("hitchart")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(hitchart)
|
2023-02-17 04:02:41 +01:00
|
|
|
for songid, count in playcounts:
|
2022-10-15 20:56:30 +02:00
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
hitchart.add_child(info)
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.u32("id", songid))
|
|
|
|
info.add_child(Node.u32("cnt", count))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Now, grab user records
|
|
|
|
records = self.data.remote.music.get_all_records(self.game, self.version)
|
|
|
|
missing_users = [userid for (userid, _) in records]
|
2022-10-15 20:56:30 +02:00
|
|
|
users = {
|
|
|
|
userid: profile
|
|
|
|
for (userid, profile) in self.get_any_profiles(missing_users)
|
|
|
|
}
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
hiscore_allover = Node.void("hiscore_allover")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(hiscore_allover)
|
|
|
|
|
|
|
|
# Output records
|
2023-02-17 04:02:41 +01:00
|
|
|
for userid, score in records:
|
2022-10-15 20:56:30 +02:00
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
if userid not in users:
|
2022-10-15 20:56:30 +02:00
|
|
|
raise Exception("Logic error, missing profile for user!")
|
2019-12-08 22:43:49 +01:00
|
|
|
profile = users[userid]
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.u32("id", score.id))
|
|
|
|
info.add_child(Node.u32("type", score.chart))
|
|
|
|
info.add_child(Node.string("name", profile.get_str("name")))
|
|
|
|
info.add_child(Node.string("code", ID.format_extid(profile.extid)))
|
|
|
|
info.add_child(Node.u32("score", score.points))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Add to global scores
|
|
|
|
hiscore_allover.add_child(info)
|
|
|
|
|
|
|
|
# Now, grab local records
|
|
|
|
area_users = [
|
2022-10-15 20:56:30 +02:00
|
|
|
uid
|
|
|
|
for (uid, prof) in self.data.local.user.get_all_profiles(
|
|
|
|
self.game, self.version
|
|
|
|
)
|
|
|
|
if prof.get_int("loc", -1) == locid
|
2019-12-08 22:43:49 +01:00
|
|
|
]
|
2022-10-15 20:56:30 +02:00
|
|
|
records = self.data.local.music.get_all_records(
|
|
|
|
self.game, self.version, userlist=area_users
|
|
|
|
)
|
2019-12-08 22:43:49 +01:00
|
|
|
missing_users = [userid for (userid, _) in records if userid not in users]
|
2023-02-17 04:02:41 +01:00
|
|
|
for userid, profile in self.get_any_profiles(missing_users):
|
2019-12-08 22:43:49 +01:00
|
|
|
users[userid] = profile
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
hiscore_location = Node.void("hiscore_location")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(hiscore_location)
|
|
|
|
|
|
|
|
# Output records
|
2023-02-17 04:02:41 +01:00
|
|
|
for userid, score in records:
|
2022-10-15 20:56:30 +02:00
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
if userid not in users:
|
2022-10-15 20:56:30 +02:00
|
|
|
raise Exception("Logic error, missing profile for user!")
|
2019-12-08 22:43:49 +01:00
|
|
|
profile = users[userid]
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.u32("id", score.id))
|
|
|
|
info.add_child(Node.u32("type", score.chart))
|
|
|
|
info.add_child(Node.string("name", profile.get_str("name")))
|
|
|
|
info.add_child(Node.string("code", ID.format_extid(profile.extid)))
|
|
|
|
info.add_child(Node.u32("score", score.points))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Add to local scores
|
|
|
|
hiscore_location.add_child(info)
|
|
|
|
|
|
|
|
# Now, grab clear rates
|
2022-10-15 20:56:30 +02:00
|
|
|
clear_rate = Node.void("clear_rate")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(clear_rate)
|
|
|
|
|
|
|
|
clears = self.get_clear_rates()
|
|
|
|
for songid in clears:
|
|
|
|
for chart in clears[songid]:
|
2022-10-15 20:56:30 +02:00
|
|
|
if clears[songid][chart]["total"] > 0:
|
|
|
|
rate = float(clears[songid][chart]["clears"]) / float(
|
|
|
|
clears[songid][chart]["total"]
|
|
|
|
)
|
|
|
|
dnode = Node.void("d")
|
2019-12-08 22:43:49 +01:00
|
|
|
clear_rate.add_child(dnode)
|
2022-10-15 20:56:30 +02:00
|
|
|
dnode.add_child(Node.u32("id", songid))
|
|
|
|
dnode.add_child(Node.u32("type", chart))
|
|
|
|
dnode.add_child(Node.s16("cr", int(rate * 10000)))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
return game
|
|
|
|
|
|
|
|
def handle_game_2_new_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
refid = request.child_value("refid")
|
|
|
|
name = request.child_value("name")
|
|
|
|
loc = ID.parse_machine_id(request.child_value("locid"))
|
2019-12-08 22:43:49 +01:00
|
|
|
self.new_profile_by_refid(refid, name, loc)
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
root = Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
return root
|
|
|
|
|
|
|
|
def handle_game_2_frozen_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
game = Node.void("game_2")
|
|
|
|
game.add_child(Node.u8("result", 0))
|
2019-12-08 22:43:49 +01:00
|
|
|
return game
|
|
|
|
|
|
|
|
def handle_game_2_load_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
refid = request.child_value("refid")
|
2019-12-08 22:43:49 +01:00
|
|
|
root = self.get_profile_by_refid(refid)
|
|
|
|
if root is not None:
|
|
|
|
return root
|
|
|
|
|
|
|
|
# Figure out if this user has an older profile or not
|
|
|
|
userid = self.data.remote.user.from_refid(self.game, self.version, refid)
|
|
|
|
|
|
|
|
if userid is not None:
|
|
|
|
previous_game = self.previous_version()
|
|
|
|
else:
|
|
|
|
previous_game = None
|
|
|
|
|
|
|
|
if previous_game is not None:
|
|
|
|
profile = previous_game.get_profile(userid)
|
|
|
|
else:
|
|
|
|
profile = None
|
|
|
|
|
|
|
|
if profile is not None:
|
2022-10-15 20:56:30 +02:00
|
|
|
root = Node.void("game_2")
|
|
|
|
root.add_child(Node.u8("result", 2))
|
|
|
|
root.add_child(Node.string("name", profile.get_str("name")))
|
2019-12-08 22:43:49 +01:00
|
|
|
return root
|
|
|
|
else:
|
2022-10-15 20:56:30 +02:00
|
|
|
root = Node.void("game_2")
|
|
|
|
root.add_child(Node.u8("result", 1))
|
2019-12-08 22:43:49 +01:00
|
|
|
return root
|
|
|
|
|
|
|
|
def handle_game_2_save_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
refid = request.child_value("refid")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
if refid is not None:
|
|
|
|
userid = self.data.remote.user.from_refid(self.game, self.version, refid)
|
|
|
|
else:
|
|
|
|
userid = None
|
|
|
|
|
|
|
|
if userid is not None:
|
|
|
|
oldprofile = self.get_profile(userid)
|
|
|
|
newprofile = self.unformat_profile(userid, request, oldprofile)
|
|
|
|
else:
|
|
|
|
newprofile = None
|
|
|
|
|
|
|
|
if userid is not None and newprofile is not None:
|
|
|
|
self.put_profile(userid, newprofile)
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
return Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def handle_game_2_load_m_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
refid = request.child_value("dataid")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
if refid is not None:
|
|
|
|
userid = self.data.remote.user.from_refid(self.game, self.version, refid)
|
|
|
|
else:
|
|
|
|
userid = None
|
|
|
|
|
|
|
|
if userid is not None:
|
|
|
|
scores = self.data.remote.music.get_scores(self.game, self.version, userid)
|
|
|
|
else:
|
|
|
|
scores = []
|
|
|
|
|
|
|
|
# Output to the game
|
2022-10-15 20:56:30 +02:00
|
|
|
game = Node.void("game_2")
|
|
|
|
new = Node.void("new")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(new)
|
|
|
|
|
|
|
|
for score in scores:
|
2022-10-15 20:56:30 +02:00
|
|
|
music = Node.void("music")
|
2019-12-08 22:43:49 +01:00
|
|
|
new.add_child(music)
|
2022-10-15 20:56:30 +02:00
|
|
|
music.add_child(Node.u32("music_id", score.id))
|
|
|
|
music.add_child(Node.u32("music_type", score.chart))
|
|
|
|
music.add_child(Node.u32("score", score.points))
|
|
|
|
music.add_child(Node.u32("cnt", score.plays))
|
|
|
|
music.add_child(
|
|
|
|
Node.u32(
|
|
|
|
"clear_type",
|
|
|
|
self.__db_to_game_clear_type(score.data.get_int("clear_type")),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
music.add_child(
|
|
|
|
Node.u32(
|
|
|
|
"score_grade", self.__db_to_game_grade(score.data.get_int("grade"))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
stats = score.data.get_dict("stats")
|
|
|
|
music.add_child(Node.u32("btn_rate", stats.get_int("btn_rate")))
|
|
|
|
music.add_child(Node.u32("long_rate", stats.get_int("long_rate")))
|
|
|
|
music.add_child(Node.u32("vol_rate", stats.get_int("vol_rate")))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
return game
|
|
|
|
|
|
|
|
def handle_game_2_save_m_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
refid = request.child_value("refid")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
if refid is not None:
|
|
|
|
userid = self.data.remote.user.from_refid(self.game, self.version, refid)
|
|
|
|
else:
|
|
|
|
userid = None
|
|
|
|
|
|
|
|
# Doesn't matter if userid is None here, that's an anonymous score
|
2022-10-15 20:56:30 +02:00
|
|
|
musicid = request.child_value("music_id")
|
|
|
|
chart = request.child_value("music_type")
|
|
|
|
points = request.child_value("score")
|
|
|
|
combo = request.child_value("max_chain")
|
|
|
|
clear_type = self.__game_to_db_clear_type(request.child_value("clear_type"))
|
|
|
|
grade = self.__game_to_db_grade(request.child_value("score_grade"))
|
2019-12-08 22:43:49 +01:00
|
|
|
stats = {
|
2022-10-15 20:56:30 +02:00
|
|
|
"btn_rate": request.child_value("btn_rate"),
|
|
|
|
"long_rate": request.child_value("long_rate"),
|
|
|
|
"vol_rate": request.child_value("vol_rate"),
|
|
|
|
"critical": request.child_value("critical"),
|
|
|
|
"near": request.child_value("near"),
|
|
|
|
"error": request.child_value("error"),
|
2019-12-08 22:43:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# Save the score
|
|
|
|
self.update_score(
|
|
|
|
userid,
|
|
|
|
musicid,
|
|
|
|
chart,
|
|
|
|
points,
|
|
|
|
clear_type,
|
|
|
|
grade,
|
|
|
|
combo,
|
|
|
|
stats,
|
|
|
|
)
|
|
|
|
|
|
|
|
# Return a blank response
|
2022-10-15 20:56:30 +02:00
|
|
|
return Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def handle_game_2_save_c_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
refid = request.child_value("dataid")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
if refid is not None:
|
|
|
|
userid = self.data.remote.user.from_refid(self.game, self.version, refid)
|
|
|
|
else:
|
|
|
|
userid = None
|
|
|
|
|
|
|
|
if userid is not None:
|
2022-10-15 20:56:30 +02:00
|
|
|
course_id = request.child_value("crsid")
|
|
|
|
clear_type = request.child_value("ct")
|
|
|
|
achievement_rate = request.child_value("ar")
|
|
|
|
season_id = request.child_value("ssnid")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2022-02-16 03:47:02 +01:00
|
|
|
# Do not update the course achievement when old achievement rate is greater.
|
2022-10-15 20:56:30 +02:00
|
|
|
old = self.data.local.user.get_achievement(
|
|
|
|
self.game, self.version, userid, (season_id * 100) + course_id, "course"
|
|
|
|
)
|
|
|
|
if old is not None and old.get_int("achievement_rate") > achievement_rate:
|
|
|
|
return Node.void("game_2")
|
2022-02-16 03:47:02 +01:00
|
|
|
|
2019-12-08 22:43:49 +01:00
|
|
|
self.data.local.user.put_achievement(
|
|
|
|
self.game,
|
|
|
|
self.version,
|
|
|
|
userid,
|
|
|
|
(season_id * 100) + course_id,
|
2022-10-15 20:56:30 +02:00
|
|
|
"course",
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"clear_type": clear_type,
|
|
|
|
"achievement_rate": achievement_rate,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
)
|
|
|
|
|
|
|
|
# Return a blank response
|
2022-10-15 20:56:30 +02:00
|
|
|
return Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def handle_game_2_buy_request(self, request: Node) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
refid = request.child_value("refid")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
if refid is not None:
|
|
|
|
userid = self.data.remote.user.from_refid(self.game, self.version, refid)
|
|
|
|
else:
|
|
|
|
userid = None
|
|
|
|
|
|
|
|
if userid is not None:
|
|
|
|
profile = self.get_profile(userid)
|
|
|
|
else:
|
|
|
|
profile = None
|
|
|
|
|
|
|
|
if userid is not None and profile is not None:
|
|
|
|
# Look up packets and blocks
|
2022-10-15 20:56:30 +02:00
|
|
|
packet = profile.get_int("packet")
|
|
|
|
block = profile.get_int("block")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Add on any additional we earned this round
|
2022-10-15 20:56:30 +02:00
|
|
|
packet = packet + (request.child_value("earned_gamecoin_packet") or 0)
|
|
|
|
block = block + (request.child_value("earned_gamecoin_block") or 0)
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
currency_type = request.child_value("currency_type")
|
|
|
|
price = request.child_value("price")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
if currency_type == self.GAME_CURRENCY_PACKETS:
|
|
|
|
# This is a valid purchase
|
|
|
|
newpacket = packet - price
|
|
|
|
if newpacket < 0:
|
|
|
|
result = 1
|
|
|
|
else:
|
|
|
|
packet = newpacket
|
|
|
|
result = 0
|
|
|
|
elif currency_type == self.GAME_CURRENCY_BLOCKS:
|
|
|
|
# This is a valid purchase
|
|
|
|
newblock = block - price
|
|
|
|
if newblock < 0:
|
|
|
|
result = 1
|
|
|
|
else:
|
|
|
|
block = newblock
|
|
|
|
result = 0
|
|
|
|
else:
|
|
|
|
# Bad currency type
|
|
|
|
result = 1
|
|
|
|
|
|
|
|
if result == 0:
|
|
|
|
# Transaction is valid, update the profile with new packets and blocks
|
2022-10-15 20:56:30 +02:00
|
|
|
profile.replace_int("packet", packet)
|
|
|
|
profile.replace_int("block", block)
|
2019-12-08 22:43:49 +01:00
|
|
|
self.put_profile(userid, profile)
|
|
|
|
|
|
|
|
# If this was a song unlock, we should mark it as unlocked
|
2022-10-15 20:56:30 +02:00
|
|
|
item_type = request.child_value("item_type")
|
|
|
|
item_id = request.child_value("item_id")
|
|
|
|
param = request.child_value("param")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
self.data.local.user.put_achievement(
|
|
|
|
self.game,
|
|
|
|
self.version,
|
|
|
|
userid,
|
|
|
|
item_id,
|
2022-10-15 20:56:30 +02:00
|
|
|
f"item_{item_type}",
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"param": param,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
)
|
|
|
|
|
|
|
|
else:
|
|
|
|
# Unclear what to do here, return a bad response
|
|
|
|
packet = 0
|
|
|
|
block = 0
|
|
|
|
result = 1
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
game = Node.void("game_2")
|
|
|
|
game.add_child(Node.u32("gamecoin_packet", packet))
|
|
|
|
game.add_child(Node.u32("gamecoin_block", block))
|
|
|
|
game.add_child(Node.s8("result", result))
|
2019-12-08 22:43:49 +01:00
|
|
|
return game
|
|
|
|
|
2021-08-20 06:43:13 +02:00
|
|
|
def format_profile(self, userid: UserID, profile: Profile) -> Node:
|
2022-10-15 20:56:30 +02:00
|
|
|
game = Node.void("game_2")
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Generic profile stuff
|
2022-10-15 20:56:30 +02:00
|
|
|
game.add_child(Node.string("name", profile.get_str("name")))
|
|
|
|
game.add_child(Node.string("code", ID.format_extid(profile.extid)))
|
|
|
|
game.add_child(Node.u32("gamecoin_packet", profile.get_int("packet")))
|
|
|
|
game.add_child(Node.u32("gamecoin_block", profile.get_int("block")))
|
|
|
|
game.add_child(Node.s16("skill_name_id", profile.get_int("skill_name_id", -1)))
|
|
|
|
game.add_child(
|
|
|
|
Node.s32_array("hidden_param", profile.get_int_array("hidden_param", 20))
|
|
|
|
)
|
|
|
|
game.add_child(Node.u32("blaster_energy", profile.get_int("blaster_energy")))
|
|
|
|
game.add_child(Node.u32("blaster_count", profile.get_int("blaster_count")))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Play statistics
|
|
|
|
statistics = self.get_play_statistics(userid)
|
2022-10-15 20:56:30 +02:00
|
|
|
game.add_child(Node.u32("play_count", statistics.total_plays))
|
|
|
|
game.add_child(Node.u32("daily_count", statistics.today_plays))
|
|
|
|
game.add_child(Node.u32("play_chain", statistics.consecutive_days))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Last played stuff
|
2022-10-15 20:56:30 +02:00
|
|
|
if "last" in profile:
|
|
|
|
lastdict = profile.get_dict("last")
|
|
|
|
last = Node.void("last")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(last)
|
2022-10-15 20:56:30 +02:00
|
|
|
last.add_child(Node.s32("music_id", lastdict.get_int("music_id", -1)))
|
|
|
|
last.add_child(Node.u8("music_type", lastdict.get_int("music_type")))
|
|
|
|
last.add_child(Node.u8("sort_type", lastdict.get_int("sort_type")))
|
|
|
|
last.add_child(Node.u8("narrow_down", lastdict.get_int("narrow_down")))
|
|
|
|
last.add_child(Node.u8("headphone", lastdict.get_int("headphone")))
|
|
|
|
last.add_child(Node.u8("hispeed", lastdict.get_int("hispeed", 8)))
|
|
|
|
last.add_child(Node.u16("appeal_id", lastdict.get_int("appeal_id", 1001)))
|
|
|
|
last.add_child(Node.u16("comment_id", lastdict.get_int("comment_id")))
|
|
|
|
last.add_child(Node.u8("gauge_option", lastdict.get_int("gauge_option")))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Item unlocks
|
2022-10-15 20:56:30 +02:00
|
|
|
itemnode = Node.void("item")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(itemnode)
|
|
|
|
|
|
|
|
game_config = self.get_game_config()
|
2022-10-15 20:56:30 +02:00
|
|
|
achievements = self.data.local.user.get_achievements(
|
|
|
|
self.game, self.version, userid
|
|
|
|
)
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
for item in achievements:
|
2022-10-15 20:56:30 +02:00
|
|
|
if item.type[:5] != "item_":
|
2019-12-08 22:43:49 +01:00
|
|
|
continue
|
|
|
|
itemtype = int(item.type[5:])
|
|
|
|
|
|
|
|
if itemtype == self.GAME_CATALOG_TYPE_APPEAL_CARD:
|
|
|
|
# Type 1 is appeal cards, and the game saves this for non-default cards but
|
|
|
|
# we take care of this below.
|
|
|
|
continue
|
2022-10-15 20:56:30 +02:00
|
|
|
if itemtype == self.GAME_CATALOG_TYPE_SONG and game_config.get_bool(
|
|
|
|
"force_unlock_songs"
|
|
|
|
):
|
2019-12-08 22:43:49 +01:00
|
|
|
# We will echo this below in the force unlock song section
|
|
|
|
continue
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
itemnode.add_child(info)
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.u8("type", itemtype))
|
|
|
|
info.add_child(Node.u32("id", item.id))
|
|
|
|
info.add_child(Node.u32("param", item.data.get_int("param")))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
if game_config.get_bool("force_unlock_songs"):
|
2019-12-08 22:43:49 +01:00
|
|
|
ids: Dict[int, int] = {}
|
|
|
|
songs = self.data.local.music.get_all_songs(self.game, self.version)
|
|
|
|
for song in songs:
|
|
|
|
if song.id not in ids:
|
|
|
|
ids[song.id] = 0
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
if song.data.get_int("difficulty") > 0:
|
2019-12-08 22:43:49 +01:00
|
|
|
ids[song.id] = ids[song.id] | (1 << song.chart)
|
|
|
|
|
|
|
|
for itemid in ids:
|
|
|
|
if ids[itemid] == 0:
|
|
|
|
continue
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
itemnode.add_child(info)
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.u8("type", self.GAME_CATALOG_TYPE_SONG))
|
|
|
|
info.add_child(Node.u32("id", itemid))
|
|
|
|
info.add_child(Node.u32("param", ids[itemid]))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Appeal card unlocks
|
2022-10-15 20:56:30 +02:00
|
|
|
appealcard = Node.void("appealcard")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(appealcard)
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
if not game_config.get_bool("force_unlock_cards"):
|
2019-12-08 22:43:49 +01:00
|
|
|
for card in achievements:
|
2022-10-15 20:56:30 +02:00
|
|
|
if card.type != "appealcard":
|
2019-12-08 22:43:49 +01:00
|
|
|
continue
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
appealcard.add_child(info)
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.u32("id", card.id))
|
|
|
|
info.add_child(Node.u32("count", card.data.get_int("count")))
|
2019-12-08 22:43:49 +01:00
|
|
|
else:
|
|
|
|
catalog = self.data.local.game.get_items(self.game, self.version)
|
|
|
|
for unlock in catalog:
|
2022-10-15 20:56:30 +02:00
|
|
|
if unlock.type != "appealcard":
|
2019-12-08 22:43:49 +01:00
|
|
|
continue
|
2022-10-15 20:56:30 +02:00
|
|
|
info = Node.void("info")
|
2019-12-08 22:43:49 +01:00
|
|
|
appealcard.add_child(info)
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.u32("id", unlock.id))
|
|
|
|
info.add_child(Node.u32("count", 0))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Skill courses
|
2022-10-15 20:56:30 +02:00
|
|
|
skill = Node.void("skill")
|
2019-12-08 22:43:49 +01:00
|
|
|
game.add_child(skill)
|
2022-10-15 20:56:30 +02:00
|
|
|
course_all = Node.void("course_all")
|
2019-12-08 22:43:49 +01:00
|
|
|
skill.add_child(course_all)
|
|
|
|
|
|
|
|
for course in achievements:
|
2022-10-15 20:56:30 +02:00
|
|
|
if course.type != "course":
|
2019-12-08 22:43:49 +01:00
|
|
|
continue
|
|
|
|
|
|
|
|
course_id = course.id % 100
|
|
|
|
season_id = int(course.id / 100)
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
info = Node.void("d")
|
2019-12-08 22:43:49 +01:00
|
|
|
course_all.add_child(info)
|
2022-10-15 20:56:30 +02:00
|
|
|
info.add_child(Node.s16("crsid", course_id))
|
|
|
|
info.add_child(Node.s16("ct", course.data.get_int("clear_type")))
|
|
|
|
info.add_child(Node.s16("ar", course.data.get_int("achievement_rate")))
|
|
|
|
info.add_child(Node.s32("ssnid", season_id))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
return game
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
def unformat_profile(
|
|
|
|
self, userid: UserID, request: Node, oldprofile: Profile
|
|
|
|
) -> Profile:
|
2021-09-07 19:56:15 +02:00
|
|
|
newprofile = oldprofile.clone()
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Update blaster energy and in-game currencies
|
2022-10-15 20:56:30 +02:00
|
|
|
earned_gamecoin_packet = request.child_value("earned_gamecoin_packet")
|
2019-12-08 22:43:49 +01:00
|
|
|
if earned_gamecoin_packet is not None:
|
2022-10-15 20:56:30 +02:00
|
|
|
newprofile.replace_int(
|
|
|
|
"packet", newprofile.get_int("packet") + earned_gamecoin_packet
|
|
|
|
)
|
|
|
|
earned_gamecoin_block = request.child_value("earned_gamecoin_block")
|
2019-12-08 22:43:49 +01:00
|
|
|
if earned_gamecoin_block is not None:
|
2022-10-15 20:56:30 +02:00
|
|
|
newprofile.replace_int(
|
|
|
|
"block", newprofile.get_int("block") + earned_gamecoin_block
|
|
|
|
)
|
|
|
|
earned_blaster_energy = request.child_value("earned_blaster_energy")
|
2019-12-08 22:43:49 +01:00
|
|
|
if earned_blaster_energy is not None:
|
2022-10-15 20:56:30 +02:00
|
|
|
newprofile.replace_int(
|
|
|
|
"blaster_energy",
|
|
|
|
newprofile.get_int("blaster_energy") + earned_blaster_energy,
|
|
|
|
)
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Miscelaneous stuff
|
2022-10-15 20:56:30 +02:00
|
|
|
newprofile.replace_int("blaster_count", request.child_value("blaster_count"))
|
|
|
|
newprofile.replace_int("skill_name_id", request.child_value("skill_name_id"))
|
|
|
|
newprofile.replace_int_array(
|
|
|
|
"hidden_param", 20, request.child_value("hidden_param")
|
|
|
|
)
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Update user's unlock status if we aren't force unlocked
|
|
|
|
game_config = self.get_game_config()
|
2022-10-15 20:56:30 +02:00
|
|
|
if not game_config.get_bool("force_unlock_cards"):
|
|
|
|
for child in request.child("appealcard").children:
|
|
|
|
if child.name != "info":
|
2019-12-08 22:43:49 +01:00
|
|
|
continue
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
appealid = child.child_value("id")
|
|
|
|
count = child.child_value("count")
|
2019-12-08 22:43:49 +01:00
|
|
|
self.data.local.user.put_achievement(
|
|
|
|
self.game,
|
|
|
|
self.version,
|
|
|
|
userid,
|
|
|
|
appealid,
|
2022-10-15 20:56:30 +02:00
|
|
|
"appealcard",
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"count": count,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
)
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
if not game_config.get_bool("force_unlock_songs"):
|
|
|
|
for child in request.child("item").children:
|
|
|
|
if child.name != "info":
|
2019-12-08 22:43:49 +01:00
|
|
|
continue
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
item_id = child.child_value("id")
|
|
|
|
item_type = child.child_value("type")
|
|
|
|
param = child.child_value("param")
|
2019-12-08 22:43:49 +01:00
|
|
|
self.data.local.user.put_achievement(
|
|
|
|
self.game,
|
|
|
|
self.version,
|
|
|
|
userid,
|
|
|
|
item_id,
|
2022-10-15 20:56:30 +02:00
|
|
|
f"item_{item_type}",
|
2019-12-08 22:43:49 +01:00
|
|
|
{
|
2022-10-15 20:56:30 +02:00
|
|
|
"param": param,
|
2019-12-08 22:43:49 +01:00
|
|
|
},
|
|
|
|
)
|
|
|
|
|
|
|
|
# Grab last information.
|
2022-10-15 20:56:30 +02:00
|
|
|
lastdict = newprofile.get_dict("last")
|
|
|
|
lastdict.replace_int("headphone", request.child_value("headphone"))
|
|
|
|
lastdict.replace_int("hispeed", request.child_value("hispeed"))
|
|
|
|
lastdict.replace_int("appeal_id", request.child_value("appeal_id"))
|
|
|
|
lastdict.replace_int("comment_id", request.child_value("comment_id"))
|
|
|
|
lastdict.replace_int("music_id", request.child_value("music_id"))
|
|
|
|
lastdict.replace_int("music_type", request.child_value("music_type"))
|
|
|
|
lastdict.replace_int("sort_type", request.child_value("sort_type"))
|
|
|
|
lastdict.replace_int("narrow_down", request.child_value("narrow_down"))
|
|
|
|
lastdict.replace_int("gauge_option", request.child_value("gauge_option"))
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Save back last information gleaned from results
|
2022-10-15 20:56:30 +02:00
|
|
|
newprofile.replace_dict("last", lastdict)
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
# Keep track of play statistics
|
|
|
|
self.update_play_statistics(userid)
|
|
|
|
|
|
|
|
return newprofile
|