JumpJumpHelper
use best language Play WeChat with PHP
renew
- 2018.01.05
- Fixed delay can be changed to random delay, the range can be set
- Add random points to press and slightly move to lift, simulating fingers
- 2.5D distance correction, correct this situation: as shown in the figure
- 2018.01.01
- Fix screen resolution compatibility
- Using Mathematica fitting function
- 2017.12.31
- New midpoint matching function
- Calculate pressing time based on quadratic function fitting
rely
- php-cli (>=5.6)
- php-gd
- adb debugging tool
- android phone
How to eat
- Go to Settings > Developer Options on your phone, turn on USB debugging and simulated touch
- Connect the mobile phone to the computer, install the adb related driver, and check whether the
adb devices
command can display the device ID. - Enter the TiaoYiTiao game on WeChat and click Start
- The computer runs
php run.php
If you find that the jump is too far/close, you can adjust the parameters in config.php
appropriately.
renderings
Script principle
- Take a screenshot of your phone screen and transfer it to your computer.
- Obtain the current task and its target position by analyzing the picture
- Calculate the pressing time and simulate the click operation through adb command
Recognition principle
- Character position: Match the first single peak position of the character base through color
- Target position: After excluding the background color, find the first single peak position from top to bottom, and use angle correction for cases that are not found (all recognition data are stored in the screen folder)
fitting function
References
project | author |
---|
Teach you to use Python to play WeChat Tiaotiao | @wangshub |
WeChat Tiaoyitiao automatic play tool | @aOrz |