凹音短视频邀请码:VLFQ35

又一个区块链大作,昨天刚刚发布,目前公测中。目前一个砖石是7RMB,一个号一天能0.5个。区块链作品前期收益巨大,道友们还犹豫啥呢?

直接注册是不能的的扫描二维码注册:

单击代码已经写好,分享给道友们:

auto.waitFor();//判断和等待开启无障碍letsee_count=1000;//rawInput('请输入滑动次数','1000');//手动输入滑动次数默认是1000次。letappName="凹音短视频"app.launchApp(appName);//只有一个快手极速版所以直接Launch就可以,不用包名console.show();//开启日志(悬浮窗权限)console.info(appName);sleep(22000);//等待splash时间手机不好长点probability=10;//概率自动点赞、评论、关注的概率timesInterval=8;//间隔时间CurveBrushScreen=false;//是否曲线滑动true取消滑动false直线滑动adolescentWindows();//关闭青少年窗口for(vari=1;i<see_count;i++){toastLog(appName+"滑动"+i+"次"+"总计:"+see_count+"次");//系统自带目前我huweinova不显示还不知道为啥letx1=random(device.width*0.2,device.width*0.3);lety1=device.height*0.8letx2=random(device.width*0.2,device.width*0.3);lety2=device.height*0.1letpressTime=random(400,500);seeAdEarnDiamonds();randomHeart();randomUpSildeScreen(x1,y2,x1,y1,pressTime,probability);randomDownSildeScreen(x1,y1,x2,y2,pressTime,timesInterval,probability);slideScreenDown(x1,y1,x2,y2,pressTime,timesInterval,CurveBrushScreen);}//关闭当前程序home();//回到首页/***看广告领钻石*/functionseeAdEarnDiamonds(){if(text("看广告领钻石").exists()){toastError("发现看广告内容");letbrect=text("看广告领钻石").findOnce().bounds();click(brect.centerX(),brect.centerY());sleep(30000);}}/***青少年窗口*/functionadolescentWindows(){if(text("我知道了").exists()){text("我知道了").findOnce().click();}if(text("知道了").exists()){text("知道了").findOnce().click();}}/***直接无视*/functioncloseUpgrageTip(){if(text("直接无视").exists()){text("直接无视").findOnce().click();}if(text("刷新重试").exists()){text("刷新重试").findOnce().click();}}/**随机点赞并休息一秒*/functionrandomHeart(){index=random(1,10);if(index==1){vartarget=id('btn_like').findOnce();if(target==null){return;}else{target.click();sleep(1000);}}}/***随机关注id=rl_video_list_atten*/functionrandomFollow(){index=random(1,10);if(index==1){vartarget=id('rl_video_list_atten').findOnce();if(target==null){return;}else{target.click();sleep(1000);}}}/***贝塞尔曲线*@param{坐标点}ScreenPoint*@param{偏移量}Offset*/functionbezier_curves(ScreenPoint,Offset){cx=3.0*(ScreenPoint[1].x-ScreenPoint[0].x);bx=3.0*(ScreenPoint[2].x-ScreenPoint[1].x)-cx;ax=ScreenPoint[3].x-ScreenPoint[0].x-cx-bx;cy=3.0*(ScreenPoint[1].y-ScreenPoint[0].y);by=3.0*(ScreenPoint[2].y-ScreenPoint[1].y)-cy;ay=ScreenPoint[3].y-ScreenPoint[0].y-cy-by;tSquared=Offset*Offset;tCubed=tSquared*Offset;result={"x":0,"y":0};result.x=(ax*tCubed)+(bx*tSquared)+(cx*Offset)+ScreenPoint[0].x;result.y=(ay*tCubed)+(by*tSquared)+(cy*Offset)+ScreenPoint[0].y;returnresult;}/***滑动(默认概率是百分之三十)*@param{*}qx*@param{*}qy*@param{*}zx*@param{*}zy*@param{*}time*@param{*}timesInterval*/functionslideScreenDown(qx,qy,zx,zy,time,timesInterval,CurveBrushScreen){if(CurveBrushScreen){curveDown(qx,qy,zx,zy,time,timesInterval);//曲线概率}else{lineDown(qx,qy,zx,zy,time,timesInterval);//直线概率}}/***概率0-9大于3的时候采用曲线概率小于3的时候直线概率*/functionrandomFunction(){returnMath.floor(Math.random()*10);}functioncurveDown(qx,qy,zx,zy,time,timesInterval){toastInfo("曲线滑动");varxxy=[time];varpoint=[];vardx0={"x":qx,"y":qy};vardx1={"x":random(qx-100,qx+100),"y":random(qy,qy+50)};vardx2={"x":random(zx-100,zx+100),"y":random(zy,zy+50),};vardx3={"x":zx,"y":zy};for(vari=0;i<4;i++){eval("point.push(dx"+i+")");};for(leti=0;i<1;i+=0.08){letnewPoint=bezier_curves(point,i);xxyy=[parseInt(newPoint.x),parseInt(newPoint.y)]xxy.push(xxyy);}gesture.apply(null,xxy);letrandomMin=timesInterval*1000;letrandomMax=(parseInt(timesInterval)+2)*1000;letdelayTime=random(randomMin,randomMax);sleep(delayTime);}/***屏幕向下滑动并延迟8至12秒*/functionlineDown(startX,startY,endX,endY,pressTime,timesInterval){toastInfo("屏幕向下滑动");swipe(startX,startY,endX,endY,pressTime);letrandomMin=timesInterval*1000;letrandomMax=(parseInt(timesInterval)+2)*1000;letdelayTime=random(randomMin,randomMax);sleep(delayTime);}/***按照指定概率随机上滑*@param{*}startX*@param{*}startY*@param{*}endX*@param{*}endY*@param{*}pressTime*@param{*}probability*/functionrandomUpSildeScreen(startX,startY,endX,endY,pressTime,probability){letrandomIndex=random(1,parseInt(probability));if(randomIndex==1){swipe(startX,startY,endX,endY,pressTime);delayTime=random(12000,15000);sleep(delayTime);}}/***连续下滑对上一个无兴趣*其实得和上滑做个排他,既然无兴趣不要在上滑*/functionrandomDownSildeScreen(startX,startY,endX,endY,pressTime,timesInterval,probability){letrandomIndex=random(1,parseInt(probability));if(randomIndex==1){swipe(startX,startY,endX,endY,pressTime);sleep(2000);swipe(startX,startY,endX,endY,pressTime);sleep(timesInterval);}}/***输出Tosat和Info日志*@param{日志消息}messagge*/functiontoastInfo(message){toast(message)console.info(message)}/***输出Tosat和Error日志*@param{日志消息}messagge*/functiontoastError(message){toast(message)console.error(message)}functiontoastLog(message){toast(message)console.log(message)}functiontoastWarn(message){toast(message)console.warn(message)}