-
Notifications
You must be signed in to change notification settings - Fork 555
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
无法收取自己的能量(自己主页能量检测不到) 和 无法收取别人能量(分析能量球位置超出布局界外) #321
Comments
这是修改后的文件,需要把后缀名改为 .js 然后覆盖了源文件 |
多谢老哥,明天用着试试 |
我i也遇到了 而且现在不能添加锁屏密码 会崩溃 重新 初始化下载也是 |
没问题了,谢谢老哥 |
我是自己写的解锁 |
own.tt 这个值取得就是 setting -> 自收功能 -> 控件最大准备时间 |
源文件链接点不进去,能否发个兰奏云 |
我好像也是,所以改的好像没啥用,有别的解决方案么 |
需要参考置顶issue修改再结合楼主的修改 完美解决 |
感谢提供方案
森林改版后 上述方案将识别时间拉长 等到控件可识别后 脚本将继续正常执行 新版本将放弃控件识别改用图像识别的方式
问题根源出现在 橙色球是以圆形中心向右下方偏移一定的缩放坐标量后 上述方案将橙色球识别方法注释掉 经过上述处理 脚本会将橙色球识别为绿色球进行点击 目前区分橙色球的主要因素有
新版修正了上述 再次感谢提供方案 |
我也遇到了以上两个问题
1、自己主页能量检测不到 #312
if (waitForAction(_getBallsNum, 10e3, 60)) {
let _n = $$app.tool.stabilizer(_getBallsNum, _num, 120, 180);
if (!isNaN(_n) && _n > _num) {
_num = _n;
}
debugInfo("找到主页能量球: " + _num + "个");
return $$af.balls_nodes = _balls_nodes;
}
debugInfo("指定时间内未发现主页能量球");
根据关键字搜索找到以上代码 指定时间内未发现主页能量球
然后修改 waitForAction 方法中传入方法中的时间
原先是 if (waitForAction(_getBallsNum, own.tt, 60)) {
我改为了 waitForAction(_getBallsNum, 10e3, 60)
2、分析能量球位置超出布局界外 #316
function _addBalls() {
_balls.forEach((o) => {
// if (_isOrangeBall(o)) {
// return _addBall(o, "orange");
// }
根据关键字搜索找到以上代码 _isOrangeBall
把 _isOrangeBall 这几行代码注释了
The text was updated successfully, but these errors were encountered: