JellyBrick / Koyo

Koyo: Unofficial HoyoLab & Genshin Impact API written in Kotlin
Apache License 2.0
3 stars 0 forks source link

[Currently not implementable] generate gacha Authkey from HoyoLab sToken #3

Open JellyBrick opened 1 year ago

JellyBrick commented 1 year ago

https://github.com/JellyBrick/Koyo/blob/a9df52165fbe3afad34e0557506944bf37e15bb5/lib/src/main/kotlin/be/zvz/koyo/GenshinImpact.kt#L421-L498

Currently, oversea account (HoyoLab Account) is not support generate gacha Authkey from HoyoLab sToken. Check this issue https://github.com/DGP-Studio/Snap.Hutao/issues/638 I don't think it's technically impossible, but I haven't verified that this (https://github.com/ctrlcvs/xiaoyao-cvs-plugin/blob/master/model/mys/mihoyoApi.js) works.

Lightczx commented 11 months ago

Only CN mihoyobbs account can use stoken to generate gi authkey, it's the only exception in all mihoyo's games.