[BUG] 微信自动打开红包不知道失效,可能由于软件bug导致 #860
Replies: 11 comments
-
需要给出不触发的快照和对应规则 |
Beta Was this translation helpful? Give feedback.
-
不好意思大佬,这个可能要晚点复现才有快照了。但是照日志来看,是不是有可能是。 status:处于冷却时间 导致的 |
Beta Was this translation helpful? Give feedback.
-
截屏快照 - 查看限制 |
Beta Was this translation helpful? Give feedback.
-
连续试了7次,最后一次没触发。锁屏后再打开,然后触发的 快照:https://i.gkd.li/i/18420831 规则: {
id: 'com.tencent.mm',
name: '微信',
groups: [
{
name: '功能类-自动领取微信红包',
key: 5,
desc: '自动领取私聊红包,群聊红包',
enable: false,
fastQuery: true,
rules: [
{
name: '点击别人发的红包',
key: 3,
matches: [
'LinearLayout[childCount=1] >2 @FrameLayout[clickable=true] >2 LinearLayout[getChild(1).childCount=1] +2 RelativeLayout > [text="微信红包"]'
],
snapshotUrls: [
'https://i.gkd.li/i/18134826'
],
excludeSnapshotUrls: [
'https://i.gkd.li/i/18134823',
'https://i.gkd.li/i/18134833'
],
activityIds: [
'.ui.LauncherUI'
]
},
{
name: '点击红包-开',
key: 4,
preKeys: [
3
],
matches: [
'@Button[desc="开"] -3 LinearLayout >2 [text$="红包"]'
],
snapshotUrls: [
'https://i.gkd.li/i/18134828'
],
excludeSnapshotUrls: [
'https://i.gkd.li/i/12567698'
],
activityIds: [
'.plugin.luckymoney.ui.LuckyMoneyNotHookReceiveUI'
]
},
{
name: '从红包结算界面返回',
preKeys: [
3,
4
],
matches: [
'@ImageView[desc="返回"] +2 LinearLayout >8 [text$="红包"]'
],
snapshotUrls: [
'https://i.gkd.li/i/18134829',
'https://i.gkd.li/i/18135031'
],
activityIds: [
'.plugin.luckymoney.ui.LuckyMoneyDetailUI'
]
}
]
}
]
} |
Beta Was this translation helpful? Give feedback.
-
关闭原来规则后,使用下面这个规则呢 {
id: 'com.tencent.mm',
name: '微信',
groups: [
{
name: '功能类-自动领取微信红包',
key: 5,
desc: '自动领取私聊红包,群聊红包',
enable: false,
fastQuery: true,
matchRoot: true,
rules: [
{
name: '点击别人发的红包',
key: 3,
matches: [
'LinearLayout[childCount=1] >2 @FrameLayout[clickable=true] >2 LinearLayout[getChild(1).childCount=1] +2 RelativeLayout > [text="微信红包"]'
],
snapshotUrls: [
'https://i.gkd.li/i/18134826'
],
excludeSnapshotUrls: [
'https://i.gkd.li/i/18134823',
'https://i.gkd.li/i/18134833'
],
activityIds: [
'.ui.LauncherUI'
]
},
{
name: '点击红包-开',
key: 4,
preKeys: [
3
],
matches: [
'@Button[desc="开"] -3 LinearLayout >2 [text$="红包"]'
],
snapshotUrls: [
'https://i.gkd.li/i/18134828'
],
excludeSnapshotUrls: [
'https://i.gkd.li/i/12567698'
],
activityIds: [
'.plugin.luckymoney.ui.LuckyMoneyNotHookReceiveUI'
]
},
{
name: '从红包结算界面返回',
preKeys: [
3,
4
],
matches: [
'@ImageView[desc="返回"] +2 LinearLayout >8 [text$="红包"]'
],
snapshotUrls: [
'https://i.gkd.li/i/18134829',
'https://i.gkd.li/i/18135031'
],
activityIds: [
'.plugin.luckymoney.ui.LuckyMoneyDetailUI'
]
}
]
}
]
} |
Beta Was this translation helpful? Give feedback.
-
感谢大佬,我试了下,还是会出现不稳定的情况下。特别是上面出现了消息提示的情况下,不会自动点击开。 |
Beta Was this translation helpful? Give feedback.
-
那你用最新版本测试一下 https://github.com/gkd-kit/gkd/actions/runs/12781111178/artifacts/2432334735 |
Beta Was this translation helpful? Give feedback.
-
效果似乎还是一样。偶尔就不能打开红包了,需要切换到其他界面,再切换回来就可以。 |
Beta Was this translation helpful? Give feedback.
-
无法复现你的问题,我在模拟器上用另一个账号发了 30 多次红包,都是可以自动领取的 |
Beta Was this translation helpful? Give feedback.
-
日志文件
log-1736925718591.zip
BUG描述(文字/截图/视频)
9e6f590881b8f0482c571a146f4b06df-2025-01-15.15_14_17.mp4
从25秒开始失效,这个时候只会点击红包,不会点击开。后面两次直接是规则都不触发,我需要切一次gkd才能再次运行
期望行为(文字/截图/视频)
希望能够稳定运行。(用调试工具测过规则,规则所有的节点都能够选中)
实际行为(文字/截图/视频)
实际不太稳定
Beta Was this translation helpful? Give feedback.
All reactions