Jump to content
McKay Development

QuestionRealQuick1

Member
  • Posts

    28
  • Joined

  • Last visited

Reputation Activity

  1. Like
    QuestionRealQuick1 reacted to Dr. McKay in checking if a trade offer is sent from a guy with tradehold?   
    https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getuserdetailscallback
  2. Like
    QuestionRealQuick1 reacted to Revadike in Getting current game?   
    You can do it with steam-user:
     
    const steamid = 123456; client.getPersonas([steamid], personas => { console.log(personas[steamid].game_name); // Non-steam game name });
  3. Like
    QuestionRealQuick1 reacted to Revadike in Checking if a steam64 id is your friend?   
    Assuming you are logged in (user = steam-user instance, steamid = steamid64):
     
    function isSteamFriends(steamid) { return Object.entries(user.myFriends).filter(e => e[1] === SteamUser.Steam.EFriendRelationship.Friend).map(e => e[0]).includes(steamid); }
  4. Like
    QuestionRealQuick1 got a reaction from Vanilla in Opening boosters?   
    Hello again ^^
    Just figured i would update this for others that are looking to do the same thing
     
     
    You need to send a ajax request to the following url
    /ajaxunpackbooster/
     
    parms should be:
     sessionid: given on websession event store it (not sure if theres another way to get it ^^?)appid: item.market_fee_appcommunityitemid: item.assetid Easy as pie ^^ have abit of a delay so you don't get rate limited
    hope that helps anybody
    would be lovely to have a item.unpack()
    remember to pass the cookie as a header
  5. Like
    QuestionRealQuick1 reacted to Fastmancz in After Steam update, don't work function gamesPlayed?   
    Hello,
     
    I don't know where is the problem, but after 30 March day stopped working function gamesPlayed.
     
    Steam update: http://blog.counter-strike.net/index.php/2018/03/20308/
     
    I made the latest updates via: npm update ; npm update express.
     
    Here is the simple code for status:
    client.on('loggedOn', () => {     console.log('BOT is Online.');     client.setPersona(SteamUser.Steam.EPersonaState.Online);     client.gamesPlayed(["My MiniBot",730]); // client.gamesPlayed(730); or client.gamesPlayed(440); - It's same. I see constantly Online without changes. });Thanks for answer.
×
×
  • Create New...