无法自动嗑石头
Closed this issue · 2 comments
imaegoo commented
设备:MuMu模拟器
分辨率:1280x720
前提:
- 没有理智合剂
- 没有足够理智
操作步骤:
- +刷图
- √自动使用理智合剂
- √自动嗑石头
- 次数0
- 确定
- 开始
现象:
- 自动点击:开始作战
- 自动点击:使用理智合剂恢复
- 自动点击:返回
- 报错
(。・∀・)ノ[1]Exception in thread Thread-57:
Traceback (most recent call last):
File "threading.py", line 926, in _bootstrap_inner
File "threading.py", line 870, in run
File "tasks.py", line 352, in _run_tasks
File "tasks.py", line 347, in _run_tasks
File "tasks.py", line 142, in farm
File "utils.py", line 126, in touch_image
File "site-packages\airtest\utils\logwraper.py", line 71, in wrapper
File "site-packages\airtest\core\api.py", line 260, in touch
File "site-packages\airtest\utils\logwraper.py", line 71, in wrapper
File "site-packages\airtest\core\cv.py", line 77, in loop_find
airtest.core.error.TargetNotFoundError: 'Picture Template(E:\\Game\\ArkNights Farmer-V2.1.0\\image/start1.png) not found in screen'
如果在脚本点击“使用理智合剂恢复”时,人工切回“使用源石恢复”的tab,脚本会嗑石头。
imaegoo commented
Screen record:
bandicam 2020-05-03 08-41-32-334.zip
Treetreewu commented
V2.1.1 已修复(大概