{"id":21033719,"url":"https://github.com/metowolf/jumpjumphelper","last_synced_at":"2025-04-09T19:20:20.968Z","repository":{"id":97325085,"uuid":"115847493","full_name":"metowolf/JumpJumpHelper","owner":"metowolf","description":"用 PHP 玩微信跳一跳","archived":false,"fork":false,"pushed_at":"2018-01-09T05:04:16.000Z","size":23,"stargazers_count":299,"open_issues_count":16,"forks_count":60,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-02T17:07:44.359Z","etag":null,"topics":["game","php","wechat"],"latest_commit_sha":null,"homepage":"https://i-meto.com/wechat-jump-game/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metowolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-31T06:38:58.000Z","updated_at":"2025-02-21T03:11:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"bce90f6a-68f6-4eac-9fc2-67611e8b1e30","html_url":"https://github.com/metowolf/JumpJumpHelper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metowolf%2FJumpJumpHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metowolf%2FJumpJumpHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metowolf%2FJumpJumpHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metowolf%2FJumpJumpHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metowolf","download_url":"https://codeload.github.com/metowolf/JumpJumpHelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094991,"owners_count":21046770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game","php","wechat"],"created_at":"2024-11-19T12:59:18.699Z","updated_at":"2025-04-09T19:20:20.923Z","avatar_url":"https://github.com/metowolf.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JumpJumpHelper\n用~~最好的语言~~ PHP 玩微信跳一跳\n\n## 更新\n\n - 2018.01.05\n  - 固定延迟改随机延迟，可设范围\n  - 增加随机点按下和稍微挪动抬起，模拟手指\n  - 2.5D距离修正，修正这种情况：[如图](http://ww2.sinaimg.cn/large/0060lm7Tly1fn5159h6x2j30fm0rrwga.jpg)\n - 2018.01.01\n  - 修复屏幕分辨率兼容性\n  - 采用 Mathematica 拟合函数\n - 2017.12.31\n  - 新的中间点匹配函数\n  - 基于二次函数拟合计算按压时间\n\n## 依赖\n\n - php-cli (\u003e=5.6)\n - php-gd\n - adb 调试工具\n - android 手机\n\n## 食用方式\n\n 1. 手机进入设置 \u003e 开发者选项，打开 USB 调试、模拟触控\n 2. 手机连接电脑，安装 adb 相关驱动，检查 `adb devices` 命令是否能显示设备 ID\n 3. 微信进入跳一跳游戏，点击开始\n 4. 电脑运行 `php run.php`\n\n如果发现跳跃过远/近，可以适当调节 `config.php` 中的参数\n\n## 效果图\n\n![效果图](https://i.loli.net/2017/12/31/5a488c9429845.png)\n\n![效果图](https://i.loli.net/2018/01/01/5a4a3ab294a7b.png)\n\n\n## 脚本原理\n\n 1. 截取手机屏幕，并传到电脑上。\n 2. 通过分析图片，取得当前任务及其目标位置\n 3. 计算按压时间，通过 adb 命令模拟点按操作\n\n## 识别原理\n\n - 人物位置：通过颜色匹配人物底座第一个单峰位置\n - 目标位置：排除背景色后，从上至下找到第一个单峰位置，对于未找到的情况采用角度矫正（所有识别数据储存在 screen 文件夹中）\n\n## 拟合函数\n\n![mathematica](https://i.loli.net/2018/01/01/5a4a3b643dc30.png)\n\n## 参考资料\n\n|项目|作者|\n|---|---|\n|[教你用Python来玩微信跳一跳](https://github.com/wangshub/wechat_jump_game)|[@wangshub](https://github.com/wangshub)|\n|[微信跳一跳自动玩耍工具](https://github.com/aOrz/wx_jump_game)|[@aOrz](https://github.com/aOrz)|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetowolf%2Fjumpjumphelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetowolf%2Fjumpjumphelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetowolf%2Fjumpjumphelper/lists"}