Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (ozgur, EternallyCurious, howardR, 1 invisible), 623 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
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: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
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 | chip programmers | 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