Closed Keilo104 closed 1 month ago
Wanted to add to this, the old version of the code before the ZZZ bugfix has starrail working fine, something in the updated code must be screwing with it. I'm not well versed in this type of code yet so I can't really help but wanted to point that out.
temp fix here does work though, thank you!!
same issue zzz was having earlier, i managed to fix it by doing some dumb stuff
const httpResponses = UrlFetchApp.fetchAll(urls.map((url) => { const temp_options = JSON.parse(JSON.stringify(options)); if (url.localeCompare(urlDict.ZZZ) == 0) temp_options["headers"]["x-rpc-signgame"] = "zzz"; else if (url.localeCompare(urlDict.Star_Rail) == 0) temp_options["headers"]["x-rpc-signgame"] = "hsr"; return { url, ...temp_options } }));
probably not the best way to do it, but it do be working now
what code/line should i replace with this fix?
@ankarakata replace the one line that starts with
const httpResponses = UrlFetchApp...
I'm getting "活动已结束 (-500012)" for one account but "操作频繁,请稍后再试" for the other... both HSR.
Can confirm the above code fixed the problem for me. Thanks, @Keilo104
added fix, thanks for the info!
same issue zzz was having earlier, i managed to fix it by doing some dumb stuff
probably not the best way to do it, but it do be working now