-
Notifications
You must be signed in to change notification settings - Fork 40
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
Get/Set Stat/Achievement always return True without doing anything? #63
Comments
Hey, the precompiles currently available under "Releases" are quite out of date. So I can not tell whether they are still functional at all. Please try if the issue persists with the newer release from https://github.com/philippj/SteamworksPy/tree/master/redist/windows. |
Ah, thanks for the quick response! I ideally want it to be 32-bit, so I'll try recompiling from scratch. I'll add a comment with the results |
I just tried compiling from |
I think you need to call
after RequestCurrentStats() and before GetStatInt - this works for me |
try |
I built a game in Python that I'm trying to publish on Steam, and I have things working fine with regard to just running as well as using Steam cloud saves, but I'm trying to use SteamworksPy to get Achievements working. However, I'm running into the following issue:
GetStatInt
to get any stat (even ones that don't exist), it always returns 0SetStat
, it returnsTrue
, but when I subsequently useGetStatInt
, the value is unchanged (still 0)GetAchievement
to get any achievement (even ones that don't exist), it always returnsTrue
SetAchievement
, it always returnsTrue
Here's a minimum working example of the relevant SteamworksPy code:
This prints the following (I've replaced the AppID and SteamID with
<my correct AppID>
and<my correct SteamID>
for privacy):I'm using Python 3.8.7 and the Steamworks SDK 1.5.1. I'm also using the precompiled 32-bit
SteamworksPy.dll
("Master Pre-Compiles - Version 1.6.2"). Help would be greatly appreciated 😄The text was updated successfully, but these errors were encountered: