From 50de0916d45e23273774c7d25bdc191c844568d1 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Tue, 19 Sep 2023 02:15:22 -0400 Subject: [PATCH] allnet: minor tweeks to mirrior realnet better --- core/allnet.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/core/allnet.py b/core/allnet.py index 2fd6db2..6610c23 100644 --- a/core/allnet.py +++ b/core/allnet.py @@ -176,18 +176,18 @@ class AllnetServlet: else AllnetJapanRegionId.AICHI.value ) resp.region_name0 = ( - arcade["country"] - if arcade["country"] is not None - else AllnetCountryCode.JAPAN.value - ) - resp.region_name1 = ( arcade["state"] if arcade["state"] is not None else AllnetJapanRegionId.AICHI.name ) + resp.region_name1 = ( + arcade["country"] + if arcade["country"] is not None + else AllnetCountryCode.JAPAN.value + ) resp.region_name2 = arcade["city"] if arcade["city"] is not None else "" - resp.client_timezone = ( - arcade["timezone"] if arcade["timezone"] is not None else "+0900" + resp.client_timezone = ( # lmao + arcade["timezone"] if arcade["timezone"] is not None else "+0900" if req.format_ver == 3 else "+09:00" ) if req.game_id not in self.uri_registry: @@ -295,7 +295,6 @@ class AllnetServlet: return self.to_dfi(res_str)""" return res_str - def handle_dlorder_ini(self, request: Request, match: Dict) -> bytes: if "file" not in match: