Comments (46)
@donng 2160*1080调成1.05到1.1就很准了
from wechat_jump_game.
@se4 也写一下屏幕分辨率吧,方便其他人参考,多谢!
from wechat_jump_game.
需要改参数 我改成press_time = distance * 1.45,一直没挂
from wechat_jump_game.
我试试,牛逼了,大半夜的!
from wechat_jump_game.
我运行自动的脚本,挑一下就挂了... 没用过python ,迷...
from wechat_jump_game.
@darrenfantasy 你是怎么算的,改成1.45
from wechat_jump_game.
@donng 哈哈,我的还在跑,不过太慢了
from wechat_jump_game.
跳了107分,就挂了
from wechat_jump_game.
@mg459046365 @darrenfantasy 你们的屏幕分辨率是多少?
from wechat_jump_game.
@binderclip 1920x1080
from wechat_jump_game.
@binderclip 1920 X 1080应该改成多少啊
from wechat_jump_game.
@binderclip 我分辨率2160*1080,不是每次必中中心点,只看明白貌似是逐个像素判断rgb区间,然后做一个除法求出X轴中心点。。但是Y轴没看懂。。能大概讲解一下你的思路吗
from wechat_jump_game.
@mg459046365 代码就是基于 1920x1080 写的,按理说不怎么需要改的,你不然根据实际情况微调一下吧
from wechat_jump_game.
@binderclip 微调这个参数么,如果是的话,我调一下试试
from wechat_jump_game.
@wangcode Y 轴是这样的,首先我先确定了那个图形的 X 轴的顶点的坐标,这样 X 是准的了。
假设棋子现在就在当前块儿的中间,那么应该算到下一个块儿中心的距离。
所以就先 PS 截图找了两个点的中心点坐标,把那个角度下的三角形的 X Y 轴的长度比求出来,这样一算就能算出那边 Y 的中心坐标了。
这个也是改了好几次改出来的,相对前面的版本容易命中中心一些(这样得分要多很多)。不过完全命中中心还是做不到。
这个还涉及到偶尔跑偏了能不能找回中心而不是越偏越多,现在的算法大概是 OK 的,再加上一些运气因素我最多的一局是 2800+。(然后就不想再打了
from wechat_jump_game.
@mg459046365 是的,其他是和坐标相关的,因为分辨率相同所以应该不用改。这个按下的时间可能和机型有关系所以调一下吧。
from wechat_jump_game.
@binderclip 好的,现在看来,每次跳的力度不够,我调一下按下时间
from wechat_jump_game.
@binderclip 坚果Pro2 在mac下寸步难行啊...
from wechat_jump_game.
@donng 我是小米note2,也是用的mac
from wechat_jump_game.
@donng 分辨率多少?
from wechat_jump_game.
@binderclip 2160x1080分辨率 ,什么参数都没改,基本都是第一块抖一下就掉下去了。
from wechat_jump_game.
@donng 方便传一张游戏截图上来吗?
from wechat_jump_game.
@binderclip 小米note2参数改成1.47会好一点,即便连续跑偏,后面也会被纠正,而且命中中心的概率相对来说,会高一些。不知道小数点精度如果调的高一点会不会更准确
from wechat_jump_game.
@binderclip 是我手机屏幕的游戏截图吗?
from wechat_jump_game.
@donng 应该是让你上传游戏屏幕截图
from wechat_jump_game.
from wechat_jump_game.
@donng 最简单的方法,观察一下,落脚点距离中心点的偏移,如果感觉力度不够的话,增加一点时间以0.01为单位调整,如果力度过大就减少一点时间同样以0.01为单位调整
from wechat_jump_game.
@mg459046365 调distance相乘的那个数没用,还是第一下就掉下来了。
from wechat_jump_game.
@mg459046365 就是微调时间参数吧。我就试了一些数据。
from wechat_jump_game.
1080x2220 手动点击参数为1.36
自动的继续使用这个参数第一次就挂了, 能说说原理吗?
from wechat_jump_game.
@donng @malatachehongbin 已知问题,把 300 改成 500
from wechat_jump_game.
@binderclip 还是只跳一下。
from wechat_jump_game.
@donng 代码已经更新了,用一下新的,里面有需要修改的参数。还不行自己 debug 下,思路也写了。
from wechat_jump_game.
@binderclip train_data文件夹加到.gitignore里吧,pull下来一堆图片
from wechat_jump_game.
@donng 这应该是 OpenCV 版本需要的,就先留着吧
from wechat_jump_game.
@binderclip 每次跳跃的 时间都是 200 .... find_piece_and_board()函数第一跳返回的都是 0 0 0 0
from wechat_jump_game.
@donng 上游戏截图吧
from wechat_jump_game.
三星S6 G920F 实测通过
屏幕分辨率为2560x1440
under_game_score_y = 500
press_coefficient = 1.03
from wechat_jump_game.
@donng 哦,截图上面传过了,你有改参数吗?
比如 under_game_score_y = 500
from wechat_jump_game.
这里一直都是返回零,上面的颜色判断我就不太了解了。
@binderclip
from wechat_jump_game.
@donng 这个是没找到棋子,你在棋子稳的时候再开始游戏试试
from wechat_jump_game.
1080P 屏幕,press_coefficient长按的时间系数,调1.45 确实是一个很好的系数
from wechat_jump_game.
@790396054 似乎和机型也有关系 好用的参数以及晒分发到这里 · Issue #61 · wangshub/wechat_jump_game
from wechat_jump_game.
@binderclip 我现在时间系数调到1.35(坚果pro2),正在测试,感觉还算精确。之前的问题可能是脚本执行先于游戏打开的问题。还是谢谢不吝赐教 !
from wechat_jump_game.
@donng 坚果 pro2 配置应该怎么样?
from wechat_jump_game.
自动识别的参数不太好,得专门调
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
- 小米6参数 HOT 18
- 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.