Giter Site home page Giter Site logo

natescarlet / auto-dragalia Goto Github PK

View Code? Open in Web Editor NEW
41.0 3.0 23.0 2.21 MB

:dragon_face::iphone:《失落的龙约》 [Auto.js](https://github.com/hyb1996/Auto.js) 辅助脚本 因游戏将停止运营而归档 archived due to the game about to end of life

License: MIT License

TypeScript 73.05% JavaScript 16.87% Ruby 0.32% Python 9.76%
autojs dragalia-lost

auto-dragalia's People

Contributors

harmonias avatar imgbotapp avatar natescarlet avatar renovate-bot avatar renovate[bot] avatar youmei 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

Watchers

 avatar  avatar  avatar

auto-dragalia's Issues

autojs崩溃

脚本运行一段时间后,autojs会崩溃,无法看到之前的日志,使用的是0.8之后的版本,不确定是我手机的问题还是代码的问题

无法重复战斗

分辨率1080x1920

无法执行重复战斗
战斗中会触发支援技能,但不会龙化/龙化技能。结算页面就停住

小弟对TS不熟,是不是有采集图像的步骤需要做呢?
希望能稍微详细的指导一下。谢谢

刷稀有 判定全成功

在使用刷稀有功能时,进图就会做一个判定(好像还判定已经处在第二关卡了?)在没有遇到怪前就会判定成功刷到稀有物品。猜测是图片适配问题(第一次用,也可能是我手法有问题?),图如下
Screenshot_2019-09-05-10-57-46
Screenshot_2019-09-05-10-58-00

设备信息

  • 型号:OnePlus 6T
  • 屏幕分辨率: 2340x1080
  • 安卓版本:9
  • Auto.js 版本: 4.0.5 Alpha

感谢您的帮助

金币本稀有怪掉落物数量个人统计

  • 1金袋n银袋 必定有四叶草
  • 1金袋 必定是血核,没有幸运草(至少我没出过)
  • 2金袋/2金袋n银袋 不确定,可能是两个血核也可能是一个血核加一个幸运草
  • 3金袋 必定有幸运草

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

English Translation? 英文翻译?

(翻译成谷歌翻译)

您的功能请求是否与问题有关? 请描述一下。

Hello, It's hard to use it and read errors with english language.
很难使用它并用英语阅读错误。

描述你想要的解决方案

Could you please make it able to detect Chinese/English and change output and image search depending on it? Not all images work with English.
使它能够检测中文/英文并根据其更改输出和搜索? 并非所有图像都使用英语。

描述您考虑过的替代方案

Alternatively there would have to be a new repository, but it would be troublesome with updates.
另外,必须有一个新的存储库,但是更新会很麻烦。

附加背景

I don't think there is much I can say here.
我认为我在这里不能说太多。

半自动模式

多人模式下的半自动模式

替代繁琐的点击操作,只需要控制移动就行

检测到进入副本,向前移动2次,开始点击屏幕,普攻,技能满了放技能,龙槽满了,变龙,结算页,自动暂定脚本,等待下次进入副本,再重复以上操作

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Rate Limited

These updates are currently rate limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency standard-version to v9

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.


  • Check this box to trigger a request for Renovate to run again on this repository

龙约v1.7.1下,稀有物品的图片变了

描述

v1.7.1下,稀有物品的图片变了,导致刷稀有失效
有可能自动喂四叶草也会失效(因为也使用threshold的查找图片)

截图

Screenshot_2019-04-25-14-53-58-970_com nintendo zaga

v1.7.1,高画质下,1080*2160截图

no-rare-item-1

在金币本中经过测试,正常识别的截图

稀有判定图片不识别

Screenshot_20190415_174942_com nintendo zaga
换了台手机,有没有黄袋子都识别为“成功刷到” 不知道是不是有拉伸或者其他的,能帮忙加下图片去程序里面
感谢

希望可以增加一个【重复战斗-自动吃蜂蜜版】的选项

在点击【用体力续战】这张图之后
repeat-with-stamina-button
如果若干次都没找到【ok】图片
ok-button
则尝试寻找【使用道具回复体力】这张图
item-recover-stamina
点击后,再寻找【加号】图片
plus-button
点击三次(因为三种蜂蜜分别回10/20/30,最少回30,最多回90,只要体力最大值大于114的玩家,就不会浪费自回体)
最后再点击【关闭】
close-button
继续点击【ok】

无法运行

1台锤子坚果pro2(root) 运行 显示 image

1台华为mate20 pro 运行 右上角显示 停止,然后 就显示 错误 error:Unknown task 停止 >#1
求解 是不是分辨率不对要调整
谢谢

自动喂龙时,如果遇到信赖度达到5的倍数,额外赠送礼物时,会卡住

这是我在尝试写自动喂四叶草的脚本过程中发现的。
问题似乎出在
while (new Date().getTime() <= waitEndTime) {
if (tryClickImage(closeButton)) {
isCloseClicked = true;
waitEndTime = new Date().getTime() + 2e3;
await wait(500);
}
这句话里,等待时间2e3有点短。

因为信赖度达到5的倍数后会有一个额外的“关闭”按钮需要按,过短的等待时间会导致提前跳出while循环,报错'未找到礼物按钮, 请手动前往龙之庭院'

2e3改成5e3后,经测试能够解决此问题。

另外我帮你写了自动喂四叶草的内容,但是我不太会用github。
我fork了以后,在本地改完,然后pull request一下就行了吗?

支持 1200x1920 分辨率

目前网络断开连接 选择重连会暂停流程
(我用的小米Pad基本所有图片都识别不了,我自己换了一套才可以

根据分辨率选择最合适的匹配图像

现在基本的匹配图像都是在我 2160x1080 的手机上截图的

平板上无法识别 #25

现在的想法是

  • 在 assets/images 文件夹下面根据添加以分辨率命名的额外图像文件夹
  • 然后运行时根据设备屏幕分辨率使用不同的图像
  • 应该需要支持额外图像包和主文件分离 webpack 分出来导入不了

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.