-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random games getting dropped though they are NOT removed from the wishlist #11
Comments
@Vinfall Curious if you have ever observed this issue. This seems pretty common on my end (almost happens every day). |
Not exactly as I only have 20-ish games in wishlist (you have 180+). But sometimes the same game would be ordered slightly differently, which is probably related, e.g.
I suspect it's caused by one of these but have not tested yet:
|
Thanks for the input! I've seen order shuffles on my end as well. The game list returned from Steam should already be sorted by the app IDs of the games (at least that's what I observed). That said, I've added a manual sorting logic in 9e87371, which hopefully will prevent the random shuffle. Maybe it will (magically) solve this issue, too. If not, at least we ruled out a possibility. I'll keep monitoring the changes. |
Ok, I think I've found the reason. I think there's something funky going on with Steam's API. Perhaps the result returned depends on the caller/server's location, etc, but the games missing in my case are not even recently added to my wishlist, so cache is not accountable here. This is bad, as it means there's no way to tell whether the removal of a game in the result is because the user has actually removed it, or beacuse the returned wishlist is not complete. I think sending two duplicate requests one after another and combining the game list might at a very low possibility solve this issue, but it certainly is not an elegant solution. |
It occurs to me that Steam API returns similar results (aka. inconsistent response) for user library regarding |
Well, if the web API is just buggy like this, then I guess there's not much we can do. I bumped into https://github.com/ValvePython/steam today, which might be able to get a user's wishlist, but it requires logging in / api key / stuff like that, which will make things way more complex. So I probably won't migrate to that just for 1 missing game. |
Yeah, I discovered that a few days ago. Actually it cannot get wishlist data if I understand correctly. Searching There is also Steam Web API Documentation and Tester developed by xPaw (SteamDB guy), which requires developer key as well. The thing is, Steam Web API does NOT seem to have the required API at all... It has GetOwnedGames and GetWishlistItemCount (which returns only a number, not a list of wishlisted games) but not |
Ok. So the only way to get wishlist data is through the Actually, I found out that even visiting my wishlist from Steam webpage (either through Steam client or on my browser) suffers from the exact same issue - one random game is just missing. And that missing game is the same game missing from the JSON response. And this game changes over time. I did another round of research and found that this bug has been reported by others as well:
I think the steps look like this:
Maybe I'll work on it when I have the time, but defnitely not soon. |
Or buy & play some games to keep wishlist below the 99 threshold XD, that's how I fix it. |
For example,
They often make it back in the next run, but the drop is not expected in the first place.
The text was updated successfully, but these errors were encountered: