-
Notifications
You must be signed in to change notification settings - Fork 63
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
More stats for player profiles #93
Comments
If someone wanted to implement this and send a pull request, I'd be open to accepting it, but I don't have time to do that myself at the moment. |
Thank you! I'll see if I can learn how to do it myself. But if you beat me to it that's ok, and I totally get you're busy, so whenever it's possible. |
Ok im honestly not smart enough to work out what the response would be. For reference, I added this to your index.js:
then used the CSGOcli.clientDeepStats to get a result from my node api. It just continually loads, going to guess I wasnt sending the correct infromation via the proto. I got the matches & range from the CMsgGCCStrike15_ClientDeepStats struct. If I could work out what the GC sends back or what it requires for each proto then maybe I could use your repository to make methods for what I need, but I honestly have no idea where to start. |
You can get ranking information, if the user is in the steam bots friendlist: PlayersProfileProfile(account_id=457082742, ranking=PlayerRankingInfo(account_id=457082742, rank_id=0, wins=347, rank_type_id=6), commendation=PlayerCommendationInfo(cmd_friendly=47, cmd_teaching=42, cmd_leader=41), medals=PlayerMedalsInfo(display_items_defidx=[874, 4906, 4873, 996, 987, 4819, 4759, 4799, 4737, 4703, 4674, 4553, 4626, 1377, 970], featured_display_item_defidx=874), player_level=35, player_cur_xp=327683846, rankings=[PlayerRankingInfo(account_id=457082742, rank_id=9, wins=266, rank_type_id=7), PlayerRankingInfo(account_id=457082742, rank_id=0, wins=4, rank_type_id=10), PlayerRankingInfo(account_id=457082742, rank_id=5725, wins=108, rank_type_id=11, rank_window_stats=3342880)]) |
Hey,
More of a question than an issue. I am not sure if its even possible. But the getPlayerProfile call seems to display a view shallow depth of stats. Really only usable stat is the rank_id and account_id. Everything else seems to just return null.
Is there any plans to add more methods to get detailed player stats. Using the steam web api I can fetch limited wepon kills and such, this is also a limited result, but it would make sense to get all the leaderboard data, demos from your matches, demos from matches being played at pro tournoments, live game data, rank information, kill and wepon information like total_headshot_kills_ak47 or something. Surely its accessable from the game controller, im not smart enough to work out how to use the proto messages to get this.
The text was updated successfully, but these errors were encountered: