基于autojs7的快音辅助

源码和apk下载地址:https://wwa.lanzoui.com/ilrWBtgkeod

快音邀请码:PG84CG

我的博客欢迎来踩踩:http://www.yadinghao.com/

筷子辅助:http://www.yadinghao.com/article/details/202108190002

头疼辅助:http://www.yadinghao.com/article/details/202108300001

柿子辅助:http://www.yadinghao.com/article/details/202108260001

虾米辅助:http://www.yadinghao.com/article/details/202109010001

爆音辅助:http://www.yadinghao.com/article/details/202109010002

最近快音非常火爆,火爆的原因就是收益高呗,同时也是比较稳定的app。所以我也参与了一下写了个辅助自己刷刷刷了一下感觉还可以。主要有这么几个简单的功能:

  1. 自动翻页看视频,这个是基本功能都应该有。
  2. 自动签到
  3. 自动提现
  4. 清理App缓存
  5. 清理手机缓存(R9SK或者是安卓7机器)
  6. 开启控制台
  7. 下载快音
  8. 随机上滑
  9. 随机下滑
  10. 随机点赞

此软件是使用autojs pro 7编写的,虽然7这个破解版不是很好,但是支持找图,还是使用了。本次核心技术就是找图我自己编写的方法还不错支持多个图片一起找。

/**
 * 找图,找到并点击
 * @param {可以是数组也可以是字符串,传输数组可以多次找图知道找到为止} img_path_array 
 * @param {找图区域,默认是全屏找图,该参数可以不传输} area_region 
 * @param {相似度,默认是0.8,可以不传输} threshold 
 * @returns true表示执行成功Flase表示失败
 */
Tools.clickAreaForFindImage=function(img_path_array, area_region, threshold,is_continue) {
    try {
        area_region = area_region || [0, 0, device.width, device.height] //默认的找图区域 全屏找图 前2位是坐标 后面是长度和宽度   千万别理解成是坐标
        threshold = threshold || 0.8 // 默认的相识度0.8
        is_continue=is_continue|| false
        if (img_path_array instanceof Array) {
            let arrayLength = img_path_array.length
            for (let i = 0; i < arrayLength; i  ) {
                //toastLog("正在进行第"   (i   1)   "次找图...")
                img_path = img_path_array[i] //小图地址可判断是否存在
                if (!files.exists(img_path)) {
                    toastLog(img_path   "文件不存在因此跳过")
                    continue
                }
                var little_image = images.read(img_path) //小图
                var find_result_bounds = findImage(
                    captureScreen(), little_image, {
                    region: area_region,
                    threshold: threshold
                });
                if (find_result_bounds) {
                    toastLog(img_path "图找到,准备点击坐标:"   find_result_bounds)
                    click(find_result_bounds.x, find_result_bounds.y)
                    return true
                } else {
                    //toastLog(img_path "小图存在但是在大图中未找到图片进入下一次循环...")
                }
            }
            return false
        }
        if (typeof (img_path_array) == "string") {
            img_path = img_path_array//小图地址可判断是否存在
            if (!files.exists(img_path)) {
                toastLog(img_path   "文件不存在因此跳过")
                return false
            }
            var little_image = images.read(img_path) //小图
            var find_result_bounds = findImage(
                captureScreen(), little_image, {
                region: area_region,
                threshold: threshold
            });
            if (find_result_bounds) {
                toastLog(img_path "图找到,准备点击坐标:"   find_result_bounds)
                click(find_result_bounds.x, find_result_bounds.y)
                return true
            } else {
                //toastLog(img_path   "小图存在但是在大图中未找到图片")
                return false
            }
        }
    } catch (error) {
        toastLog("clickAreaForFindImage方法出现错误:"   error)
        return false;
    }
}

亚丁号快音辅助项目的project.json

整个工程截图:

清缓截图

清缓代码:

/**
 * 清理缓存
 */
function clearAppCache() {
    toastLog("开始App清理缓存");
    if (adenTools.clickControlBounds(text("音乐"))) {
        adenTools.sleepRandom3() //是个网页加载的慢
        adenTools.clickAreaForFindImage(ad_image_array)
        if (adenTools.clickControlBounds(id("nav_user_profile"))) {
            adenTools.sleepRandom1() 
            if (adenTools.clickControlBounds(id("ivProfileSetting"))) {
                if (adenTools.clickControlBounds(text("清除缓存"))) {
                    adenTools.sleepRandom1()
                    back()
                    adenTools.sleepRandom1()
                    adenTools.clickAreaForFindImage(ad_image_array)
                    back()
                    adenTools.sleepRandom1()
                    adenTools.clickAreaForFindImage(ad_image_array)
                    adenTools.clickControlBounds(text("首页"))
                }
            }
            
        } else {
            toastLog("未发现nav_user_profile")
        }
    }
}

压缩文件内容:

筷子就是快手软件是完全免费的可以放心使用。

源码和apk下载地址:https://wwa.lanzoui.com/ilrWBtgkeod

我的博客欢迎来踩踩:http://www.yadinghao.com/

学习知识费力气,

收集整理更不易。

知识付费甚欢喜,

为咱码农谋福利。

