From 54f7d8689e630df1d57d74a2c1cbedac95795217 Mon Sep 17 00:00:00 2001 From: SkywalkerJi Date: Sat, 19 Nov 2022 23:01:25 +0800 Subject: [PATCH] v0.2.27 --- mdt.py | 6 +++--- mdt_deck_reader.py | 8 ++++---- mdt_gui.py | 2 +- win7/mdt_deck_reader.py | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/mdt.py b/mdt.py index ac98d0c..b862f34 100644 --- a/mdt.py +++ b/mdt.py @@ -136,9 +136,9 @@ def get_baseAddress(): pm.process_handle, "GameAssembly.dll" ).lpBaseOfDll # deck 组卡界面 duel 决斗界面 oppo 回放 - deck_addr = baseAddress + int("0x01F93BE8", base=16) - duel_addr = baseAddress + int("0x01F9F670", base=16) - oppo_addr = baseAddress + int("0x01F93BE8", base=16) + deck_addr = baseAddress + int("0x01F93BF8", base=16) + duel_addr = baseAddress + int("0x01F9F680", base=16) + oppo_addr = baseAddress + int("0x01F93BF8", base=16) # UAC判断 diff --git a/mdt_deck_reader.py b/mdt_deck_reader.py index 4232369..eb1ccc3 100644 --- a/mdt_deck_reader.py +++ b/mdt_deck_reader.py @@ -57,13 +57,13 @@ def get_database(path): def get_deck_dict(): main_name = "masterduel.exe" module_name = "GameAssembly.dll" - ma_count_static = 0x01F93BE8 + ma_count_static = 0x01F93BF8 ma_count_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0xF0, 0x18] - ex_count_static = 0x01F93BE8 + ex_count_static = 0x01F93BF8 ex_count_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x150, 0x18] - ma_cards_static = 0x01F93BE8 + ma_cards_static = 0x01F93BF8 ma_cards_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x148, 0x10, 0x20] - ex_cards_static = 0x01F93BE8 + ex_cards_static = 0x01F93BF8 ex_cards_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x150, 0x10, 0x20] deck_dict = {"error": _("无法读取卡组信息")} try: diff --git a/mdt_gui.py b/mdt_gui.py index 0472e60..892762b 100644 --- a/mdt_gui.py +++ b/mdt_gui.py @@ -407,7 +407,7 @@ def main(): ], ] window = sg.Window( - "MDT v0.2.26 GPLv3", + "MDT v0.2.27 GPLv3", card_frame, default_element_size=(12, 1), font=("Microsoft YaHei", font_size), diff --git a/win7/mdt_deck_reader.py b/win7/mdt_deck_reader.py index 93a4111..35c5402 100644 --- a/win7/mdt_deck_reader.py +++ b/win7/mdt_deck_reader.py @@ -57,13 +57,13 @@ def get_database(path): def get_deck_dict(): main_name = "masterduel.exe" module_name = "GameAssembly.dll" - ma_count_static = 0x01F93BE8 + ma_count_static = 0x01F93BF8 ma_count_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0xF0, 0x18] - ex_count_static = 0x01F93BE8 + ex_count_static = 0x01F93BF8 ex_count_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x150, 0x18] - ma_cards_static = 0x01F93BE8 + ma_cards_static = 0x01F93BF8 ma_cards_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x148, 0x10, 0x20] - ex_cards_static = 0x01F93BE8 + ex_cards_static = 0x01F93BF8 ex_cards_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x150, 0x10, 0x20] deck_dict = {"error": _("无法读取卡组信息")} try: