网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
01月21日漏签0天
autojs吧 关注:8,885贴子:19,055
  • 看贴

  • 图片

  • 吧主推荐

  • 游戏

  • 1回复贴,共1页
<<返回autojs吧
>0< 加载中...

基于Auto.Js脚本自动刷淘宝双十二能量

  • 取消只看楼主
  • 收藏

  • 回复
  • Neo_Jia
  • 无名之辈
    2
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
var height = device.height;
var width = device.width;
if (text("签到").exists()) {
text("签到").findOne().click();
sleep(1600);
toast("签到成功")
}
sleep(1500);
while (textContains("去浏览").exists()) {
toast("存在去浏览");
textContains("去浏览").find().forEach(function(o) {
text_str = o.text()
text_str = text_str.match(/\d+\/\d+/g).join()
click_cnt = parseInt(text_str.match(/\d+/g));
goal_cnt = parseInt(text_str.match(/\/\d+/g).join().replace("/", ""));
log(click_cnt, goal_cnt)
if (click_cnt != goal_cnt) {
toast("找到了");
o.click();
sleep(1500);
swipe(width / 2, height - 500, width / 2, 0, 500);
sleep(2500);
swipe(width / 2, height - 500, width / 2, 0, 500);
sleep(15000);
swipe(width / 2, height - 500, width / 2, 0, 500);
sleep(8000);
back();
sleep(1500);
}
})
}
while (textContains("去搜索").exists()) {
toast("存在去搜索");
textContains("去搜索").find().forEach(function(o) {
text_str = o.text()
text_str = text_str.match(/\d+\/\d+/g).join()
click_cnt = parseInt(text_str.match(/\d+/g));
goal_cnt = parseInt(text_str.match(/\/\d+/g).join().replace("/", ""));
log(click_cnt, goal_cnt)
if (click_cnt != goal_cnt) {
toast("找到了");
o.click();
sleep(1500);
swipe(width / 2, height - 500, width / 2, 0, 500);
sleep(2500);
swipe(width / 2, height - 500, width / 2, 0, 500);
sleep(15000);
swipe(width / 2, height - 500, width / 2, 0, 500);
sleep(8000);
back();
sleep(1500);
}
})
}
toast("请在能量中心开始运行,需要自行开始和停止脚本");



  • Neo_Jia
  • 无名之辈
    2
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
代码来自——吾爱破解https://www.52pojie.cn/thread-1065883-1-1.html


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 1回复贴,共1页
<<返回autojs吧
分享到:
©2026 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示