ApniWapni Posted January 10 Report Share Posted January 10 When trying to request a player profile it doesn't seem to ever get a response back. I am using the following code: csgo.requestPlayersProfile("STEAM_ID", (profile) => { console.log("Profile Requested") console.log(profile); }); Neither "Profile Requested" nor the profile gets requested. I have also tried csgo.on(playerProfile) but doesn't seem to have any effect Quote Link to comment Share on other sites More sharing options...
Arty Posted January 10 Report Share Posted January 10 (edited) Hi, I'm not certain it's necessary, but it may as well be; do you have user.gamesPlayed( [ 730 ] ) in place? If so, maybe just try debugging everything else, at times it could be steam not letting you log in when it recieves too many requests and stuff Edited January 10 by Arty Formatted code Quote Link to comment Share on other sites More sharing options...
ApniWapni Posted January 16 Author Report Share Posted January 16 On 1/10/2023 at 6:40 PM, Arty said: Hi, I'm not certain it's necessary, but it may as well be; do you have user.gamesPlayed( [ 730 ] ) in place? If so, maybe just try debugging everything else, at times it could be steam not letting you log in when it recieves too many requests and stuff Thanks for your reply, I have indeed had this. But i keep getting nothing specific. I have turned on console log debugging and getting the following: Logged into Steam Sending GC message ClientHello Sending hello, setting timer for next attempt to 2000 ms Sending GC message ClientHello Sending hello, setting timer for next attempt to 4000 ms Got handled GC message ClientWelcome Unknown SO type 2 with 1 items Unknown SO type 7 with 1 items Unknown SO type 43 with 2 items GC connection established Connected to GC Sending GC message ClientRequestPlayersProfile Got unhandled GC message 9194 Got handled GC message MatchmakingGC2ClientHello Got unhandled GC message 9173 So it looks like it is sending the request, but its response doesn't get handled? I also added csgo.on('playersProfile') aswell with a console log but as you can see it doesn't do anything either Quote Link to comment Share on other sites More sharing options...
Arty Posted January 17 Report Share Posted January 17 16 hours ago, ApniWapni said: Thanks for your reply, I have indeed had this. But i keep getting nothing specific. I have turned on console log debugging and getting the following: Logged into Steam Sending GC message ClientHello Sending hello, setting timer for next attempt to 2000 ms Sending GC message ClientHello Sending hello, setting timer for next attempt to 4000 ms Got handled GC message ClientWelcome Unknown SO type 2 with 1 items Unknown SO type 7 with 1 items Unknown SO type 43 with 2 items GC connection established Connected to GC Sending GC message ClientRequestPlayersProfile Got unhandled GC message 9194 Got handled GC message MatchmakingGC2ClientHello Got unhandled GC message 9173 So it looks like it is sending the request, but its response doesn't get handled? I also added csgo.on('playersProfile') aswell with a console log but as you can see it doesn't do anything either In that case it could be the ID, perhaps? Just to be clear, the ID needs to be ID64 and the requested user needs to be online, as per the documentation, the requested profile must be online in CS:GO and be on your friendlist. What I suggest doing is trying to request the player profile of your own account, which certainly should work; You can get your ID from the loggedOn event's details (.client_supplied_steamid) Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 18 Report Share Posted January 18 Using client_supplied_steamid might work, but it's not guaranteed to always work if Valve changes how something works. The best way to get your own SteamID is from the steamID property on your SteamUser instance. For example, user.steamID Quote Link to comment Share on other sites More sharing options...
skr1pt Posted January 29 Report Share Posted January 29 If player isn't in you friend-list you cant get player profile from non-prime account. but you can try it with account with prime status Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.