Coder Social home page Coder Social logo

yys's Introduction

YYS挂机辅助

阴阳师手游自动挂机脚本,功能同游戏内自带的小纸人挂机系统类似,等于不受樱饼限制无限使用的小纸人~

核心思路:

  • 在电脑上用手机模拟器运行游戏,通过截屏与图像识别判断当前场景寻找目标,控制鼠标进行模拟点击
  • 使用随机位置偏移与随机操作延迟防检测
  • 默认版本是是截屏识别所以游戏窗口需要在前台不能被遮挡/ADB版本后台控制不怕遮挡效率稍慢

功能说明

  • 自动合卡:在合成界面启动,自动选择前三张卡进行合成
  • 自动组队魂十:在御魂开始页面启动,可以作为队长或队员。需要锁定阵容
  • 自动单刷业原火: 在业原火挑战界面开启,锁定阵容。同样适用单刷御魂/觉醒/御灵
  • 自动组队探索副本:只能作为队员/打手, 需要锁定阵容。自动跟随队长退出,自动授受组队,自动确认通关
  • 自动单刷困28副本:地图内启动,无需组队,但是无法单独识别经验BUFF,适合单刷绘卷。

其它说明

  • PG文件文件里是需要寻找的位置图片,screen.jpg是实时全屏截图,函数封装在action.py,主程序在yys.py。
  • 默认模拟器分辨率为1280x720,其它分辨率可能需要重新截图标。推荐夜神模拟器。
  • 拟人化的识图与模拟点击,不读取或修改游戏内部数据,只是取代手动操作。
  • 自用了大半年效果稳定,因为是自用的所以文档不太仔细,有python & yys共同爱好的可以找我交流。

##更新说明 2019.03.06: 添加ADB版本。功能基本不变,操控方向从电脑直接截图、点击,改成了以ADB方式控制模拟器截图点击。优点:截图点击从前台转到后台,不用担心窗口遮挡问题,不影响电脑其它工作。缺点:ADB截图文件需要从模拟器传输到电脑进行分析,效率低并且有小概率传输出错卡死。原始截图片高效稳定但占用屏幕适合组队或无人挂机,ADB效率稳定性低但不影响电脑工作适合边玩电脑边后台休闲挂机。

yys's People

Contributors

anywhere2go avatar

Watchers

 avatar  avatar

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.