DancingSnow0517 / StarRail-gacha

https://dancingsnow0517.github.io/StarRail-gacha/
MIT License
26 stars 4 forks source link

按下更新數據後會直接閃退 #6

Closed icegod1114 closed 1 year ago

icegod1114 commented 1 year ago

我的是win11,當我按下更新數據後,他會直接閃退,沒有顯示任何東西。

DancingSnow0517 commented 1 year ago

软件版本,你可能需要从release下载最新版本

DancingSnow0517 commented 1 year ago

https://github.com/DancingSnow0517/StarRail-gacha/releases/tag/0.4.2

icegod1114 commented 1 year ago

我的是最新版本沒錯

DancingSnow0517 commented 1 year ago

还有这个问题吗?

xiaoxingruo commented 1 year ago

我也有这个问题

DancingSnow0517 commented 1 year ago

看看应用程序下的logs文件夹,把报错后,最新的发出来看看

xiaoxingruo commented 1 year ago

[2023-05-14 20:58:20] [MainThread/INFO]: 正在读取 "Player.log"...

[2023-05-14 20:58:27] [Dummy-1/INFO]: 尝试获取抽卡记录 API

xiaoxingruo commented 1 year ago

就这些……然后就闪退了

DancingSnow0517 commented 1 year ago

麻烦在设置里把日志等级弄的到debug再看看吧,之前忘记跟你说了。。。

xiaoxingruo commented 1 year ago

不开梯子

[2023-05-15 15:27:02] [Dummy-1/INFO]: 尝试获取抽卡记录 API

[2023-05-15 15:27:02] [Dummy-1/DEBUG]: Starting new HTTPS connection (1): api-takumi.mihoyo.com:443 [2023-05-15 15:27:02] [Dummy-1/DEBUG]: https://api-takumi.mihoyo.com:443 "GET /common/gacha_record/api/getGachaLog?authkey_ver=1&sign_type=2&auth_appid=webview_gacha&win_mode=fullscreen&gacha_id=dbebc8d9fbb0d4ffa067423482ce505bc5ea&timestamp=1681910012&region=prod_gf_cn&default_gacha_type=11&lang=zh-cn&authkey=b0Mhm83qsrF0aVBDfyUMyGBfu7XLN%2BxeBZvh95aOQn0VRMpEiwvYV9iwxcOQdzzS%2FLetjvc5uCLjZJcpFsnqh%2FGAxJ1Sio36wjrK2uxb3fBVGnZyoi0LJl538V6xLmGCdwejXvsNeWfJmKQf7%2BH4gvolzOt%2BZGOYSDTmTNv5AuCA40E3ktIDTR4Mhg2B%2BStU0mvqBD2Q8ol0U3KStY10WXmu0Aa0ZeQFE6JvVytuJmAqdYGL0VGDEMqTXxDeIgdDDf8kFON%2FoXS5WpAM0SnnFj4D3gv0RTlJwDc4Etek6YeVX4f7no5Xjl4q10bWlles%2FSYrRtDoC9%2BKIucUIOuxVhheu7Ro2qWa5197OuVaUYzBGL%2BrUhtXHUBHRLF%2FrH2IH9pWHdvNMnUX4Ws6yjluw3%2FFxI5rTKMzjrrm2LYP%2F%2BT%2BVebWl2MGJERHMfeViRm1FikGiB8cN9u52SEHbk0XdDvLTUDyiZx3LJtx7hS%2FMv%2Fud%2BKtTEWLygxBO8h7iQnSvCfMHwJxGS4n9iyu5z93nCK3K%2FA%2FJB5%2B9woVfl5si1bgS4E7QyYKO8qcVQEH5wc6LXJ85mQdUfzXPhOy8pMZWDXBln%2BU18LDLTrtXE%2FfAdHQh8nqCBkKNVk9SJBLZMyKtjRsXwWGXQu1WR7U5wuUjBDJ21xGObMxqB5saoSt008%3D&game_biz=hkrpg_cn&os_system=Windows%2010%20%20%2810.0.18362%29%2064bit&device_model=System%20Product%20Name%20%28System%20manufacturer%29&plat_type=pc&page=1&size=5&gacha_type=11&end_id=0 HTTP/1.1" 200 56 [2023-05-15 15:27:02] [Dummy-1/WARNING]: 回应的状态码: -101 [2023-05-15 15:27:02] [Dummy-1/WARNING]: 回应的信息: authkey timeout

[2023-05-15 15:27:06] [Dummy-2/INFO]: 尝试获取抽卡记录 API

