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:
- Capture packet interception request, change the game directly after the end of the submission to the server score
- Physical plug-in, with the robot finger and camera, identify the distance, calculate the click time, control the robot finger down time
- 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
-
hardware
- A computer with Mac OS
- The iPhone
- cable
- 🤣
-
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
- wechat_jump_game(Python implementation of wechat “Jump jump” auxiliary, support Android and iOS)
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)
-
Install Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Copy the code
-
Install Carthage (refer to the tutorial):
brew install carthage Copy the code
-
Download WDA source code:
- Go directly to github.com/facebook/We… download
-
Run the WDA initialization script:
- 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
- Execute the initialization script
./Scripts/bootstrap.sh Copy the code
- Change the execution directory to the WDA folder you just downloaded
-
Open Xcode and run the WDA project
- A certificate is required to run on a real computer. In order to prevent conflicts with others, you can change the BundleID first
- Select the target WebDriverAgentRunner
- Run Test, Product -> Test, (yes
Test
notRun
) - If it runs successfully, the Xcode console prints the WDA server address, such as
http://10.0.0.1:8100
- You can add
/status
Synthesize a URL address. For example,http://10.0.0.1:8100/status
Then the browser opens. If a string of JSON output appears, the WDA installation is successful.
Install the port forwarding tool
brew install libimobiledevice
iproxy 8100 8100
- This time you can use http://localhost:8100/status to access just the address
Install the facebook – wda
- Install Python3 first: www.python.org/downloads/r…
- Execute the command
pip3 install --pre facebook-wda
Install wechat_jump_game
-
Go directly to github.com/wangshub/we… download
-
Copy the device configuration file from wechat_jump_game/config/iPhone, rename it, and replace it with wechat_jump_game/config.json
-
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
-
Run pip3 install -r requirements. TXT
Start having fun
- Open the wechat mini program to jump to the game interface
- Execute commands on the computer
python3 wechat_jump_auto_iOS.py
- Onlookers jump jump jump 🤣
Video display: https://www.bilibili.com/video/av18858894/