trdwll / SteamBridge

An Unreal Engine implementation of the Steamworks API.
https://trdwll.com/experiments/steambridge/
MIT License
133 stars 19 forks source link

"Find Leaderboard" cannot be used to "Upload Leaderboard Score" because of not matching structures #26

Open SirDiabo opened 2 years ago

SirDiabo commented 2 years ago

Shouldn't the return value of "Find Leaderboard" be of a leaderboard struct? To my knowledge, this makes it impossible to use the steam leaderboard :( I checked in multiple documentations and the Find Leaderboard Function is usually supposed to be used to get that struct... please correct me if I'm wrong, though. 1 2 3

trdwll commented 2 years ago

Forgot to respond. Yeah, no idea.

SirDiabo commented 2 years ago

I found out that you need to just need to call "find leaderboard" and then bind the "OnLeaderboardFindResult" to the upload function. For some reason, find leaderboard doesn't get called, though . _. I read through steam documentations, the code, watched how some other people set up their leaderboard and for them, it just worked. Not sure if it's a Plugin, Steam or me problem. image image

HashemShepard commented 2 years ago

For some reason, find leaderboard doesn't get called, though . _. I read through steam documentations, the code, watched how some other people set up their leaderboard and for them, it just worked. Not sure if it's a Plugin, Steam or me problem.

did you make sure that steam is actually running ? like when you open the game , it shows you the notification at the bottom , also note that steam stuff only work in standalone mode

SirDiabo commented 2 years ago

yup, steam is running. I tried in standalone and even after packaging. It just doesn't get called :(

HashemShepard commented 2 years ago

yup, steam is running. I tried in standalone and even after packaging. It just doesn't get called :(

did you publish the changes on steamworks ? you have to first add them here https://partner.steamgames.com/apps/achievements/1292510 and then publish the edits first https://partner.steamgames.com/doc/features/achievements

trdwll commented 1 year ago

Not sure if leaderboards work. iirc they never worked.

Thunderdojo commented 1 month ago

can confirm that leaderboards are not working, even tried with spacewar app id and that leaderboard, but I can not say what the exact problem is, but I do think it is not calling the event bind to leaderboards found somehow.. but not sure. on the other hand I can confirm that achievements are working very nicely