Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf:更改检测自动战斗的逻辑 #708

Closed
wants to merge 3 commits into from
Closed

Conversation

iceNo9
Copy link
Contributor

@iceNo9 iceNo9 commented Sep 28, 2023

添加了新的识别文件;
修改识别区域;

你好,添加了新的识别文件,位置应该在./picture/pc/c.jpg,但是我不知道怎么传上来,可以加我qq3222973652或者邮件发我,我传给你

添加了新的识别文件;
修改识别区域;
@iceNo9 iceNo9 closed this Sep 28, 2023
@iceNo9
Copy link
Contributor Author

iceNo9 commented Oct 13, 2023

c
图片文件已上传

@iceNo9 iceNo9 reopened this Oct 13, 2023
@Night-stars-1
Copy link
Collaborator

自动战斗没有使用图片识别

@iceNo9
Copy link
Contributor Author

iceNo9 commented Oct 16, 2023

我看了代码,是加载auto的一个图像文件,对比全屏截图来决定按v开启自动战斗,这个可能有误差。我这个是参考隔壁宇宙的代码,是识别左下角区域的关键图像来开启自动战斗,实际测试还没出现过误判

@Night-stars-1
Copy link
Collaborator

我看了代码,是加载auto的一个图像文件,对比全屏截图来决定按v开启自动战斗,这个可能有误差。我这个是参考隔壁宇宙的代码,是识别左下角区域的关键图像来开启自动战斗,实际测试还没出现过误判

这里推荐的处理是直接把游戏里的沿用自动战斗打开,不让程序处理这部分

添加config.json的自动关机开关项目;
运行结束后60S关机;
@iceNo9 iceNo9 closed this Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants