Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autowsgr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""AutoWSGR - 战舰少女R 自动化框架(v2)"""

__version__ = '2.1.9.post10'
__version__ = '2.2.0'
Binary file removed autowsgr/data/bin/darwin_image_autowsgrs.bin
Binary file not shown.
Binary file removed autowsgr/data/bin/win32_image_autowsgrs.bin
Binary file not shown.
26 changes: 0 additions & 26 deletions autowsgr/ui/decisive/map_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,32 +299,6 @@ def recognize_node(
result = self.dll_recognize_map(dll, fresh_screen, icon_rel_x)
if result != '0':
_log.info('[地图控制器] 识别决战节点: {}', result[0])
if result[0] == 'C':
right_x = icon_rel_x + 0.172
right_result = self.dll_recognize_map(dll, fresh_screen, right_x)
if right_result == 'D':
result = 'C'
elif right_result == 'C':
result = 'B'
_log.info(
'[地图控制器] C右侧节点识别: {}, 修正后决战节点: {}',
right_result,
result,
)

if result[0] == 'J':
left_x = icon_rel_x - 0.172
left_result = self.dll_recognize_map(dll, fresh_screen, left_x)
if left_result == 'H':
result = 'I'
elif left_result == 'J':
result = 'J'
_log.info(
'[地图控制器] J左侧节点识别: {}, 修正后决战节点: {}',
left_result,
result,
)

return result[0]
except Exception:
_log.warning('[地图控制器] DLL 节点识别异常', exc_info=True)
Expand Down