Skip to content
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

SetAchievement() always return false #659

Open
kkfrank2 opened this issue Nov 27, 2024 · 2 comments
Open

SetAchievement() always return false #659

kkfrank2 opened this issue Nov 27, 2024 · 2 comments

Comments

@kkfrank2
Copy link

I use my appId, and GetAchievement() work right, but SetAchievement() and ClearAchievement() always return false.
But when I change appId to 480, there is no problems.
Is there some auth to my appId?

@kkfrank2
Copy link
Author

I use another appid, and there is no problem. have no idea what's wrong with my appid

@JamesMcGhee
Copy link
Contributor

Did you set the achievement write to GS or Offical GS?
image
If you set that to anything other than Client then your game client cannot SetAchievement ... cant recall if that will cause that method to return false or not but it definitely wont set the achievements.

Also make sure you publish, quote from the official docs on the topic.

This function returns true upon success if all of the following conditions are met; otherwise, false.
The specified achievement "API Name" exists in App Admin on the Steamworks website, and the changes are published.
RequestCurrentStats has completed and successfully returned its callback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants