Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cookies #48

Closed
rainbowwarmth opened this issue Dec 9, 2021 · 13 comments
Closed

cookies #48

rainbowwarmth opened this issue Dec 9, 2021 · 13 comments

Comments

@rainbowwarmth
Copy link

cookies似乎有时间限制,当发送cookies给机器人群聊里已经绑定完米游社id和原神id,发送签到机器人提示签到失败,请检查Cookies是否失效。

@KimigaiiWuyi
Copy link
Owner

我没太听懂你什么意思,你是做了几个操作?
1、私聊Cookies给机器人
2、群聊绑定mysid/uid
3、群聊查询
4、群聊签到
哪些能成功哪些不能成功?

@rainbowwarmth
Copy link
Author

rainbowwarmth commented Dec 9, 2021 via email

@KimigaiiWuyi
Copy link
Owner

以上都不能成功

------------------ 原始邮件 ------------------ 发件人: "KimigaiiWuyi/GenshinUID" @.>; 发送时间: 2021年12月9日(星期四) 晚上6:13 @.>; @.@.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 我没太听懂你什么意思,你是做了几个操作? 1、私聊Cookies给机器人 2、群聊绑定mysid/uid 3、群聊查询 4、群聊签到 哪些能成功哪些不能成功? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

你CK都没成功添加,下面三个操作自然不可能成功啊

@rainbowwarmth
Copy link
Author

rainbowwarmth commented Dec 9, 2021 via email

@KimigaiiWuyi
Copy link
Owner

关键就是cookie绑定不成功

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月9日(星期四) 晚上6:15 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 以上都不能成功 … ------------------ 原始邮件 ------------------ 发件人: "KimigaiiWuyi/GenshinUID" @.>; 发送时间: 2021年12月9日(星期四) 晚上6:13 @.>; @.@.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 我没太听懂你什么意思,你是做了几个操作? 1、私聊Cookies给机器人 2、群聊绑定mysid/uid 3、群聊查询 4、群聊签到 哪些能成功哪些不能成功? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. 你CK都没成功添加,下面三个操作自然不可能成功啊 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

这个你只能自己检查CK是否正确获取,我不可能看得到你自己的CK

@rainbowwarmth
Copy link
Author

rainbowwarmth commented Dec 9, 2021 via email

@KimigaiiWuyi
Copy link
Owner

是正确获取,就是获取了几遍,所有方法都试过了,还是无法绑定

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月9日(星期四) 晚上6:17 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 关键就是cookie绑定不成功 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月9日(星期四) 晚上6:15 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 以上都不能成功 … ------------------ 原始邮件 ------------------ 发件人: "KimigaiiWuyi/GenshinUID" @.>; 发送时间: 2021年12月9日(星期四) 晚上6:13 @.>; @.@.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 我没太听懂你什么意思,你是做了几个操作? 1、私聊Cookies给机器人 2、群聊绑定mysid/uid 3、群聊查询 4、群聊签到 哪些能成功哪些不能成功? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. 你CK都没成功添加,下面三个操作自然不可能成功啊 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. 这个你只能自己检查CK是否正确获取,我不可能看得到你自己的CK — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

校验没通过就是绑定不上啊,总不能校验失败的ck我也给你绑定上去……
依次检查以下:
这个Cookies 对应的米游社账号 有没有登陆过手机端米游社/有没有原神账号;
其次检查这个Cookies有没有account_id = xxxxxx ; Cookie_token = xxxxxx这两条参数

@rainbowwarmth
Copy link
Author

rainbowwarmth commented Dec 9, 2021 via email

@KimigaiiWuyi
Copy link
Owner

有,就是无法绑定,在群里签到,提示cookies失效

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月9日(星期四) 晚上6:20 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 是正确获取,就是获取了几遍,所有方法都试过了,还是无法绑定 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月9日(星期四) 晚上6:17 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 关键就是cookie绑定不成功 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月9日(星期四) 晚上6:15 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 以上都不能成功 … ------------------ 原始邮件 ------------------ 发件人: "KimigaiiWuyi/GenshinUID" @.>; 发送时间: 2021年12月9日(星期四) 晚上6:13 @.>; @.@.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 我没太听懂你什么意思,你是做了几个操作? 1、私聊Cookies给机器人 2、群聊绑定mysid/uid 3、群聊查询 4、群聊签到 哪些能成功哪些不能成功? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. 你CK都没成功添加,下面三个操作自然不可能成功啊 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. 这个你只能自己检查CK是否正确获取,我不可能看得到你自己的CK — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. 校验没通过就是绑定不上啊,总不能校验失败的ck我也给你绑定上去…… 依次检查以下: 这个Cookies 对应的米游社账号 有没有登陆过手机端米游社/有没有原神账号; 其次检查这个Cookies有没有account_id = xxxxxx ; Cookie_token = xxxxxx这两条参数 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

你是没绑上,还是绑上了显示失效

@rainbowwarmth
Copy link
Author

rainbowwarmth commented Dec 9, 2021 via email

@KimigaiiWuyi
Copy link
Owner

绑定上显示失效了

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月9日(星期四) 晚上6:23 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 有,就是无法绑定,在群里签到,提示cookies失效 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月9日(星期四) 晚上6:20 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 是正确获取,就是获取了几遍,所有方法都试过了,还是无法绑定 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月9日(星期四) 晚上6:17 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 关键就是cookie绑定不成功 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年12月9日(星期四) 晚上6:15 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 以上都不能成功 … ------------------ 原始邮件 ------------------ 发件人: "KimigaiiWuyi/GenshinUID" @.>; 发送时间: 2021年12月9日(星期四) 晚上6:13 @.>; @.@.>; 主题: Re: [KimigaiiWuyi/GenshinUID] cookies (Issue #48) 我没太听懂你什么意思,你是做了几个操作? 1、私聊Cookies给机器人 2、群聊绑定mysid/uid 3、群聊查询 4、群聊签到 哪些能成功哪些不能成功? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. 你CK都没成功添加,下面三个操作自然不可能成功啊 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. 这个你只能自己检查CK是否正确获取,我不可能看得到你自己的CK — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. 校验没通过就是绑定不上啊,总不能校验失败的ck我也给你绑定上去…… 依次检查以下: 这个Cookies 对应的米游社账号 有没有登陆过手机端米游社/有没有原神账号; 其次检查这个Cookies有没有account_id = xxxxxx ; Cookie_token = xxxxxx这两条参数 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. 你是没绑上,还是绑上了显示失效 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

你绑定上,为什么根目录会没有Id_data.db

@KimigaiiWuyi
Copy link
Owner

你再检查一下你的/hoshino主目录

@wudifeixue
Copy link

你这个情况我群友貌似遇见过,这个账号在米游社那边有没有打开过?
如果是从来没打开过米游社的账号,Cookie是会绑定失败的。
还有就是,使用“当前状态“的时候,如果没有在米游社打开过实时便笺,也是会出现错误,必须在米游社打开过一次。
关于查询也应该打开隐私设置。

作者这里的错误处理不太好,bot不会给出正确的反馈,导致用户会感到比较莫名其妙。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants