All Projects → chucklqsun → WxJumpHelper

chucklqsun / WxJumpHelper

Licence: MIT license
wechat game helper(jump) 微信小游戏:跳一跳 辅助程序

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to WxJumpHelper

mini-programm-template
基于原生微信小程序的一般般好用的模板
Stars: ✭ 35 (+105.88%)
Mutual labels:  wechat-mini-program
uniapp-scaffold
基于Vue.js的跨平台小程序脚手架、设计语言、组件库及插拔式模板
Stars: ✭ 87 (+411.76%)
Mutual labels:  wechat-mini-program
wx-mini-navigationbar
微信小程序自定义标题栏
Stars: ✭ 20 (+17.65%)
Mutual labels:  wechat-mini-program
mall4cloud
⭐️⭐️⭐️ Springcloud商城 O2O商城 小程序商城 PC商城 H5商城 APP商城 Java商城 分销商城 多用户商城 uniapp商城 微服务商城
Stars: ✭ 3,915 (+22929.41%)
Mutual labels:  wechat-mini-program
weapp-poem
诗词墨客 - 最全中华古诗词小程序
Stars: ✭ 409 (+2305.88%)
Mutual labels:  wechat-mini-program
elf-taro
Taro 小程序 脚手架 (Taro 3 + Dva + Typescript + Immer) - 内置 Redux 计数器, 异步数据请求 与 腾讯小程序地图 demo
Stars: ✭ 61 (+258.82%)
Mutual labels:  wechat-mini-program
dangann radar
https://dangann.com 单干小雷达:与自由工作者分享适合办公的地点
Stars: ✭ 12 (-29.41%)
Mutual labels:  wechat-mini-program
microteam
小团队管理 是一款开源的微信小程序,主要用于日常的团队管理
Stars: ✭ 40 (+135.29%)
Mutual labels:  wechat-mini-program
wechat
A small program canvas countdown project
Stars: ✭ 26 (+52.94%)
Mutual labels:  wechat-mini-program
wechat-scroll-linkage
微信小程序列表左右联动效果
Stars: ✭ 26 (+52.94%)
Mutual labels:  wechat-mini-program
Course-table
微信小程序,课程表最佳实践案例。
Stars: ✭ 15 (-11.76%)
Mutual labels:  wechat-mini-program
taro3-vue3-template
一个基于 Taro3 和 Vue3 框架微信小程序模版。 核心技术采用Taro3、Vue3、TypeScript、NutUi、Vux4/Pinia、VueUse
Stars: ✭ 115 (+576.47%)
Mutual labels:  wechat-mini-program
edu
微信小程序编写的移动互联网教育平台
Stars: ✭ 41 (+141.18%)
Mutual labels:  wechat-mini-program
cxjslite
程序集市lite版,使用wordpress作为后台生成微信小程序,可用于博客、资讯、自媒体小程序。
Stars: ✭ 17 (+0%)
Mutual labels:  wechat-mini-program
we-timer
🌈⏱ A beautiful interval timer wechat miniprogram | 一个好看的间隔计时微信小程序
Stars: ✭ 61 (+258.82%)
Mutual labels:  wechat-mini-program
Dailyfresh-B2C
这是一个 ☛全栈/全端/全平台☚ 的B2C模式的电商项目, web后台基于Django2.0 + Python3.6, 前后端分离,前端使用Vue框架开发。移动端基于Flutter开发,一套代码支持Android&IOS平台。微信小程序基于mpvue框架开发。
Stars: ✭ 74 (+335.29%)
Mutual labels:  wechat-mini-program
fish
Pixi.js 开发微信小游戏示例
Stars: ✭ 37 (+117.65%)
Mutual labels:  wechat-mini-program
wx-biz-data-crypt
微信小程序用户加密数据解密Go的实现
Stars: ✭ 24 (+41.18%)
Mutual labels:  wechat-mini-program
WX MultiTabList
微信小程序,多个Tab列表的上下拉刷新方案
Stars: ✭ 25 (+47.06%)
Mutual labels:  wechat-mini-program
CHCharts-wechat
📈A charts component for WeChat mini-app development(一款用于微信小程序开发中的图表组件,使用者可以快速添加并集成到微信小程序开发中).
Stars: ✭ 71 (+317.65%)
Mutual labels:  wechat-mini-program

WxJumpHelper

How To Use

setup below variable in code:

for i in range(0, 5):   # default jump 5 rounds
    learning_seq.append(random.randint(50, 110))

default is 5 rounds and jump times (random int) between 50 to 110。You properly get your score over 700. User should use lower jump times and increase them later to form a learning curve.

make sure adb is ready for any path

  1. Install matplotlib:
    • for Python 2: pip install matplotlib
    • for Python 3: pip3 install matplotlib
  2. Install OpenCV
  3. Connect your Android phone to your computer and select 'USB for file transfer'.
  4. Open the game and be ready to jump.
  5. Run the main.py and a screenshot will popup shortly.

alt text

  1. The character will jump automatically.
  2. Enjoy!

How It Works

The script uses adb to get the screenshot and calculate the coordination (start point and stop point) and give a proper jumping

Machine Learning

  1. Use train.py to training your CNN neural network.
  2. Use predictor.py to predict delay value.

EasterEgg: Use JS script to modify score directly

original source

Windows User before "npm install sleep", please install windows-build-tools first(which is sometimes not useful)

npm install --global --production windows-build-tools

You can also delete "sleep" related code(but have big risk if server verifies timestamp)

install nodejs, execute below steps in wx_t1t_hack.js dir

  1. npm init --y
  2. npm install crypto-js request-promise sleep

replace session id with yours modify score_you_want (session id could be fetched by fiddle or charles)

Run & Enjoy

node wx_t1t_hack.js

Update:

  • 100% automation and support simulating of learning curve
  • self-adaption of phone resolution

  • referer version:5->6
  • data version: 1->2
  • data format:add fields [steps, timestamp]

data format

Warning

  • Please do not post score over 1000, otherwise you have risk, such as ban!
  • Please do not increase your history best dramatically.
  • wx_t1t_hack.js will not be updated in this project, please use it at discretion.

(微信小游戏:跳一跳) 辅助程序

如何使用

在使用前确保adb程序已经安装并且能在任何路径下执行adb命令 在一下代码里配置跳跃的参数:

for i in range(0, 5):   # default jump 5 rounds
    learning_seq.append(random.randint(50, 110))

默认是跳五轮,每轮跳跃次数在50,110之间的随机整数,分数大概会有七百分的样子。用户可以先降低 随机的范围,比如说(20,50)来模拟新手,然后逐步提高,形成学习曲线。

  1. 安装matplotlib库:
    • Python 2: pip install matplotlib
    • Python 3: pip3 install matplotlib
  2. 安装opencv
  3. 连接你的安卓手机到你电脑上,选择USB文件传送
  4. 启动游戏,进入起跳画面
  5. 运行main.py,游戏截图会自动出现

alt text

  1. 自动开始起跳
  2. 玩的开心!

工作原理

脚本用adb获取屏幕截图并计算瓶子和目标物体中心的距离,换算成起跳时间

机器学习模式

机器学习(CNN)版已经可以开始训练了。

  1. 使用training.py训练
  2. 使用predictor.py进行预测

彩蛋:使用脚本直接修改分数

原始代码

安装nodejs,在脚本wx_t1t_hack.js目录下执行

  1. npm init --y
  2. npm install crypto-js request-promise sleep

Windows用户 npm install sleep 在windows需要额外安装编译套件并且不保证成功

npm install --global --production windows-build-tools

也可以删除sleep相关代码(如果服务器校验timestamp,风险会很大)。

修改脚本wx_t1t_hack.js的senssion_id为你自己的session id 分数score_you_want (session id可以通过fiddle或者charles得到)

运行 & 玩的开心

node wx_t1t_hack.js

注意

  • 据观察,目前上万的用户会被关小黑屋(其他用户不可见你的分数),上千的也有被ban的可能。
  • 不知道是因为数据不可信还是分数太高本身的原因,玩家务必控制分数在三位数。
  • 另外让自己的分数变化太陡峭,历史分数突然大幅变化会引起封号。(官方已经表态,学习曲线会被反外挂参考,很重要)
  • 本项目中,wx_t1t_hack.js已经停止更新,被封号的可能性会很大,请酌情使用。

更新:

  • 实现完全自动化和模拟学习曲线
  • 自适应屏幕的分辨率

  • referer版本:5->6
  • 数据版本: 1->2
  • 数据格式:添加字段[steps, timestamp]

数据格式

又一个彩蛋(大家来找茬腾讯版)

这个游戏暂时没有开发出特别好用的辅助,就先放这个项目下,供大家参考研究。

  • zhaocha_tencent/test.js用来抓取这游戏里的原图,resID就是游戏里每关的图片ID,会保存在resID.png。仅供研究使用。
  • main.py是游戏开始后,截取安卓手机的屏幕,自动识别不同点后,在电脑上显示标记好的图片。(缺点是速度不够快,仅供研究用)

头脑王者辅助(敬请期待)

抓取题库和答案的脚本brain/main.py会被封号。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].