Giter Club home page Giter Club logo

genshin_cook's Introduction

genshin_cook

原神烹饪半自动 genshin impact cook helper

需要模块:time、random、numpy、pyautogui、pillow

游戏是管理员模式运行,解释器也要管理员权限才能操作鼠标,我用的pycharm,其他ide没试过。

思路:将每个画面截图,在圆环区域找出深黄色区域,下次截图时比较深黄色区域内是不是出现了白色点,出现白色则说明时机已到,快快起锅

目前还有很多地方不够完美,有时候点了没反应,直接卡住。有时候材料不够直接退了。不说了,砍木头做家具去了

genshin_cook's People

Contributors

fengyanwan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

genshin_cook's Issues

Some error occures.

Traceback (most recent call last):
  File "D:\Users\20292\Documents\GitHub\Genshin_cook\genshin_impact_auto_cook.py", line 47, in <module>
    img = pyautogui.screenshot()            # 截图
  File "C:\Users\20292\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyscreeze\__init__.py", line 144, in wrapper
    raise PyScreezeException('The Pillow package is required to use this function.')
pyscreeze.PyScreezeException: The Pillow package is required to use this function.

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.