-
Notifications
You must be signed in to change notification settings - Fork 62
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
Show CS Rating history on CS2 achievements page #192
Conversation
Not that I dislike it, but seems a little weird to put this under achievements. |
I don't know where else to put it. And rarely some older games (like l4d2) had a bunch of extra data including leaderboards so I thought it was fitting. Especially since CS2 has just one achievement. |
Eh fine let's add it. Suggestions:
What are the other bits of information we could extract from the score variable? Wondering if we should draw a chart of the rating for like last 100 matches, code from steamstat.us here: https://github.com/SteamDatabase/steamstat.us/blob/3e0fecc70c9d806cba260f78f73bd2795cb7365c/src/app.ts#L208 |
Made changes based on your suggestions. Tried adding a chart by mostly copy-pasting steamstat.us code, I think it works alright.
Not sure, I thought they just store it in some fixed-point decimal format. But maybe those bits do represent something useful? |
Looks very cool with colors 👍 |
Feel free to quickly reject this :)
There may be too much data in the future or Valve changes https://steamcommunity.com/my/gcpd/730?tab=majors page.
But it seems to work now and shouldn't break anything if it fails. It works only on your own page obviously.