preface

Recently wechat jump jump this small game is popular, due to the existence of the friend ranking version, inspired our on (PAN) into (BI) heart. In addition to the normal way to improve the liver score, there are also a variety of technical house abnormal means:

  1. Capture packet interception request, change the game directly after the end of the submission to the server score
  2. Physical plug-in, with the robot finger and camera, identify the distance, calculate the click time, control the robot finger down time
  3. Use mobile phone debugging mode, screen shots, identify the square distance, calculate the click duration, call system functions to simulate the click screen

The third approach is a software version of the second approach and is used in this article

ps:The method 1 submit bug has been fixed, method 3 especially method is simulated on the the principle of operation (code intentionally random drift fall in place and pause interval), theoretically WeChat is unable to distinguish, but WeChat appeared to have a growth curve method, if you don’t scientific progress curve, or will you score zero

To prepare

  1. hardware

    • A computer with Mac OS
    • The iPhone
    • cable
    • 🤣
  2. Software and dependencies (installation steps follow)

    • wechat_jump_game(Python implementation of wechat “Jump jump” auxiliary, support Android and iOS)
      • Python
    • WebDriverAgent(A facebook server that allows iOS devices to be remotely controlled)
      • Xcode (Apple Development Tools)
      • Carthage (Cocoa dependency Manager)
        • Homebrew
    • facebook-wda(Python client library to control iOS devices by connecting to WebDriverAgent)
      • Python
    • Libimobiledevice (used here to map the phone’s port to the computer)
      • Homebrew

The installation

  • Software that is already installed can be skipped. This article assumes a new computer
  • For smoothness and fewer jumps, this article combines a number of other tutorials that you can jump to if you have problems
  • The commands in the following code snippet are executed on a terminal

Install Xcode

  • How blog.wskfz.com/baidu/?q=…

Install WebDriverAgent (Refer to the tutorial)

  1. Install Homebrew:

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    Copy the code
  2. Install Carthage (refer to the tutorial):

    brew install carthage
    Copy the code
  3. Download WDA source code:

    • Go directly to github.com/facebook/We… download
  4. Run the WDA initialization script:

    1. Change the execution directory to the WDA folder you just downloaded
      cd /Users/xxx/xxx/ Remember to change the directory to WDA
      Copy the code
    2. Execute the initialization script
      ./Scripts/bootstrap.sh
      Copy the code
  5. Open Xcode and run the WDA project

    1. A certificate is required to run on a real computer. In order to prevent conflicts with others, you can change the BundleID first
    2. Select the target WebDriverAgentRunner
    3. Run Test, Product -> Test, (yesTestnotRun)
    4. If it runs successfully, the Xcode console prints the WDA server address, such ashttp://10.0.0.1:8100
    5. You can add/statusSynthesize a URL address. For example,http://10.0.0.1:8100/statusThen the browser opens. If a string of JSON output appears, the WDA installation is successful.

Install the port forwarding tool

  1. brew install libimobiledevice
  2. iproxy 8100 8100
  3. This time you can use http://localhost:8100/status to access just the address

Install the facebook – wda

  1. Install Python3 first: www.python.org/downloads/r…
  2. Execute the commandpip3 install --pre facebook-wda

Install wechat_jump_game

  1. Go directly to github.com/wangshub/we… download

  2. Copy the device configuration file from wechat_jump_game/config/iPhone, rename it, and replace it with wechat_jump_game/config.json

  3. Change the execution directory to the wechat_jump_game folder you just downloaded

    cd /Users/xxx/xxx/ Remember to change it to wechat_jump_game
    Copy the code
  4. Run pip3 install -r requirements. TXT

Start having fun

  1. Open the wechat mini program to jump to the game interface
  2. Execute commands on the computerpython3 wechat_jump_auto_iOS.py
  3. Onlookers jump jump jump 🤣

Video display: https://www.bilibili.com/video/av18858894/