y1ndan / genshinhelper2

A Python library for miHoYo bbs and HoYoLAB Community. genshin 原神签到小助手 树脂提醒 微博超话 米游社米游币 崩坏3
https://www.yindan.me
GNU General Public License v3.0
521 stars 243 forks source link

更新salt #52

Closed ICMYS closed 1 year ago

ICMYS commented 1 year ago

ds中随机数的实际算法为

int v17 = (int)(rand() / 2147483650.0 * 100000.0 + 100000.0) % 1000000;
if (v17 >= 100001)
    v18 = v17;
else
    v18 = v17 + 542367;

v18即为&r=后的参数

之前几次pull都有些问题我关闭了

y1ndan commented 1 year ago

这个不影响签到我暂时不发版了 感谢更新