Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by rayp. 10/15/25 20:44
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Grant, VoroneTZ), 7,031 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Steam Leaderboards #477802
07/30/19 05:55
07/30/19 05:55
Joined: May 2005
Posts: 871
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 871
Chicago, IL
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.

Re: Steam Leaderboards [Re: Dooley] #477806
07/30/19 07:15
07/30/19 07:15
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
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.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Steam Leaderboards [Re: Dooley] #477812
07/30/19 16:25
07/30/19 16:25
Joined: May 2005
Posts: 871
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 871
Chicago, IL
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.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1