Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ny committed Mar 1, 2023
1 parent 35513d9 commit 4d4aad9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ff_draw/gui/panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def ffd_page(self):
p.unload()
self.main.enable_plugins[k] = v
self.main.save_config()
if imgui.button('reload'):
plugins.reload_plugin_lists()
# if imgui.button('reload'):
# plugins.reload_plugin_lists()

imgui.text('gui')
gui = self.main.gui
Expand Down
2 changes: 1 addition & 1 deletion ff_draw/mem/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, main: 'FFDraw', pid: int):
self.hwnd = utils.get_hwnd(self.pid)
self.game_version, self.game_build_date = utils.get_game_version_info(file_name)
self.screen_address = self.scanner.find_point('48 ? ? * * * * e8 ? ? ? ? 42 ? ? ? 39 05')[0] + 0x1b4
self.replay_flag_address = self.scanner.find_point('f6 05 * * * * ? 45 ? ? 8b')[0]
self.replay_flag_address = self.scanner.find_point('84 1d * * * * 74 ? 80 3d')[0]
self.territory_type_address = self.scanner.find_point('0f b7 ? * * * * 48 8d ? ? ? f3 0f ? ? 33 d2')[0]
self.actor_table = actor.ActorTable(self)
self.party = party.PartyManager(self)
Expand Down
2 changes: 1 addition & 1 deletion ff_draw/sniffer/message_structs/zone_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def name(self) -> str:

@property
def fc_tag(self) -> str:
return self._fc_tag.decode('utf-8', 'ignore')
return self.__fc_tag.decode('utf-8', 'ignore')


@type_map.set(ZoneServer.NpcSpawn)
Expand Down
2 changes: 1 addition & 1 deletion nylib/utils/win32/inject_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def run(self, code, res_key='res'):

def pywin32_dll_place():
dll_suffix = f"{sys.version_info.major}{sys.version_info.minor}.dll"
target_dir = pathlib.Path(os.environ['SystemDrive']) / 'Windows' / 'System32'
target_dir = pathlib.Path(os.environ['SystemDrive'] + os.sep) / 'Windows' / 'System32'
for prefix in ('pythoncom', 'pywintypes'):
dll_name = prefix + dll_suffix
target_path = target_dir / dll_name
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.4
0.8.5

0 comments on commit 4d4aad9

Please sign in to comment.