[2023-05-15 15:27:06] [Dummy-2/DEBUG]: Starting new HTTPS connection (1): api-takumi.mihoyo.com:443 [2023-05-15 15:27:06] [Dummy-2/DEBUG]: https://api-takumi.mihoyo.com:443 "GET /common/gacha_record/api/getGachaLog?authkey_ver=1&sign_type=2&auth_appid=webview_gacha&win_mode=fullscreen&gacha_id=dbebc8d9fbb0d4ffa067423482ce505bc5ea&timestamp=1681910012&region=prod_gf_cn&default_gacha_type=11&lang=zh-cn&authkey=b0Mhm83qsrF0aVBDfyUMyGBfu7XLN%2BxeBZvh95aOQn0VRMpEiwvYV9iwxcOQdzzS%2FLetjvc5uCLjZJcpFsnqh%2FGAxJ1Sio36wjrK2uxb3fBVGnZyoi0LJl538V6xLmGCdwejXvsNeWfJmKQf7%2BH4gvolzOt%2BZGOYSDTmTNv5AuCA40E3ktIDTR4Mhg2B%2BStU0mvqBD2Q8ol0U3KStY10WXmu0Aa0ZeQFE6JvVytuJmAqdYGL0VGDEMqTXxDeIgdDDf8kFON%2FoXS5WpAM0SnnFj4D3gv0RTlJwDc4Etek6YeVX4f7no5Xjl4q10bWlles%2FSYrRtDoC9%2BKIucUIOuxVhheu7Ro2qWa5197OuVaUYzBGL%2BrUhtXHUBHRLF%2FrH2IH9pWHdvNMnUX4Ws6yjluw3%2FFxI5rTKMzjrrm2LYP%2F%2BT%2BVebWl2MGJERHMfeViRm1FikGiB8cN9u52SEHbk0XdDvLTUDyiZx3LJtx7hS%2FMv%2Fud%2BKtTEWLygxBO8h7iQnSvCfMHwJxGS4n9iyu5z93nCK3K%2FA%2FJB5%2B9woVfl5si1bgS4E7QyYKO8qcVQEH5wc6LXJ85mQdUfzXPhOy8pMZWDXBln%2BU18LDLTrtXE%2FfAdHQh8nqCBkKNVk9SJBLZMyKtjRsXwWGXQu1WR7U5wuUjBDJ21xGObMxqB5saoSt008%3D&game_biz=hkrpg_cn&os_system=Windows%2010%20%20%2810.0.18362%29%2064bit&device_model=System%20Product%20Name%20%28System%20manufacturer%29&plat_type=pc&page=1&size=5&gacha_type=11&end_id=0 HTTP/1.1" 200 56 [2023-05-15 15:27:06] [Dummy-2/WARNING]: 回应的状态码: -101 [2023-05-15 15:27:06] [Dummy-2/WARNING]: 回应的信息: authkey timeout

[2023-05-15 15:27:08] [Dummy-3/INFO]: 尝试获取抽卡记录 API

[2023-05-15 15:27:08] [Dummy-3/DEBUG]: Starting new HTTPS connection (1): api-takumi.mihoyo.com:443 [2023-05-15 15:27:09] [Dummy-3/DEBUG]: https://api-takumi.mihoyo.com:443 "GET /common/gacha_record/api/getGachaLog?authkey_ver=1&sign_type=2&auth_appid=webview_gacha&win_mode=fullscreen&gacha_id=dbebc8d9fbb0d4ffa067423482ce505bc5ea&timestamp=1681910012&region=prod_gf_cn&default_gacha_type=11&lang=zh-cn&authkey=b0Mhm83qsrF0aVBDfyUMyGBfu7XLN%2BxeBZvh95aOQn0VRMpEiwvYV9iwxcOQdzzS%2FLetjvc5uCLjZJcpFsnqh%2FGAxJ1Sio36wjrK2uxb3fBVGnZyoi0LJl538V6xLmGCdwejXvsNeWfJmKQf7%2BH4gvolzOt%2BZGOYSDTmTNv5AuCA40E3ktIDTR4Mhg2B%2BStU0mvqBD2Q8ol0U3KStY10WXmu0Aa0ZeQFE6JvVytuJmAqdYGL0VGDEMqTXxDeIgdDDf8kFON%2FoXS5WpAM0SnnFj4D3gv0RTlJwDc4Etek6YeVX4f7no5Xjl4q10bWlles%2FSYrRtDoC9%2BKIucUIOuxVhheu7Ro2qWa5197OuVaUYzBGL%2BrUhtXHUBHRLF%2FrH2IH9pWHdvNMnUX4Ws6yjluw3%2FFxI5rTKMzjrrm2LYP%2F%2BT%2BVebWl2MGJERHMfeViRm1FikGiB8cN9u52SEHbk0XdDvLTUDyiZx3LJtx7hS%2FMv%2Fud%2BKtTEWLygxBO8h7iQnSvCfMHwJxGS4n9iyu5z93nCK3K%2FA%2FJB5%2B9woVfl5si1bgS4E7QyYKO8qcVQEH5wc6LXJ85mQdUfzXPhOy8pMZWDXBln%2BU18LDLTrtXE%2FfAdHQh8nqCBkKNVk9SJBLZMyKtjRsXwWGXQu1WR7U5wuUjBDJ21xGObMxqB5saoSt008%3D&game_biz=hkrpg_cn&os_system=Windows%2010%20%20%2810.0.18362%29%2064bit&device_model=System%20Product%20Name%20%28System%20manufacturer%29&plat_type=pc&page=1&size=5&gacha_type=11&end_id=0 HTTP/1.1" 200 56 [2023-05-15 15:27:09] [Dummy-3/WARNING]: 回应的状态码: -101 [2023-05-15 15:27:09] [Dummy-3/WARNING]: 回应的信息: authkey timeout

[2023-05-15 15:27:10] [Dummy-4/INFO]: 尝试获取抽卡记录 API

[2023-05-15 15:27:10] [Dummy-4/DEBUG]: Starting new HTTPS connection (1): api-takumi.mihoyo.com:443 [2023-05-15 15:27:11] [Dummy-4/DEBUG]: https://api-takumi.mihoyo.com:443 "GET /common/gacha_record/api/getGachaLog?authkey_ver=1&sign_type=2&auth_appid=webview_gacha&win_mode=fullscreen&gacha_id=dbebc8d9fbb0d4ffa067423482ce505bc5ea&timestamp=1681910012&region=prod_gf_cn&default_gacha_type=11&lang=zh-cn&authkey=b0Mhm83qsrF0aVBDfyUMyGBfu7XLN%2BxeBZvh95aOQn0VRMpEiwvYV9iwxcOQdzzS%2FLetjvc5uCLjZJcpFsnqh%2FGAxJ1Sio36wjrK2uxb3fBVGnZyoi0LJl538V6xLmGCdwejXvsNeWfJmKQf7%2BH4gvolzOt%2BZGOYSDTmTNv5AuCA40E3ktIDTR4Mhg2B%2BStU0mvqBD2Q8ol0U3KStY10WXmu0Aa0ZeQFE6JvVytuJmAqdYGL0VGDEMqTXxDeIgdDDf8kFON%2FoXS5WpAM0SnnFj4D3gv0RTlJwDc4Etek6YeVX4f7no5Xjl4q10bWlles%2FSYrRtDoC9%2BKIucUIOuxVhheu7Ro2qWa5197OuVaUYzBGL%2BrUhtXHUBHRLF%2FrH2IH9pWHdvNMnUX4Ws6yjluw3%2FFxI5rTKMzjrrm2LYP%2F%2BT%2BVebWl2MGJERHMfeViRm1FikGiB8cN9u52SEHbk0XdDvLTUDyiZx3LJtx7hS%2FMv%2Fud%2BKtTEWLygxBO8h7iQnSvCfMHwJxGS4n9iyu5z93nCK3K%2FA%2FJB5%2B9woVfl5si1bgS4E7QyYKO8qcVQEH5wc6LXJ85mQdUfzXPhOy8pMZWDXBln%2BU18LDLTrtXE%2FfAdHQh8nqCBkKNVk9SJBLZMyKtjRsXwWGXQu1WR7U5wuUjBDJ21xGObMxqB5saoSt008%3D&game_biz=hkrpg_cn&os_system=Windows%2010%20%20%2810.0.18362%29%2064bit&device_model=System%20Product%20Name%20%28System%20manufacturer%29&plat_type=pc&page=1&size=5&gacha_type=11&end_id=0 HTTP/1.1" 200 56 [2023-05-15 15:27:11] [Dummy-4/WARNING]: 回应的状态码: -101 [2023-05-15 15:27:11] [Dummy-4/WARNING]: 回应的信息: authkey timeout

开梯子

[2023-05-15 15:25:57] [Dummy-1/INFO]: 尝试获取抽卡记录 API

