https://github.com/hncboy/jumpgame
微信跳一跳辅助
https://github.com/hncboy/jumpgame
Last synced: 2 months ago
JSON representation
微信跳一跳辅助
- Host: GitHub
- URL: https://github.com/hncboy/jumpgame
- Owner: hncboy
- Created: 2017-12-30T16:22:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-30T17:07:33.000Z (about 8 years ago)
- Last Synced: 2025-01-28T08:53:01.557Z (12 months ago)
- Language: Java
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
JumpGame
微信跳一跳辅助
缘由
参考 https://github.com/easyworld/PlayJumpJumpWithMouse
用java写的一个跳一跳辅助
原理
1.用adb截图并用鼠标测量距离
adb shell screencap 保存截屏到手机
adb pull /sdcard/screen.png 下载截屏文件到本地
2.计算按压时间后模拟按压
adb shell input swipe [duration(ms)] (Default: touchscreen) 模拟长按
操作
1.安卓手机用数据线连接电脑并打开USB调试(并且允许通过USB调试修改权限或模拟点击)
2.用鼠标操作点击两个方块的起始位置