源码和APK地址:快手极速辅助新年版V2.rar - 蓝奏云
解压文件截图:
重写后的代码截图:
1、看完ad后明天再来 增加个判断 明日再来
2、重写签到
3、增加关注得积分功能
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() } } } }
4、增加打开看快看点得积分的功能
function 快看点() { let 打开快看点_key = appName + adenBase.storageSign() + "打开快看点" + adenTools.getDate(); let value = adenStorage.get("" + 打开快看点_key + ""); //系统存储已经执行的时间 print("打开快看点_value:" + value) let returnValue = adenTools.isNullOrEmpty(value) if (returnValue) { if (value == adenTools.getDate()) { toastLog("今日打开快看点金币已经领取完毕") return } } toastLog("执行打开快看点") if (clickRedPacket()) { adenTools.sleepRandom3() //是个网页加载的慢 adenTools.sleepRandom3() //是个网页加载的慢 adenTools.clickAreaForFindImage(ad_image_array) adenTools.swipeDown() adenTools.swipeDown() //text = if (adenTools.clickControlBounds(textContains("打开快看点App"))) { open_kkd_detail() }else{ adenTools.swipeDown() if (adenTools.clickControlBounds(textContains("打开快看点App"))) { open_kkd_detail() }else{ adenTools.swipeDown() if (adenTools.clickControlBounds(textContains("打开快看点App"))) { open_kkd_detail() }else{ adenTools.swipeDown() if (adenTools.clickControlBounds(textContains("打开快看点App"))) { open_kkd_detail() }else{ //次数加1 let return_image_array = ["./Image/快手极速版/返回1.png", "./Image/快手极速版/返回2.png", "./Image/快手极速版/返回3.png"] if (!adenTools.clickAreaForFindImage(return_image_array)) { back() } } } } } } function open_kkd_detail(){ adenTools.sleepRandom3() adenTools.sleepRandom3() adenTools.startApp(appName) adenTools.sleepRandom3() adenTools.sleepRandom3() adenTools.sleepRandom3() let 打开快看点_key = appName + adenBase.storageSign() + "打开快看点" + adenTools.getDate(); let value = adenTools.getDate(); adenStorage.put(打开快看点_key, value); back() } }
5、优化打开宝箱功能
7、框架整体更新提升开发和编程效率