Gamestudio Links
Zorro Links
Newest Posts
Calculating with price series
by AndrewAMD. 10/21/19 14:31
Instrument Price Zorro Chart
by felixfx. 10/21/19 12:51
Error E355: Startup failure
by Dooley. 10/21/19 06:47
Today real live account blown - my experience
by Clifford_B. 10/19/19 17:09
Building Diversified Portfolios - New Paper
by SnoopySniff. 10/18/19 16:23
Indices & metals easier to trade than FX???
by SnoopySniff. 10/18/19 10:08
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
7 registered members (AndrewAMD, MatPed, Dico, Grat, Zheka, Dalla, 1 invisible), 642 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VillageTalkies, line7, Shutch, Clifford_B, Paulius
18310 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: 700
Chicago, IL
Dooley Online OP
User
Dooley  Online OP
User

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

Joined: Sep 2003
Posts: 6,848
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: 700
Chicago, IL
Dooley Online OP
User
Dooley  Online OP
User

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