[2023-05-15 15:25:57] [Dummy-1/DEBUG]: Starting new HTTPS connection (1): api-takumi.mihoyo.com:443 然后就闪退了,不开梯子的话倒是不会闪退。

xiaoxingruo commented 1 year ago

麻烦在设置里把日志等级弄的到debug再看看吧,之前忘记跟你说了。。。

好像乱了点,没开梯子我都按了两下,好像出现的日志有点重复了……

DancingSnow0517 commented 1 year ago

麻烦在设置里把日志等级弄的到debug再看看吧,之前忘记跟你说了。。。

好像乱了点,没开梯子我都按了两下,好像出现的日志有点重复了……

额,为啥你能点两下,我记得我早就修复了这个问题啊,麻烦你去release下载最新版本

icegod1114 commented 1 year ago

[2023-05-15 19:31:23] [Dummy-1/WARNING]: 在目录: C:\Users\User/AppData/LocalLow/miHoYo/崩坏:星穹铁道/Player.log 中未找到"崩坏:星穹铁道"日志 [2023-05-15 19:31:23] [Dummy-1/INFO]: 尝试查找日志位置:C:\Users\User/AppData/LocalLow/Cognosphere/Star Rail/Player.log [2023-05-15 19:31:23] [Dummy-1/INFO]: 正在读取 "Player.log"...

[2023-05-15 19:31:23] [Dummy-1/INFO]: 尝试获取抽卡记录 API

[2023-05-15 19:31:24] [Dummy-1/INFO]: 正在获取 STELLAR 第 1 页

DancingSnow0517 commented 1 year ago

能截图吗?软件界面

icegod1114 commented 1 year ago

image

icegod1114 commented 1 year ago

他左上方會在獲取第一頁後直接關閉

DancingSnow0517 commented 1 year ago

ok,我没有国际服账号,所以我也没具体测试可不可以用,不过已经大概发现问题在哪里了,是我写的有点问题 你游戏语言改成简体中文应该就能用了,没做别的语言适配

DancingSnow0517 commented 1 year ago

我有空去做做用多语言的获取

icegod1114 commented 1 year ago

image 有了是有了 但我總共的抽數跟上面差很多

DancingSnow0517 commented 1 year ago

尝试在设置打开获取完整数据重新获取一次?

DancingSnow0517 commented 1 year ago

如果还有问题就把log以文件的形式发上来吧

xiaoxingruo commented 1 year ago

麻烦在设置里把日志等级弄的到debug再看看吧,之前忘记跟你说了。。。

好像乱了点,没开梯子我都按了两下,好像出现的日志有点重复了……

额,为啥你能点两下,我记得我早就修复了这个问题啊,麻烦你去release下载最新版本

我说的多点两下是它出错了,没有获取成功,所以我自己有点了两次,我的是最新版本

DancingSnow0517 commented 1 year ago

麻烦在设置里把日志等级弄的到debug再看看吧,之前忘记跟你说了。。。

好像乱了点,没开梯子我都按了两下,好像出现的日志有点重复了……

额,为啥你能点两下,我记得我早就修复了这个问题啊,麻烦你去release下载最新版本

我说的多点两下是它出错了,没有获取成功,所以我自己有点了两次,我的是最新版本

看了你的日志,应该是你的api_key过期了,请打开游戏重新打开历史记录一次

xiaoxingruo commented 1 year ago

麻烦在设置里把日志等级弄的到debug再看看吧,之前忘记跟你说了。。。

好像乱了点,没开梯子我都按了两下,好像出现的日志有点重复了……

额,为啥你能点两下,我记得我早就修复了这个问题啊,麻烦你去release下载最新版本

我说的多点两下是它出错了,没有获取成功,所以我自己有点了两次,我的是最新版本

看了你的日志,应该是你的api_key过期了,请打开游戏重新打开历史记录一次 好吧,我去试试

xiaoxingruo commented 1 year ago

麻烦在设置里把日志等级弄的到debug再看看吧,之前忘记跟你说了。。。

好像乱了点,没开梯子我都按了两下,好像出现的日志有点重复了……

额,为啥你能点两下,我记得我早就修复了这个问题啊,麻烦你去release下载最新版本

我说的多点两下是它出错了,没有获取成功,所以我自己有点了两次,我的是最新版本

看了你的日志,应该是你的api_key过期了,请打开游戏重新打开历史记录一次 好吧,我去试试

确实是这个问题……那下次我清楚了,谢谢