Coder Social home page Coder Social logo

azurlane7-2's Introduction

azurlane7-2

A Python-based RPA script for Azur Lane level 7-2.

1 Requirements

Hardware

  1. OS: Windows 10
  2. Screen Size: 1920x1080

Software

  1. MuMu Android Simulator
    • Screen Resolution: width: 1200, height: 1200, DPI: 320, maximized window
  2. Python Environment
    • Python Version: > 3.0.0
    • PyAutoGUI

2 Usage

  1. Clone this repository to your specified directory:
git clone https://github.com/scxs1388/azurlane7-2.git
  1. Install Python3 or create Anaconda3 environment. (Recommended Python Version: 3.6.12)

2.1 Simple Usage (data recording excluded)

  1. Install PyAutoGUI.
pip install pyautogui
  1. Set the game interface on campaign Chapter 7.
  2. Set the option RECORD_ITEM to False in the file settings.py.
  3. Run the file main.py in cmd. (admin rights required)
python main.py
  1. Input 7-2 pass times and confirm.
  2. Switch to the game interface.

2.2 Advanced Usage (data recording included)

  1. Install following modules:
pip install numpy
pip install pandas
pip install opencv-python
pip install tqdm
pip install baidu-aip
pip install PyMySQL
  1. Set the option RECORD_ITEM to True in the file settings.py.

  2. Record Data

    All screenshot images will be saved in the directory image/commit_image.

  3. Commit Data

    • run the file commit_data.py. (Baidu AI client info required)
    • check the data file data/commit_data.csv and correct the recognition errors.
    • run the file commit_data.py again to check the data validity.
  4. Submit Data

    • run the file submit_data.py. (server user info required)
    • the file data/commit_data.csv will be reset, the file data/submit_data.csv will be updated, the image file directories in image/commit_image will be moved to image/submit_image.

3 Who's Afraid Of 7-2 ?

a website to display the statistics of the dropped items in level 7-2. url: https://www.scxs-studio.com/p/7-2/

4 Developer

Azur Lane (CN) 水星行动 VirtualRiot

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.