Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaderboards #12

Closed
rezoner opened this issue Nov 4, 2014 · 10 comments
Closed

Leaderboards #12

rezoner opened this issue Nov 4, 2014 · 10 comments

Comments

@rezoner
Copy link

rezoner commented Nov 4, 2014

Any plans to support leaderboards?

@hokein
Copy link
Member

hokein commented Nov 6, 2014

I will take a look on this feature.

@patrickklug
Copy link
Member

I don't think that leaderboards are a good fit for greenworks. Players can easily hack into any node-webkit based game and call greenworks API's manually, which makes cheating super easy. We don't see it as a problem for achievements since they only affect the person and if they really want to cheat to get them, so be it but with leaderboards it would affect other players and turn the entire leaderboard pointless.

My suggestion is to handle leaderboards by hosting your own server which can verify a score before it submits it to the steam API. I don't have much information about feasibility but I think client-side leaderboards submissions via greenworks would be pretty pointless.

@morgondag
Copy link

how is the cross-platform support for v8 snapshot?
https://github.com/rogerwang/node-webkit/wiki/Protect-JavaScript-source-code-with-v8-snapshot

The "frontend" part could just be encrypted there together with cryptojs, at least its a layer, there will always be hacking going on, they deserve a challenge :-p

@Baccanno
Copy link
Contributor

Well there will always be a hacking possibility, however it might be interesting to have this still IMHO. Leaderboards can be terribly addictive to players even if they are hackable (see super hexagon)

@MarxGames
Copy link

Maybe only support the Retrieving Leaderboard data parts then? Leave submitting for the server side.

@Baccanno
Copy link
Contributor

Baccanno commented Jun 7, 2015

Well I did it with server only for the Leaderboard part, I didn't really
get what you said at first, but then noticed there was an REST API for
leaderboards and so :) Indeed it's not that interesting as you said

2015-06-07 11:07 GMT+02:00 Margus Ojanurme notifications@github.com:

Maybe only support the Retrieving Leaderboard data parts then? Leave
submitting for the server side.


Reply to this email directly or view it on GitHub
#12 (comment)
.

Michaël Picovschi, Morphiks
http://www.morphiks.com

@MarxGames
Copy link

I take back my request. Not required at the moment, since leaderboards are fundamentally flawed and Steam completely ignores their own documentation.

Taken from their documentation:
Writes - If this is set to Trusted, the leaderboard scores cannot be set by clients, and can only be set by via SetLeaderboardScore WebAPI. Defaults to false.

Does not matter if you set writes to trusted, everyone can still publish fake scores.

@agar3s
Copy link

agar3s commented May 25, 2017

Hi! I was checking another way to upload data to the leaderboard from steam, but there is no webApi available for that, and I'm not sure how to update this library to support that.
How do you suggest to submit scores to leaderboard?

@hokein
Copy link
Member

hokein commented May 25, 2017

@agar3s
Greenworks doesn't provide APIs to manage leaderboard, although Steam SDK does provide them.

You could find web APIs of leaderboard at https://lab.xpaw.me/steam_api_documentation.html#ISteamLeaderboards.

@agar3s
Copy link

agar3s commented May 25, 2017

Thanks @hokein!
It was very useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants