From 8ab1800ff4a950130468f84309fa235975710da5 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Mon, 19 Sep 2022 03:03:32 +0000 Subject: [PATCH] Fix a few tiny nits in kriddles. --- README.md | 6 +++--- bemani/backend/popn/kaimei.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 02ef2a5..87f68d7 100644 --- a/README.md +++ b/README.md @@ -226,7 +226,7 @@ This should be given the same config file as "api", "frontend" and "services". Development version of an eAmusement protocol server using flask and the protocol libraries also used in "bemanishark" and "trafficgen". Currently it lets most modern BEMANI games boot and supports full profile and events for Beatmania IIDX 20-26, -Pop'n Music 19-25, Jubeat Saucer, Saucer Fulfill, Prop, Qubell and Clan, Sound Voltex +Pop'n Music 19-26, Jubeat Saucer, Saucer Fulfill, Prop, Qubell and Clan, Sound Voltex 1, 2, 3 Season 1/2 and 4, Dance Dance Revolution X2, X3, 2013, 2014 and Ace, MÚSECA 1, MÚSECA 1+1/2, MÚSECA Plus, Reflec Beat, Limelight, Colette, groovin'!! Upper, Volzza 1 and Volzza 2, Metal Gear Arcade, and finally The\*BishiBashi. @@ -258,7 +258,7 @@ this will run through and attempt to verify simple operation of that service. No guarantees are made on the accuracy of the emulation though I've strived to be correct. In some cases, I will verify the response, and in other cases I will simply verify that certain things exist so as not to crash a real client. This -currently generates traffic emulating Beatmania IIDX 20-26, Pop'n Music 19-25, Jubeat +currently generates traffic emulating Beatmania IIDX 20-26, Pop'n Music 19-26, Jubeat Saucer, Fulfill, Prop, Qubell and Clan, Sound Voltex 1, 2, 3 Season 1/2 and 4, Dance Dance Revolution X2, X3, 2013, 2014 and Ace, The\*BishiBashi, MÚSECA 1 and MÚSECA 1+1/2, Reflec Beat, Reflec Beat Limelight, Reflec Beat Colette, groovin'!! Upper, Volzza 1 and @@ -405,7 +405,7 @@ do that. ### Pop'n Music For Pop'n Music, get the game DLL from the version of the game you want to import and -run a command like so. This network supports versions 19-25 so you will want to run this +run a command like so. This network supports versions 19-26 so you will want to run this command once for every version, giving the correct DLL file: ``` diff --git a/bemani/backend/popn/kaimei.py b/bemani/backend/popn/kaimei.py index 28f0ef6..8c4f297 100644 --- a/bemani/backend/popn/kaimei.py +++ b/bemani/backend/popn/kaimei.py @@ -382,7 +382,7 @@ class PopnMusicKaimei(PopnMusicModernBase): ) def format_profile(self, userid: UserID, profile: Profile) -> Node: - root = PopnMusicModernBase.format_profile(self, userid, profile) + root = super().format_profile(userid, profile) account = root.child('account') account.add_child(Node.s16('card_again_count', profile.get_int('point'))) @@ -402,7 +402,7 @@ class PopnMusicKaimei(PopnMusicModernBase): # Generate Short Riddles for MN tanteisha randomRiddles: List[int] = [] - for x in range(3): + for _ in range(3): riddle = 0 while True: riddle = math.floor(random.randrange(1, 21, 1)) @@ -438,7 +438,7 @@ class PopnMusicKaimei(PopnMusicModernBase): return root def unformat_profile(self, userid: UserID, request: Node, oldprofile: Profile) -> Profile: - newprofile = PopnMusicModernBase.unformat_profile(self, userid, request, oldprofile) + newprofile = super().unformat_profile(userid, request, oldprofile) account = request.child('account') if account is not None: