Comments (6)
而且好友排行榜也没有了,
while(!friendListWaiting()) sleep(1000); 这行会产生死循环
from ant-forest-autoscript.
直接拿好友列表, 进行循环
friends_list = className('android.view.View').depth(7).find()
if (friends_list.length > 0) {
friends_list.forEach(function (fri) {
if (fri.visibleToUser() && fri.childCount() > 3)
// ...
});
// ...
}
from ant-forest-autoscript.
而且好友排行榜也没有了,
while(!friendListWaiting()) sleep(1000); 这行会产生死循环
用 总排行榜
代替 好友排行榜
from ant-forest-autoscript.
直接拿好友列表, 进行循环
friends_list = className('android.view.View').depth(7).find() if (friends_list.length > 0) { friends_list.forEach(function (fri) { if (fri.visibleToUser() && fri.childCount() > 3) // ... }); // ... }
fri.childCount() 为1,求解
from ant-forest-autoscript.
直接拿好友列表, 进行循环
friends_list = className('android.view.View').depth(7).find() if (friends_list.length > 0) { friends_list.forEach(function (fri) { if (fri.visibleToUser() && fri.childCount() > 3) // ... }); // ... }fri.childCount() 为1,求解
friends_list = className('android.view.View').depth(7).find()这句代码意思是找处于第七层的view,处于第七层的view都可能被寻找到,所以你找到的可能不是好友列表的view
from ant-forest-autoscript.
直接拿好友列表, 进行循环
friends_list = className('android.view.View').depth(7).find() if (friends_list.length > 0) { friends_list.forEach(function (fri) { if (fri.visibleToUser() && fri.childCount() > 3) // ... }); // ... }
蚂蚁森林全部改成viewgroup了,用控件没法识别的到呀
from ant-forest-autoscript.
Related Issues (20)
- 滑动朋友列表到收取能量时,没有点进去用户 HOT 3
- text和desc自动识别
- 能否增加点赞和浇水选项 HOT 2
- 群主加群你的ID是什么呀? HOT 2
- 蚂蚁森林更新后,小手无法识别 HOT 5
- Honor 9x 获取好友排行榜失败-time out HOT 1
- 请问这个路径在哪?没找到啊 HOT 1
- 运行之后可以自动进入蚂蚁森林,但是没有任何操作就退出来了,然后就是再进入蚂蚁森林,再退出... 循环 HOT 1
- config运行失败,脚本没考虑支付宝指纹到密码的切换 HOT 16
- 实现了打开支付宝时从指纹到密码的转换
- 怎样运行项目 HOT 2
- 增加自我收取的定时设置,以及改善好友栏下拉速度
- 脚本运行出错
- 最近是不是有更新了!? HOT 3
- 解锁失败 HOT 1
- 无法进入好友列表 HOT 4
- 点击main启动,直到下拉完排行榜之后报了一个错误 HOT 2
- 可不可以定时收取和循环收取同时使用?
- 只能正常运行大概一天时间,第二天就会解锁失败,杀掉应用重启就可以解锁了,机型华为 android9.0,有没有解决方法? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-forest-autoscript.