Gamestudio Links
Zorro Links
Newest Posts
Any Old Timers Still Around?
by pyramide. 08/24/19 18:23
Script filename
by MatPed. 08/24/19 17:18
Oanda FIFO issue?
by AndrewAMD. 08/24/19 12:10
IG plugin initial release
by Dalla. 08/24/19 06:06
Tutorial for Vector Graphics
by Dooley. 08/23/19 22:32
Issue with dataParse function
by byakuren81. 08/23/19 21:57
Multiplayer subscription
by Truth. 08/23/19 20:08
candle pattern on weekly bars
by AndrewAMD. 08/23/19 13:20
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
8 registered members (pyramide, 3run, AndrewAMD, MatPed, byakuren81, Realspawn, 2 invisible), 644 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Ysbail, trader4321, GorgonzolaBYTE, Southqvist, tawin
18272 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: 681
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 681
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,844
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,844
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: 681
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 681
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