源码和apk下载地址:https://wwa.lanzoui.com/ilrWBtgkeod

快音邀请码:PG84CG

我的博客欢迎来踩踩:http://www.yadinghao.com/

筷子辅助:http://www.yadinghao.com/article/details/202108190002

头疼辅助:http://www.yadinghao.com/article/details/202108300001

柿子辅助:http://www.yadinghao.com/article/details/202108260001

虾米辅助:http://www.yadinghao.com/article/details/202109010001

爆音辅助:http://www.yadinghao.com/article/details/202109010002

最近快音非常火爆,火爆的原因就是收益高呗,同时也是比较稳定的app。所以我也参与了一下写了个辅助自己刷刷刷了一下感觉还可以。主要有这么几个简单的功能:

  1. 自动翻页看视频,这个是基本功能都应该有。
  2. 自动签到
  3. 自动提现
  4. 清理App缓存
  5. 清理手机缓存(R9SK或者是安卓7机器)
  6. 开启控制台
  7. 下载快音
  8. 随机上滑
  9. 随机下滑
  10. 随机点赞

此软件是使用autojs pro 7编写的,虽然7这个破解版不是很好,但是支持找图,还是使用了。本次核心技术就是找图我自己编写的方法还不错支持多个图片一起找。

/**
 * 找图,找到并点击
 * @param {可以是数组也可以是字符串,传输数组可以多次找图知道找到为止} img_path_array 
 * @param {找图区域,默认是全屏找图,该参数可以不传输} area_region 
 * @param {相似度,默认是0.8,可以不传输} threshold 
 * @returns true表示执行成功Flase表示失败
 */
Tools.clickAreaForFindImage=function(img_path_array, area_region, threshold,is_continue) {
    try {
        area_region = area_region || [0, 0, device.width, device.height] //默认的找图区域 全屏找图 前2位是坐标 后面是长度和宽度   千万别理解成是坐标
        threshold = threshold || 0.8 // 默认的相识度0.8
        is_continue=is_continue|| false
        if (img_path_array instanceof Array) {
            let arrayLength = img_path_array.length
            for (let i = 0; i < arrayLength; i  ) {
                //toastLog("正在进行第"   (i   1)   "次找图...")
                img_path = img_path_array[i] //小图地址可判断是否存在
                if (!files.exists(img_path)) {
                    toastLog(img_path   "文件不存在因此跳过")
                    continue
                }
                var little_image = images.read(img_path) //小图
                var find_result_bounds = findImage(
                    captureScreen(), little_image, {
                    region: area_region,
                    threshold: threshold
                });
                if (find_result_bounds) {
                    toastLog(img_path "图找到,准备点击坐标:"   find_result_bounds)
                    click(find_result_bounds.x, find_result_bounds.y)
                    return true
                } else {
                    //toastLog(img_path "小图存在但是在大图中未找到图片进入下一次循环...")
                }
            }
            return false
        }
        if (typeof (img_path_array) == "string") {
            img_path = img_path_array//小图地址可判断是否存在
            if (!files.exists(img_path)) {
                toastLog(img_path   "文件不存在因此跳过")
                return false
            }
            var little_image = images.read(img_path) //小图
            var find_result_bounds = findImage(
                captureScreen(), little_image, {
                region: area_region,
                threshold: threshold
            });
            if (find_result_bounds) {
                toastLog(img_path "图找到,准备点击坐标:"   find_result_bounds)
                click(find_result_bounds.x, find_result_bounds.y)
                return true
            } else {
                //toastLog(img_path   "小图存在但是在大图中未找到图片")
                return false
            }
        }
    } catch (error) {
        toastLog("clickAreaForFindImage方法出现错误:"   error)
        return false;
    }
}

亚丁号快音辅助项目的project.json

整个工程截图:

清缓截图

清缓代码:

/**
 * 清理缓存
 */
function clearAppCache() {
    toastLog("开始App清理缓存");
    if (adenTools.clickControlBounds(text("音乐"))) {
        adenTools.sleepRandom3() //是个网页加载的慢
        adenTools.clickAreaForFindImage(ad_image_array)
        if (adenTools.clickControlBounds(id("nav_user_profile"))) {
            adenTools.sleepRandom1() 
            if (adenTools.clickControlBounds(id("ivProfileSetting"))) {
                if (adenTools.clickControlBounds(text("清除缓存"))) {
                    adenTools.sleepRandom1()
                    back()
                    adenTools.sleepRandom1()
                    adenTools.clickAreaForFindImage(ad_image_array)
                    back()
                    adenTools.sleepRandom1()
                    adenTools.clickAreaForFindImage(ad_image_array)
                    adenTools.clickControlBounds(text("首页"))
                }
            }
            
        } else {
            toastLog("未发现nav_user_profile")
        }
    }
}

压缩文件内容:

筷子就是快手软件是完全免费的可以放心使用。

源码和apk下载地址:https://wwa.lanzoui.com/ilrWBtgkeod

我的博客欢迎来踩踩:http://www.yadinghao.com/

学习知识费力气,

收集整理更不易。

知识付费甚欢喜,

为咱码农谋福利。

打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在