Open binderclip opened 6 years ago
IOError: [Errno 2] No such file or directory: './1.png'的确认下adb是否正常 命令行输入adb devices能否找到设备,如果提示dll文件问题的把adb全都拷到python工程目录下再试试
把两个dll和adb拷到wechat_jump_game-master文件夹下就可以了,搞了半天没搞懂。。。
机型:小米6 分辨率(具体到宽高):1920×1080 电脑系统:Mac 问题描述:跳了两个超准的之后方向不对了
小米MIX2的 请将 "under_game_score_y" 从300 改为 540, 可以跑分了, 原理是默认 1080 1920 的值 default 300, 小米MIX2的屏幕是 1080 2160 , 所以 under_game_score_y = 300 + (2160 - 1920) = 540 , 其他宽 为 1080 高不一样的手机也可以根据这样修改 @qisq777 @WersonLu
调试参数 { "under_game_score_y": 540, "press_coefficient": 1.400, (感觉还需要往上调点) "piece_base_height_1_2": 20, "piece_body_width": 70 }
方向不对或者是误差巨大的看一下是不是开了侧边栏
在我的小米6上(1920x1080),mac下运行程序,将press_coefficient设为1.45即可正常运行,分数1000+
机型:锤子M1l 分辨率:2560x1440 根据这个参数没挂过,就是不知道程序不稳定,还是我连接不稳定,刷一会儿脚本就会报错,但是游戏不会中断,重新执行脚本就可以继续了。 under_game_score_y = 390 press_coefficient = 1.04 piece_base_height_1_2 = 26 piece_body_width = 110
3000+无压力
piece_base_height_1_2 = 25 piece_body_width = 80 1.414 1920*1080 完美
坚果pro2 2160x1080 采用以下配置,至少可刷到1000+
{
"under_game_score_y": 300,
"press_coefficient": 1.393,
"piece_base_height_1_2": 20,
"piece_body_width": 70
}
小米5x 1920*1080 win10 最高200多 "press_coefficient": 1.494, "piece_base_height_1_2": 30, "piece_body_width": 80。 感觉是死在魔方识别错误。
三星 S8 Plus 分辨率2960*1440 到现在没试出来一个有用的参数 求一个可以用的参数
press_time = math.pow(distance,0.85) press_coefficient 改为 press_time = distance press_coefficient 正常运行 1加3t 配置{ "under_game_score_y": 300, "press_coefficient": 1.392, "piece_base_height_1_2": 25, "piece_body_width": 80 }
我是小白,可以帮我看下这是什么错误吗,谢谢
Load config file from ./config/2560x1440/config.json Traceback (most recent call last): File "D:\python\wechat_jump_game-master\wechat_jump_auto.py", line 62, in <mod ule> is_debug = config['debug'] KeyError: 'debug'
is_debug =1
机型:小米5s 分辨率(具体到宽高):1920*1080 电脑系统:win7 问题描述:
机型:小米5s 分辨率(具体到宽高):1920*1080 电脑系统:win7 问题描述: 第一步直接跳飞了,参数改小的话,又没法继续
MI4的参数怎么设置
机型:小米6 分辨率(具体到宽高):1920*1080 电脑系统:ubuntu 16.4 问题描述: 只能跳几十分
机型:小米6 分辨率:1920 x 1080 电脑系统:windows 10 修改参数:总感觉参数没啥影响,最小调到0.68,最大调过10,20,甚至999感觉区别都不是很大
还有发现一个问题就是, 离得近的方块经常跳不准(不管参数多大都会跳的近一些),离得远的方块经常就会跳到中心
机型:小米6 分辨率(具体到宽高):1920*1080 电脑系统:win10 问题描述: 只能跳二三百分,离得近的经常跳偏
电脑系统:deepin 15.5 问题:一直都是0个,跳不准。
不好用,都是0个
List of devices attached 75aa12a6 device
Traceback (most recent call last):
File "wechat_jump_auto.py", line 234, in
这个怎么玩的,有朋友教一下吗。QQ19502438
机型:一加5T 分辨率(具体到宽高): Screen: Physical size: 1080x2160 Density: Physical density: 420 问题描述: 一般跳到第三个开始偏移,不超过20分
追加: 将 "press_coefficient" 改为 1.393 完美
Screen: Physical size: 1440x2560 Density: Physical density: 640 DeviceType: SM-G9250 OS: darwin Python: 2.7.10 (default, Jul 15 2017, 17:16:57) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
List of devices attached 04157df4aa4fb93a device
Traceback (most recent call last):
File "wechat_jump_auto.py", line 236, in
Screen: Density: DeviceType: OS: win32 Python: 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 16:02:32) [MSC v.1900 64 bit (AMD64)]
List of devices attached
error: device not found
Traceback (most recent call last):
File "auto.py", line 236, in
机型:iPhone 7 分辨率(具体到宽高):-- 电脑系统:mac 问题描述:
建议将 wechat_jump_auto_iOS.py
中的
if abs(pixel[0] - last_pixel[0]) + abs(pixel[1] - last_pixel[1]) + abs(pixel[2] - last_pixel[2]) > 10
改为
if abs(pixel[0] - last_pixel[0]) + abs(pixel[1] - last_pixel[1]) + abs(pixel[2] - last_pixel[2]) > 2
对于一些圆形带条纹board效果好,完成了500到1000以上的质变
此外
time.sleep(random.uniform(1, 1.1)) # 为了保证截图的时候应落稳了,多延迟一会儿
改成
time.sleep(random.uniform(1.4, 1.5)) # 为了保证截图的时候应落稳了,多延迟一会儿
这样可以吃到大多数的5/10/15/20。
小米6 win10 1920 1080 更新脚本后直接跳偏了,大约到20左右
@cold-snap 关闭悬浮球
修改参数再运行程序参数依然使用上一个配置的参数
Screen: Physical size: 1080x1920 Density: Physical density: 480 DeviceType: MI 6 OS: win32 Python: 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] 每次识别图像很准,都能识别到正中心,但是跳的时候尤其距离近的方块,总是跳的近一些,基本每次都在200-250左右
Screen: Physical size: 1440x2960 Density: Physical density: 560 DeviceType: SM-G9550 OS: win32 Python: 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] 三星S8+求一个能用的参数……跳的太远了……
Screen: Physical size: 1080x1920 Density: Physical density: 460 Override density: 480 DeviceType: MI 5 OS: linux Python: 3.5.4rc1 (default, Jul 25 2017, 08:53:34) [GCC 6.4.0 20170704]
List of devices attached c90a4bc9 device
采用方式1获取截图
Traceback (most recent call last):
File "wechat_jump_auto.py", line 380, in
一定要注意关掉悬浮球才可生效
Screen: Physical size: 1080x1920 Density: Physical density: 480 DeviceType: PLK-TL01H OS: win32 Python: 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)]
List of devices attached A2JDU16705001835 device
Traceback (most recent call last):
File "wechat_jump_auto.py", line 356, in
{ "under_game_score_y": 340, "press_coefficient": 2.27, "piece_base_height_1_2": 25, "piece_body_width": 80, "swipe" : { "x1": 500, "y1": 1600, "x2": 500, "y2": 1603 } }
360 N4 360OS3 改了好久的参数。。。终于能比较稳了。。【但是很奇怪。。。明明是1920*1080.。。
HTC M8 1920*1080 win7
连续两次都是跳这个点的时候,跳过了一点点掉下去了
谢谢,我关掉试试
发送自 Windows 10 版邮件应用
发件人: Dmego 发送时间: 2018年1月1日 14:44 收件人: wangshub/wechat_jump_game 抄送: Dali Yang; Mention 主题: Re: [wangshub/wechat_jump_game] 参数不行的发这里 (#62)
@cold-snap 关闭悬浮球 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Screen: Physical size: 1440x2880 Density: Physical density: 640 DeviceType: HTC 2Q4D200 OS: win32 Python: 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)] 参数: { "under_game_score_y": 300, "press_coefficient": 1.04, "piece_base_height_1_2": 28, "piece_body_width": 110, "swipe" : { "x1": 320, "y1": 410, "x2": 320, "y2": 410 } }
红米5
分辨率1440*720这个参数咋设置???
机型:小米 note4x 分辨率(具体到宽高):1920X1080 电脑系统:win10 问题描述:不稳定一会跳100多一会200-400就失败了 这是现在的参数,还算跳的稳点,最多400多,不然只能100多: { "under_game_score_y": 300, "press_coefficient": 1.492, "piece_base_height_1_2": 20, "piece_body_width": 70, "swipe" : { "x1": 500, "y1": 1600, "x2": 500, "y2": 1602 } }
Screen: Physical size: 1440x2560 Density: Physical density: 640 DeviceType: VKY-AL00 OS: win32 Python: 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64) ]
采用方式2获取截图
scan_start_y: 903
Traceback (most recent call last):
File "wechat_jump_auto.py", line 288, in
{ "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": 1602 } } 小米6 参数如上 能自动跳,但是200多分就会掉下去 希望哪位大神能给个好一点的参数
机型:小米6 分辨率:1920 x 1080 电脑系统:windows 10 修改参数:"press_coefficient": 1.44,
700多的时候,方向出了点问题
Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information.
= RESTART: C:\Users\XUE\Desktop\wechat_jump_game-master\wechat_jump_auto.py = Load default config 如果你的脚本无法工作,上报issue时请copy如下信息:
Screen: Physical size: 720x1440 Density: Physical density: 320 DeviceType: Redmi 5 OS: win32 Python: 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)]
采用方式2获取截图 ('scan_start_y: ', 530) (1514871850, 252, 804, 525, 646) adb shell input swipe 360 1188 360 1188 734
C:\Users\today\Desktop\game-master>python wechat_jump_auto.py
Load config file from C:\Users\today\Desktop\game-master/config/1920x1080/config.json
Traceback (most recent call last):
File "wechat_jump_auto.py", line 248, in
华为荣耀9 1920x1080的 参数如下:
{
"under_game_score_y": 300,
"press_coefficient": 1.393,
"piece_base_height_1_2": 20,
"piece_body_width": 70,
"swipe": {
"x1": 500,
"y1": 1600,
"x2": 500,
"y2": 1602
}
}
一直跳到了3000多分,不敢刷太高就停下来了
现在只能做到一直跳下去(参数设置的合理的情况下),每次正中心是最终的目标。 常用调试思路:
=======
模板如下
机型: 分辨率(具体到宽高): 电脑系统: 问题描述: (另外请尽量附一张 screenshot_backups 目录下的 _d.png 结尾画了线的图)