Steam Leaderboards

Posted By: Dooley

Steam Leaderboards - 07/30/19 05:55

Does anyone have an example of how to update Steam Leaderboards via Lite-c?

I have the Achievements working, but I am unsure how to implement leaderboards.
Posted By: Superku

Re: Steam Leaderboards - 07/30/19 07:15

You will have to do the following sadly, it's a bit of work and debugging:
https://partner.steamgames.com/doc/features/leaderboards/guide

Copy paste the code and add one or more status variables which you set in the various functions and events, like findLeaderboardResult = 0/ 1/ -1. Then add a simple DLLFUNC to read their values in acknex and display them on screen for debugging. That's how I started back then.
Posted By: Dooley

Re: Steam Leaderboards - 07/30/19 16:25

Thanks,
I actually have a working Steam API script made by Jonas Freiknecht. I have it working to set achievements, and there are commands in it that appear to set the leaderboards...

www.schmidt-gallery.com/Stuff/Achievements_Tutorial.zip

It has a bunch of commands in the included steamgs.h file that interact with leaderboards, but I'm not entirely sure how to use them in Lite-c, and I have not heard anything from Jonas. I guess I may have to start from scratch, but I am going to see if I can get these to work first, since they do work with achievements.
© 2024 lite-C Forums