13 Replies
diverse-rose
diverse-roseOP2y ago
optimistic-gold
optimistic-gold2y ago
hmm header 15 is a GET_USER_STATS_REQUEST 23 is a GET_USER_ACHIEVEMENTS_REQUEST request 25 is the one that's supposed to unlock the achievement
diverse-rose
diverse-roseOP2y ago
so for some reason it thinks i already have it?
optimistic-gold
optimistic-gold2y ago
probably, or the SDK doesn't like comet's responses since it tries to get the achievements multiple times I'm going to refactor comet to be faster and capable to work offline eventually, current Python code does http request for each call with no caching, which is noop apparently
diverse-rose
diverse-roseOP2y ago
what language python again?
optimistic-gold
optimistic-gold2y ago
Rust the branch is up already (only auth is call implemented though)
diverse-rose
diverse-roseOP2y ago
ah okay i take it you wont want to try to debug this issue then i could probably use the galaxy offline emu for achievement tracking rn i think its called nemiritingas galaxy emu or something
optimistic-gold
optimistic-gold2y ago
yeah, sorry I can't help. This is probably due to comet taking too long to respond thus SDK never accepts the data
diverse-rose
diverse-roseOP2y ago
does the gog api allow uploading the unlock time or something
optimistic-gold
optimistic-gold2y ago
only through comm service provided by Galaxy which comet aims to implement for Linux users
diverse-rose
diverse-roseOP2y ago
so if i use that local galaxy emu which saves the time of unlock to a json file comet could tell gog I unlocked the achievement x days ago in the past and itd show up as that oops wrong reply
optimistic-gold
optimistic-gold2y ago
no, it doesn't work that way I think although technically it may be possible I don't know how microservices would interpret that
diverse-rose
diverse-roseOP2y ago
well in the code its just setting achievement.unlock_time to a unix epoch value and those will always be in the past plus theres also the fact that galaxy has offline achievement support so it has to accept achievements from in the past so it probably will work

Did you find this page helpful?