AquamarineCyan / Onmyoji_Python

适配网易阴阳师桌面版的辅助程序
34 stars 3 forks source link

个人探索不生效 #7

Open Larry314 opened 2 months ago

Larry314 commented 2 months ago

大佬你好,在进行个人探索的时候,自动进入探索28的地图之后不会自己点击战斗图标索怪,一直停在当前关卡的地图里面

AquamarineCyan commented 2 months ago

提供日志或者复现方法

Larry314 commented 2 months ago

1723643172515 在初始化检测的时候是这样的,但是会自己到这个界面 image 然后jiu'bu'do就不动了。客户端的兼容性我也改了,然后点了游戏检测,不知道是什么原因导致这样子,但是个人突破可以用

AquamarineCyan commented 2 months ago

根目录下有个log文件夹,找到对应日期可以发出来

Larry314 commented 2 months ago

Full Changelog: https://github.com/AquamarineCyan/Onmyoji_Python/compare/v1.8.5...v1.8.6 22:04:19.825 INFO src\utils\upgrade.py[line:77]-get_browser_download_url {'url': 'https://api.github.com/repos/AquamarineCyan/Onmyoji_Python/releases/assets/185925166', 'id': 185925166, 'node_id': 'RA_kwDOGuiyI84LFP4u', 'name': 'Onmyoji_Python-1.8.6.zip', 'label': None, 'uploader': {'login': 'AquamarineCyan', 'id': 64363680, 'node_id': 'MDQ6VXNlcjY0MzYzNjgw', 'avatar_url': 'https://avatars.githubusercontent.com/u/64363680?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/AquamarineCyan', 'html_url': 'https://github.com/AquamarineCyan', 'followers_url': 'https://api.github.com/users/AquamarineCyan/followers', 'following_url': 'https://api.github.com/users/AquamarineCyan/following{/other_user}', 'gists_url': 'https://api.github.com/users/AquamarineCyan/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/AquamarineCyan/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/AquamarineCyan/subscriptions', 'organizations_url': 'https://api.github.com/users/AquamarineCyan/orgs', 'repos_url': 'https://api.github.com/users/AquamarineCyan/repos', 'events_url': 'https://api.github.com/users/AquamarineCyan/events{/privacy}', 'received_events_url': 'https://api.github.com/users/AquamarineCyan/received_events', 'type': 'User', 'site_admin': False}, 'content_type': 'application/x-zip-compressed', 'state': 'uploaded', 'size': 188162301, 'download_count': 0, 'created_at': '2024-08-14T13:24:50Z', 'updated_at': '2024-08-14T13:26:09Z', 'browser_download_url': 'https://github.com/AquamarineCyan/Onmyoji_Python/releases/download/v1.8.6/Onmyoji_Python-1.8.6.zip'} 22:04:19.825 INFO src\utils\upgrade.py[line:80]-get_browser_download_url browser_download_url:https://github.com/AquamarineCyan/Onmyoji_Python/releases/download/v1.8.6/Onmyoji_Python-1.8.6.zip 22:04:19.825 GUI src\utils\upgrade.py[line:183]-check_latest 新版本1.8.6 22:04:32.012 INFO src\utils\gui.py[line:316]-qmessagbox_update_func 用户接受强制缩放 22:04:32.057 INFO src\utils\window.py[line:216]-force_zoom new_handle_coor:(468, 760, 1622, 1447) 22:04:32.059 GUI src\utils\gui.py[line:248]-application_init_ready 初始化成功 22:05:23.627 GUI src\utils\gui.py[line:558]-game_function_description 提前准备好自动轮换和加成,仅单人探索 22:05:26.627 INFO src\utils\decorator.py[line:26]-wrapper TanSuo.init() calling 22:05:26.627 INFO src\utils\decorator.py[line:30]-wrapper *kwargs: {'n': 1} 22:05:26.627 INFO src\utils\decorator.py[line:26]-wrapper Package.init() calling 22:05:26.627 INFO src\utils\decorator.py[line:28]-wrapper args: (<src.package.tansuo.TanSuo object at 0x000001799ABF1C60>, 1) 22:05:26.628 INFO src\utils\decorator.py[line:32]-wrapper Package.init() finish 22:05:26.628 INFO src\utils\decorator.py[line:32]-wrapper TanSuo.init() finish 22:05:27.133 INFO src\package\utils.py[line:382]-task_start done number: 0/1 22:05:27.133 INFO src\utils\decorator.py[line:26]-wrapper TanSuo.check_title() calling 22:05:27.133 INFO src\package\utils.py[line:183]-log_current_asset_list current_image_list: 4 22:05:27.133 INFO src\package\utils.py[line:185]-log_current_asset_list name='chuzhanxiaohao' file='tansuo/chuzhanxiaohao.png' region=(0, 0, 1154, 687) score=0.8 method='COLOR' 22:05:27.133 INFO src\package\utils.py[line:185]-log_current_asset_list name='tansuo_28' file='tansuo/tansuo_28.png' region=(0, 0, 1154, 687) score=0.8 method='COLOR' 22:05:27.133 INFO src\package\utils.py[line:185]-log_current_asset_list name='tansuo_28_0' file='tansuo/tansuo_28_0.png' region=(0, 0, 1154, 687) score=0.8 method='COLOR' 22:05:27.133 INFO src\package\utils.py[line:185]-log_current_asset_list name='tansuo_28_title' file='tansuo/tansuo_28_title.png' region=(0, 0, 1154, 687) score=0.8 method='COLOR' 22:05:27.379 INFO src\utils\image.py[line:128]-match tansuo_28 匹配成功,相似度: 0.94 22:05:27.380 INFO src\package\tansuo.py[line:87]-check_title current image name: tansuo_28 22:05:27.380 INFO src\utils\decorator.py[line:32]-wrapper TanSuo.check_title() finish 22:05:27.552 INFO src\utils\image.py[line:128]-match tansuo_28_0 匹配成功,相似度: 0.98 22:05:27.553 INFO src\package\tansuo.py[line:173]-run current result name: tansuo_28_0 22:05:27.553 INFO src\utils\adapter.py[line:109]-click click at (1055,1132) 22:05:28.341 INFO src\utils\function.py[line:76]-random_sleep sleep for 1.18 seconds 22:05:29.719 INFO src\utils\image.py[line:128]-match tansuo_28_0 匹配成功,相似度: 0.98 22:05:29.719 INFO src\package\tansuo.py[line:173]-run current result name: tansuo_28_0 22:05:29.721 INFO src\utils\adapter.py[line:109]-click click at (1055,1132) 22:05:30.506 INFO src\utils\function.py[line:76]-random_sleep sleep for 1.91 seconds 22:05:32.752 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:32.753 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:33.071 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:33.072 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:33.396 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:33.397 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:33.700 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:33.700 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:34.042 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:34.042 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:34.364 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:34.364 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:34.671 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:34.671 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:34.980 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:34.980 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:35.296 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:35.297 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:35.612 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:35.613 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:35.925 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:35.925 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:36.231 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:36.231 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:36.543 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:36.543 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:36.873 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:36.873 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:37.217 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:37.217 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:37.544 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:37.545 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:37.930 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:37.931 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:38.310 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:38.312 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:38.642 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:38.642 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:38.948 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:38.949 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:39.293 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:39.293 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:39.601 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:39.601 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:39.923 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:39.924 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:40.235 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:40.235 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:40.582 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:40.583 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:40.899 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:40.900 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:41.201 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:41.201 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:41.539 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:41.540 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:41.867 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:41.868 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:42.192 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:42.192 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:42.498 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:42.499 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:42.812 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:42.813 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:43.152 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:43.152 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:43.501 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:43.502 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:43.829 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:43.829 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:44.151 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:44.152 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:44.495 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:44.495 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:44.558 GUI src\utils\gui.py[line:683]-_app_stop 停止中,请稍候 22:05:44.827 INFO src\utils\image.py[line:128]-match tansuo 匹配成功,相似度: 0.96 22:05:44.828 INFO src\package\tansuo.py[line:173]-run current result name: tansuo 22:05:44.828 GUI src\package\utils.py[line:390]-task_start 耗时17秒 22:05:44.828 GUI src\package\utils.py[line:395]-task_start 已完成 探索 0次 22:05:46.414 INFO src\utils\window.py[line:245]-check_game_handle SCREEN_SIZE: (3456, 2160) 22:05:46.414 INFO src\utils\decorator.py[line:26]-wrapper GameWindow.get_game_window_handle() calling 22:05:46.416 GUI src\utils\window.py[line:144]-window_info_display 游戏窗口信息 左侧横坐标:38 顶部纵坐标:566 右侧横坐标:1174 底部纵坐标:1271 窗口宽度:1136 窗口高度:666 22:05:46.416 INFO src\utils\decorator.py[line:32]-wrapper GameWindow.get_game_window_handle() finish 22:05:46.416 INFO src\utils\decorator.py[line:26]-wrapper is_rect_within_range() calling 22:05:46.416 INFO src\utils\decorator.py[line:28]-wrapper *args: ((29, 566, 1183, 1279), 1154, 687) 22:05:46.416 INFO src\utils\decorator.py[line:32]-wrapper is_rect_within_range() finish 22:05:46.416 ERROR src\utils\gui.py[line:307]-qmessagbox_update_func 游戏窗口大小不匹配 22:05:48.009 INFO src\utils\gui.py[line:316]-qmessagbox_update_func 用户接受强制缩放 22:05:48.048 INFO src\utils\window.py[line:216]-force_zoom new_handle_coor:(29, 566, 1183, 1253) 22:05:48.049 GUI src\utils\gui.py[line:248]-application_init_ready 初始化成功 22:05:48.050 ERROR src\utils\window.py[line:270]-check_game_handle 游戏窗口检测失败

Larry314 commented 2 months ago

我下一下你的最新版本再试试

AquamarineCyan commented 2 months ago

1723643172515 在初始化检测的时候是这样的,但是会自己到这个界面 image 然后jiu'bu'do就不动了。客户端的兼容性我也改了,然后点了游戏检测,不知道是什么原因导致这样子,但是个人突破可以用

从日志看出确实进到第二张图界面,但是能一直识别到上个界面的元素(/resource/tansuo/tansuo.png)。试一下在困28里面开始任务呢