Giter Site home page Giter Site logo

zzliux / assttyys_autojs Goto Github PK

View Code? Open in Web Editor NEW
199.0 5.0 52.0 82.36 MB

痒痒鼠安卓辅助,基于Auto.js Pro开发。支持御魂、御灵、业原火、突破、狗粮、百鬼夜行、抽厕纸、逢魔日常、地鬼日常、妖气自动排队、斗技、喂蛋、合结界卡、六道萤草、定时寄养等

License: MIT License

JavaScript 7.75% Vue 8.06% CSS 0.80% HTML 0.74% TypeScript 82.65%
autojs autojs-pro autojs-webview onmyoji

assttyys_autojs's Introduction

ASSTTYYS NG

ASISTTANT YYS NEXT GENERATION
仅作学习用途,请勿用于其他非法途径!
欢迎在issue中提出bug与建议,也欢迎有能力的同学加入开发与维护的队列中来
GitHub group:864842180

分辨率支持情况

脚本开发分辨率为 720 * 1280 该分辨率的横屏或竖屏均能兼容,其他分辨率兼容原理见 https://gitee.com/yiszza/ScriptLib 中 README 所提到的锚点比色 与 多点找色,开发分辨率得到的相关坐标点都会在运行分辨率上进行一次缩放与位移,但未测试过其他分辨率,因目前大多真机都是异型屏,阴阳师对异型屏有特殊优化,导致几乎所有异型屏都不支持锚点比色做阴阳师的多分辨率兼容,建议使用配合虚拟机或云手机使用。

目录说明

assttyys_autojs
├─assets                                       资源目录,不经过webpack打包,运行时可加载该目录下的文件
│  ├─img                                       
│  └─lib
├─build                                        aj打包时自动产生的构建目录
├─config                                       webpack打包配置
├─dist                                         webpack打包目标目录
├─docs                                         文档
│  └─img
├─hotrun                                       热更新壳程序
│  ├─build
│  └─res
├─node_modules                                 npm依赖包路径
├─res                                          aj打包时自动产生的资源目录
├─src                                          源码目录
│  │  index.ts                                 入口文件
│  ├─common                                    公共模块
│  │  │  commonConfig.ts                       公共默认配置,每个方案右上角的配置来源
│  │  │  fmmxQuestionList.ts                   逢魔密信题库
│  │  │  funcList.ts                           功能入口,用以动态加载funcList下所有模块
│  │  │  globalCommconConfig.ts                全局参数,用于在设置中体现
│  │  │  multiDetectColors.ts                  **多点找色配置文件**
│  │  │  multiFindColors.ts                    **多点找色配置文件**
│  │  │  schemeList.tson                       **预设方案配置文件**
│  │  │  ...
│  │  └─funcList                               **功能配置目录**
│  │          000_结束判断.ts
│  │          001_准备.ts
│  │          002_退出结算.ts
│  │          003.悬赏协作.ts
│  │          004_接受邀请.ts
│  │          ...
│  ├─mock                                      前端模拟数据
│  │      promptMock.ts
│  ├─system                                    aj端目录
│  │  │  drawFloaty.ts                         悬浮绘制模块
│  │  │  helperBridge.ts                       操作模块,集成scriptlib以及点击等操作
│  │  │  index.ts                              aj端入口
│  │  │  inputhideutil.ts                      适配软键盘弹起布局的模块
│  │  │  myFloaty.ts                           悬浮按钮模块
│  │  │  ocr.ts                                ocr模块
│  │  │  schemeDialog.ts                       方案弹窗选择模块
│  │  │  script.ts                             **脚本逻辑模块**
│  │  │  store.ts                              本地存储模块
│  │  ├─FloatButton                            大柒悬浮按钮
│  │  └─webviewEvents                          auto端处理前端路由目录
│  │          funcList.ts
│  │          index.ts
│  │          ...
│  └─templateV3
│     │  App.vue
│     │  index.html
│     │  index.js
│     ├─assets                                  前端静态资源
│     ├─components                              前端组件
│     │      AppListLaunchDialog.vue
│     │      AppListRefDialog.vue
│     │      FuncConfigBox.vue
│     │      FuncConfigDialog.vue
│     └─pages                                   前端页面
│              About.vue
│              FuncList.vue
│              SchemeList.vue
│              Settings.vue
├─test                                          测试目录,里面有乱七八糟的测试用的文件
|  ...                                          待补充

特别鸣谢

感谢下面几位dalao的顶力支持,在本项目的开发过程中提出的需求均能快速响应与采纳!

  • yiszza
    • ScriptLib:基于Auto.ts的高性能比色找色库,本项目的所有多点比色和多点找色均基于AnchorGraphicHelper完成
    • 综合图色助手:一款简单好用的图色助手, 快速生成多种脚本开发工具的图色格式代码
  • molysama
    • @auto.pro的提供者,本项目基于该框架完成
  • 以及本项目的 贡献者

LICENSE

MIT

assttyys_autojs's People

Contributors

horsemi avatar josestone5 avatar juinjonn avatar kuhai001 avatar lc-cn avatar liuaweio avatar shui670 avatar zzliux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

assttyys_autojs's Issues

如何使用

这个咋用啊,自己打包或者用release的,放到autox或者auto6里面都不行,打包后会闪退,直接运行会黑屏

点击式神

有的阵容需要给一个式神吃全部增益!目前没办法选择增益式神

给方案、脚本增加生命周期

提供接口做方案的配置更新:允许在功能(Func)内更新当前方案、更新指定方案,基于该考虑引入生命周期,用以解决以下场景的问题:

  1. 大量的方案配置使得方案管理混乱,需要多个方案配合才能实现流程化操作,基于该考虑引入配置更新简化方案配置,如个人突破卡级方案目前由两个方案切换而来,引入配置回写后一个方案即可实现;
  2. 存在需求方案在停止后需要将配置回写,如六道椒图、六道萤草运行过程中记录的buff数;

方案(Scheme)、脚本(Script)运行的生命周期目前规划以下阶段,在功能(Func)中声明相关函数

  • onScriptStart 脚本运行,允许读写第一个方案的配置、使用Script上下文
  • onSchemeSwitchIn 方案切入,允许读写当前方案的配置、上一个方案的配置、使用Script上下文
  • onSchemeStart 方案运行,允许读写当前方案的配置、使用Script上下文
  • onSchemeStop 方案停止,允许读写当前方案的配置、使用Script上下文
  • onSchemeSwitchOut 方案切出,允许读写当前方案的配置、下一个方案的配置、使用Script上下文
  • onScriptStop 脚本停止,允许读写最后一个方案的配置、使用Script上下文

关于关闭buff

当前在mumu模拟器上执行关闭buff,会连续两次点击已打开的buff,最终导致buff关闭又被打开。

src/common/funcList/040_关闭BUFF.ts

let point = thisScript.findMultiColor('开启的BUFF') || null
			if (point) {
				thisScript.helperBridge.regionClick([
					[point.x, point.y, point.x + thisOperator[0].oper[0][2], point.y + thisOperator[0].oper[0][3], 300]
				], thisScript.scheme.commonConfig.afterClickDelayRandom);
				return true
			}

此处return true之前是否应该加sleep?

改进【式神寄养】功能

  1. 建议方案功能中增加,‘0’号功能,并开启长时间未做任何动作的判断。
  2. 方案原文件中,对于994的功能设置似乎有错误,
    image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.