Jump to content
McKay Development

yesworld

Member
  • Posts

    4
  • Joined

  • Last visited

Everything posted by yesworld

  1. Hey Dr. McKay, The bot has several identical items in inventory. [{ market_hash_name: 'Inscribed Tormented Staff', pos: 1, // ... other fields }, { market_hash_name: 'Inscribed Tormented Staff', pos: 2, // ... other fields }] My task is to create 2 TradeOffers for different people and send one of the items. The problem is that all requests are asynchronous. And he creates trades offer for the same item, which is in the same bot inventory position (pos = 1). If you accept one trade, then the second trade is no longer available. What is the best way to solve this problem? Thank you for your attention and thank you for your work!
  2. Hi, Dr. McKay, I have the same problem. I downloaded Shared_secret from my Iphone. And I tried to use it in two factor authentication passing it to logOnOptions and I get error. > There was an error logging in! Error details: SteamGuardMobile This is my code. var SteamCommunity = require("steamcommunity"); var SteamTotp = require("steam-totp"); var steam = new SteamCommunity(); var twoFactorCode = SteamTotp.getAuthCode("redacted") console.log(twoFactorCode) var logOnOptions = { "accountName": "user", "password": "pasword", "twoFactorCode": twoFactorCode }; var identitySecret = ""; //get this in the intro! //logs in via browser steam.login(logOnOptions, function(err, sessionID, cookies, steamguard) { if (err) { console.log("There was an error logging in! Error details: " + err.message); process.exit(1); //terminates program } else { console.log("Successfully logged in as " + logOnOptions.accountName); } steam.startConfirmationChecker(10000, identitySecret); }); $ node test.js K2KF7 There was an error logging in! Error details: SteamGuardMobile What can i do? Thank you!
  3. Hi, I have a little question: Where can i get shared_secret? After the first run steam.login(), I got "steamguard". Which passed to the function generateAuthCode.What am I doing wrong? Thank you. var SteamCommunity = require('steamcommunity'); var steam = new SteamCommunity(); var logOnOptions = { accountName: 'user1', password: 'passsssssssword',// twoFactorCode: '72N37', twoFactorCode: SteamTotp.generateAuthCode('76561198035130610||snip') }; console.log(logOnOptions) //logs in via browser steam.login(logOnOptions, function(err, sessionID, cookies, steamguard) { console.log(steamguard) // '76561198035130610||snip' if (err) { console.log("There was an error logging in! Error details: " + err.message); process.exit(1); //terminates program } else { console.log("Successfully logged in as " + logOnOptions.accountName); } });
×
×
  • Create New...