2020淘宝双十一快速刷金币工具

2.打开软件

首先给软件授予无障碍服务,手机可能会有危险提示并要求输入账户密码,同学们可放心输入。

3.新建脚本

点击下方加号,新建脚本,命名为 tb

4.添加代码

“auto”;

toast(“请在5秒内打开喂猫猫页面”);

sleep(5*1000);

toast(“开始点击”)

setInterval(function(){

click(500,1000);

},500);

5.启停脚本

右上角点击保存,再点击运行,然后5秒内切换到喂猫猫页面,天上掉金币的奇迹就会发生了。

通过悬浮窗弹出黄色X按钮,停止脚本。

2.自动做任务

同样用到Auto.js

新建脚本文件tb2,写入以下代码

auto.waitFor();

var height = device.height;

var width = device.width;

toast(“\n设备宽” + width + “\n” + “设备高” + height + “\n” + “手机型号” + device.model + “\n安卓版本” + device.release)

setScreenMetrics(width, height);

autotask();

function autotask() {

app.launchApp(“手机淘宝”);

toast(“打开淘宝”)

sleep(6000);

click(600, 1235);//进入活动页

sleep(6000);

click(900, 1320);

toast(“领金币”)

//id(“_KivZw5”).findOne().click();//点猫 领金币

// //浏览15秒领金币

sleep(1500);

while (text(“去喂猫 赚更多喵币”).exists()) {

text(“去喂猫 赚更多喵币”).findOne().click();

}

//text(“赚喵币”).findOne().click();

click(920, 2100);

toast(“请在5秒内点击领喵币”);

sleep(5000);

if (text(“签到”).exists()) {

text(“签到”).findOne().click();

sleep(1600);

toast(“签到成功”)

}

sleep(1500);

while (text(“去浏览”).exists()) {

toast(“存在去浏览”);

text(“去浏览”).findOne().click();

sleep(1500);

swipe(width / 2, height - 500, width / 2, 0, 500);

sleep(2500);

swipe(width / 2, height - 500, width / 2, 0, 500);

sleep(10000);

swipe(width / 2, height - 500, width / 2, 0, 500);

sleep(8000);

back();

sleep(1600);

}

while (text(“去完成”).exists()) {

//要支持的动作

toast(“存在去完成”);

text(“去完成”).findOne().click();

sleep(2500);

swipe(width / 2, height - 600, width / 2, 0, 500);

sleep(3500);

swipe(width / 2, height - 600, width / 2, 0, 500);

sleep(10000);

swipe(width / 2, height - 600, width / 2, 0, 500);

sleep(9000);

back();

sleep(1000);

}

toast(“结束”);

}

保存后运行,运行前请关闭淘宝后台

点击运行后,脚本后会首先读取手机分辨率及型号,然后打开淘宝进入活动页面进行自动点按操作。功能主要包括:

  • 签到
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值