Improvement of gamesPlayed method
See original GitHub issueI think that method gamesPlayed can be improved by specifying appid when using type of shortcut (or at least using a fixed value). Say we want to see a custom message at the chat area (for status message, debug purposes, etc.) which will be the same for desktop client chat window and friends list, mobile client friends list and https://steamcommunity.com/chat):
const Long = require('bytebuffer').Long;
client.gamesPlayed([{
game_id: new Long((2 << 24) | 250820, 0x80000000, true), // or just "-9223372036820970556"
game_extra_info: 'Custom text'
}, 550]);
// 250820 - appid of SteamVR (always available and wont spoil profile play feed)
// and 550 of L4D2 for example while using list of games
Also it looks like that Steam need that high bit to display properly: https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/public/steam/steamclientpublic.h#L1062
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top Results From Across the Web
In Defense of the Games Played Method of Apportionment ...
The players argued that the games played method of apportionment violates the Due Process Clause and. Commerce Clause of the United States Constitution....
Read more >The Robert Ris Chess Improvement Method - iChess.net
Most games played below the 2200 Elo level are decided by tactics. Mastering them helps you at any stage of the game –...
Read more >Chess.com Lessons vs Improvement: The Stats
Traditionally, chess players have improved by practicing, reading books and analyzing with stronger players. Now some new methods are being ...
Read more >Executive Functions Can Be Improved in Preschoolers ...
This study aimed to test the impact of play on the development of executive functions (EFs) in preschoolers. Thirty-two games were designed ...
Read more >The Lasker Method to Improve in Chess
I've always believed that you'll benefit more from studying games played by someone 200-300 points stronger than you than you would from top...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, confirmed that does work on mobile and desktop, but I’m not sure I want to add something that amounts to a glitch to the module, as it’s liable to break at any point in the future. Shortcut names are officially supported but using this thing is a glitch.
You’re welcome to do it manually if you wish using the code you posted previously.
Like I said in the beginning my whole point of using shortcut names was to provide ‘status text’ feature. Thus I think it wouldn’t be too bad to have gamesPlayed slightly changed or overloaded to support a feature on mobile app. Maybe a fixed appid can be used (like SteamVR tool which wont spoil playfeed)? I doubt it will change anytime soon.