Comments (18)
已经成功跳跃,但是是改动了新的参数,按照楼下某个参数贴微调json数据之后依然没有实现,于是开始查看按压参数,最终通过不断修改scale参数实现了基本每次都跳跃到中心。
scale = 0.655 * 2 / head_diameter
actual_distance = distance * scale * (math.sqrt(6) / 2)
press_time = (-945 + math.sqrt(945 ** 2 + 4 * 105 *
36 * actual_distance)) / (2 * 105) * 1000
press_time *= press_coefficient
press_time = max(press_time, 200) # 设置 200ms 是最小的按压时间
press_time = int(press_time)
JSON的参数
{
"under_game_score_y": 300,
"press_coefficient": 1.45,
"piece_base_height_1_2": 20,
"piece_body_width": 70,
"swipe": {
"x1": 500,
"y1": 1600,
"x2": 500,
"y2": 1600
}
}
from wechat_jump_game.
@CiaoFox 请打开模拟点击
from wechat_jump_game.
遇到同问题了,模拟点击已经开启了
from wechat_jump_game.
from wechat_jump_game.
@CiaoFox @Clayeo 脚本里重定向了输出,你应该看的到adb的输出,包括x轴和y轴
from wechat_jump_game.
Screen: Physical size: 1080x1920
Density: Physical density: 480
Device: sagit
Phone OS: 8.0.0
Host OS: win32
Python: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)]
▒▒▒÷▒ʽ 0 ▒▒ȡ▒▒ͼ
start scan Y axis: 690
1525097470 336 1109 788.5 845
shell input swipe 429 1528 426 1480 1032
start scan Y axis: 640
1525097473 0 0 0 0
shell input swipe 714 1710 692 1722 200
start scan Y axis: 690
1525097476 336 1109 788.5 845
shell input swipe 477 1467 442 1586 1032
start scan Y axis: 640
1525097479 0 0 0 0
shell input swipe 738 1446 643 1312 200
start scan Y axis: 640
1525097482 0 0 0 0
shell input swipe 629 1762 478 1608 200
from wechat_jump_game.
同mi6,每次都跳过了很远,有的时候又很近,配置把mi6的配置文件复制粘贴到1920x1080,改成默认的config.json的,但是跳的不对,没有成功过一次
from wechat_jump_game.
@Clayeo 所以现在能跳了吗
from wechat_jump_game.
from wechat_jump_game.
不能,改配置感觉没变化,运行时也提示确实是载入的是那个config.json, 一直都能跳啊,就是从来没跳对。不弄了
from wechat_jump_game.
@Clayeo 好像是有问题,之前好几个人说修改配置没反应,我需要看下脚本
from wechat_jump_game.
@Clayeo 麻烦问你下你用的是哪个脚本?
from wechat_jump_game.
python wechat_jump_auto.py 这个
from wechat_jump_game.
@Clayeo
@leon332157
修改参数后实现,具体已经发在楼上。我看到最后一次更新是在3,4个月之前,也许是跳一跳在这段时间内更新过。
from wechat_jump_game.
@leon332157
另外关于作弊代码,我之前一次跳到400+的分数之后关闭程序开始手动跳跃,大概跳了十来步之后跳下台子。成绩能上榜。我认为也许跳一跳的防ban代码可以通过在数次跳跃到中心之后减小跳跃时间和增大落点误差值来避免(类似于人的行为)。
from wechat_jump_game.
@CiaoFox 谢谢参数,关于作弊代码的话可以试试,但是现在微信检查非常严厉再加上现在貌似也没什么人玩了,有时间再改吧。 😄
from wechat_jump_game.
@leon332157 非常谢谢dalao还在关注着这个项目并且回复我的问题。
from wechat_jump_game.
搭个车...
想邀请Repo参与者来w3c.group创建项目的对应小组。w3c.group是类似知识星球的社群工具,小组可设置为付费且有赞助功能,同时也是一个区块链主导的创作者社区。这是相关介绍:
http://t.cn/Ai1vLcCU
http://t.cn/Ai1vLcCG
http://t.cn/Ai1vLcCA
from wechat_jump_game.
Related Issues (20)
- iPhone 5s 不转弯
- 荣耀9在执行wechar_jump_auto.py脚本时出现issue HOT 3
- remote object '/sdcard/autojump.png' does not exist HOT 3
- 无法通过微信作弊检测 HOT 2
- 请教一下release里面的stop_jump的可执行文件是怎样打包的。 HOT 11
- ADB 可以获取到设备devices, 运行py脚本,命令窗口也可以看到代码在跑,可是微信跳一跳不跳。 HOT 2
- 请问,在程序里哪个参数可以修改停留时间,这样方便吃到加分砖块 HOT 1
- 为什么在确定scan_start_y时要减去50个像素 HOT 3
- 请问有一加5T的参数文件吗? HOT 2
- 。
- 为何全部更新成了python3 HOT 4
- 运行 python3 wechat_jump_auto_iOS.py 出错,有碰到过的朋友吗? HOT 17
- POLQA代码求助 HOT 1
- iOS系统是不是一定需要越狱才能使用? HOT 2
- 有没有小米10的config.分辨率是(1080x2340) HOT 4
- How to open???????????? HOT 4
- 电脑端小程序
- 能不能给一个分辨率配置文件(2400,1080) HOT 3
- Project dependencies may have API risk issues HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wechat_jump_game.