Jump to content
McKay Development


  • Posts

  • Joined

  • Last visited

Everything posted by jafix

  1. I suggest using node-steamrep. It's a lot more reliable then the notifications from Steam. https://github.com/scholtzm/node-steamrep
  2. Look at the posts above you. It's literally there.
  3. As McKay said, offer.itemsToGive is an array of items you will loose after the trade and offer.itemsToReceive is an array of items you will receive after the trade.
  4. I got it working. Is there a rate limit on creating offers? (Not sending them)
  5. Why do you use client.gamesPlayed("Steam Test Bot by Cubson [Not Busy]"); 3 times? You only need to call it once. For the rest your script should work. Are sure you tested with a "non-trusted" steamid?
  6. https://www.reddit.com/r/SteamBot/comments/5ztiv6/psa_api_method_shutdown_ieconitems/ I think you should read through this post.
  7. Hi, I want to verify if a trade url belongs to an user, I have both the steamid64 and the trade url with access token. How would I do this without creating an offer and checking if the steamid64 I have matches offer.partner.getSteamId64();? Thanks
  8. Err what do you mean by "a fully functional trade bot"? I'm pretty sure nobody is willing to waste their time on a free bot for someone else.
  9. SteamUser = require('steam-user'); const client = new SteamUser(); 'client' is how i called steam-user. True, the event is only fired on a new friend invite.
  10. Hey, I want to display a message as a non-Steam game and I also want to idle a game on the background. What I have now: console.log("Logging in to Steam..."); client.logOn(logOnOptions); client.on('loggedOn', () => { console.log('Logged into Steam'); client.setPersona(1); client.gamesPlayed("Custom message", 440); }); But tf2 doesnt idle
  11. Though it is possible to listen for friendRelationship client.on('friendRelationship', function(sid, relationship) { //incoming friend requests if(relationship == 2) { console.log(sid + ' added me.'); } }); sid is the id of the friend who added you
  12. Hi, After I use getInventoryContents I get an array of inventory objects. I want to be able to define a variable to determine how much items i send. For example: var amount = 5; offer.addMyItems(inventory[0 - 4]); var amount = 3; offer.addMyItems(inventory[0 - 2]);
  13. Same problem, I'm sure I'm connected so that's not the case. For some reason this only occurs on an empty inventory for me. After the bot owned cs:go items and the inventory is empty there's no problem.
  14. Go to the folder maFiles you should see some (depending on how many acounts are running on sda) .maFile files. They are all named like <steamid64>.maFile find the one you need and open it in your text editor. Just look through the file until you find shared_secret and identity_secret.
  15. Thanks, another option i found is https://github.com/DPr00f/steam-api-node Pretty sure it basically does the same
  16. Hello, Is there a way of getting you inventory contents without having to log in?
  17. Would it be possible to recognize card by their game? So you would be able to see them as sets. I don't think this feature exists. And if it exists how do I use it?
  18. I'm sometimes getting this error when I'm logging into the bot account in my browser. Obviously this causes the problem. But how do I prevent this?
  19. client.logOn(logOnOptions); client.on('loggedOn', () => { console.log('Logged into Steam (JafixBot2)'); client.setPersona(SteamUser.Steam.EPersonaState.Online); client.gamesPlayed('Trading Emoticons And Backgrounds'); client.chatMessage('76561198259000054', 'Logged in!') client.chatMessage('76561198178736621', 'Logged in!') community.startConfirmationChecker('20000', 'secret', function(err) { if (err) { throw err; } }); }); This is the code i use for logging in.
  20. I'm getting this error on logging in.
  21. This is the error I am getting. What am I doing wrong? I'm getting this error like 75% of the time.
  • Create New...