基于autojs7的番茄免费小说辅助

科技 网编 2023-06-23 11:49 228 0
function clickAreaForFindImage(img_path_array,img_path = img_path_array[i] //小图地址可判断是否存在!area_regiontoastLog(img_path + "图找到img_path = img_path_array//小图地址可判断是否存在files.exists(img_path)) {

我的博客欢迎来踩:

文件下载地址:

最近番茄免费小说非常火爆,火爆的原因就是收益高呗。所以我也参与了一下写了个辅助自己刷刷刷了一下感觉还可以。主要有这么几个简单的功能:

自动翻页看小说,这个是基本功能都应该有。自动签到自动提现清理App缓存清理手机缓存(R9SK或者是安卓7机器)开启控制台下载番茄免费小说

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

function clickAreaForFindImage(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;
    }
}

番茄写的小说_番茄小说值得看的小说_贪狼阵是番茄写的吗

亚丁号番茄小说辅助项目的.json

{
    "name": "亚丁号番茄小说辅助",
    "main": "FanQieStory.js",
    "ignore": [
        "build"
    ],
    "packageName": "com.yadinghao.fanqie.pro",
    "versionName": "1.0.0",
    "versionCode": 1
}

番茄写的小说_贪狼阵是番茄写的吗_番茄小说值得看的小说

整个工程截图:

贪狼阵是番茄写的吗_番茄小说值得看的小说_番茄写的小说

项目文件:

番茄写的小说_贪狼阵是番茄写的吗_番茄小说值得看的小说

压缩文件内容:

番茄小说值得看的小说_番茄写的小说_贪狼阵是番茄写的吗

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

文件下载地址:

我的博客欢迎来踩:

学习知识费力气,

收集整理更不易。

知识付费甚欢喜,

为咱码农谋福利。

评论区