更新内容:
1、有的手机看ad是倒计时,修改看ad方法增判断等待时间
2、去掉新年领红包功能
3、优化签到
4、增加0.3元提现,这个提现不需要手机验证码
function 提现(){ let returnValue = adenTools.getBusinessInfo(appName, "提现") if (returnValue) { if (returnValue == adenTools.getDate()) { toastLog("今日提现完毕") return } } toastLog("开始提现0.3提现...") if (clickRedPacket()) { adenTools.sleepRandom3() //是个网页加载的慢 adenTools.clickAreaForFindImage(ad_image_array) if(textContains("领现金").exists()){ if (adenTools.clickControlBounds(textContains("领现金"))) { let little_image_array=adenTools.buildImageArray("提现0.3元", "./Image/快手极速版", 4); //选择金额 if (adenTools.clickAreaForFindImage(little_image_array)) { adenTools.sleepRandom0() little_image_array=adenTools.buildImageArray("立即兑换", "./Image/快手极速版",3); if (adenTools.clickAreaForFindImage(little_image_array)) { adenTools.sleepRandom0() little_image_array=adenTools.buildImageArray("极速到账", "./Image/快手极速版",2); if (adenTools.clickAreaForFindImage(little_image_array)) { toastLog("等待打开微信") adenTools.cutDownBySleep(20, "打开微信") //加载微信非常慢 little_image_array=adenTools.buildImageArray("微信返回", "./Image/快手极速版",2); if(adenTools.findImageCoordinate(little_image_array)){ back() } adenTools.sleepRandom3() //立即提现 little_image_array=adenTools.buildImageArray("立即提现", "./Image/快手极速版", 4); if (adenTools.clickAreaForFindImage(little_image_array)) { adenTools.recordBusinessInfo(appName, "提现") adenTools.sleepRandom1() back() adenTools.sleepRandom1() back() } }else{ adenTools.sleepRandom1() toastLog("未发现极速到账,执行立即提现") //立即提现 little_image_array=adenTools.buildImageArray("立即提现", "./Image/快手极速版", 4); if (adenTools.clickAreaForFindImage(little_image_array)) { adenTools.recordBusinessInfo(appName, "提现") adenTools.sleepRandom1() back() adenTools.sleepRandom1() back() } } } } } } } }
5、优化性能和修正BUG
7、增加关注功能
function 去关注() { let returnValue = adenTools.getBusinessInfo(appName, "去关注") if (returnValue) { if (returnValue == adenTools.getDate()) { toastLog("去关注已经领取完毕") return } } toastLog("执行去关注") if (clickRedPacket()) { adenTools.sleepRandom3() //是个网页加载的慢 adenTools.clickAreaForFindImage(ad_image_array) adenTools.swipeDown() adenTools.swipeDown() let fllow_image_array = ["./Image/快手极速版/去关注1.png", "./Image/快手极速版/去关注2.png"] if (adenTools.clickAreaForFindImage(fllow_image_array)) { adenTools.sleepRandom3() follow_detail() } else { adenTools.swipeDown() if (adenTools.clickAreaForFindImage(fllow_image_array)) { adenTools.sleepRandom3() follow_detail() } else { adenTools.swipeDown() if (adenTools.clickAreaForFindImage(fllow_image_array)) { adenTools.sleepRandom3() follow_detail() } else { adenTools.swipeDown() if (adenTools.clickAreaForFindImage(fllow_image_array)) { adenTools.sleepRandom3() follow_detail() } else { } } } } } else { toastLog("去关注未发现红包图标...") } function follow_detail() { if (id("header_follow_button").exists()) { if (adenTools.clickControlBounds(id("header_follow_button"))) { adenTools.sleepRandom3() adenTools.recordBusinessInfo(appName, "去关注") back() adenTools.clickAreaForFindImage(ad_image_array) adenTools.sleepRandom1() back() } } } }
我的博客欢迎来踩踩:亚丁号