Closed Wollus closed 2 years ago
For me it generally updates at the same rate as resin so I'm unsure as to why you'd be experiencing such a major delay.
Odd. Sanity check: 'finished_task_num' or 'completed_commissions" are in fact the purple commissions/quests that you get 4 of each day? I'll try again tomorrow. Hopefully it was a fluke?
I'm going to close this issue. I opened up the hoyolab app and I see the exact same commission data that the API is vending, which does not match the in-game values (even though the resin is 100% accurate, so I know I'm hitting the correct account).
Thanks for the info!
Final update: It started working as expected today with no changes on my end :)
I have a bit more info. The commission count incorrectly resets to zero 4 hours before it's supposed to. I tried to look for a timezone setting through hoyolab but couldn't find one. Hopefully it gets fixed, but I don't think there's anything we can do on our end.
It's most likely just using Chinese reset times since that's where the servers are located.
That's a great theory. I'd hope that it would use the account's region, but I'll work around it locally in an ugly way, instead, haha.
Thanks again for the wonderful library!
This isn't actually an issue with your library, but more of a question that you may have the answer to. I found that the resin values get updated within ~30-60 seconds, but I noticed that the commission count and daily reward boolean hasn't updated in over an hour. Is that normal? Do you know if there's a commission-specific setting that I might need to enable/disable to get this to update properly?
Example API response snippet:
finished_task_num is 0, even though I compelted my commissions >1hr ago.
Amazing library, btw. Keep it up!!
Thanks!