Jump to content
McKay Development

Koncealed

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Koncealed

  1. Hello, I worked on projects where I could use async await to try to make my functions a bit cleaner instead of falling into callback hell. So I wrote this below. async _fetchInventory() { this.inventory = await this.tradeOfferBot.getInventoryContents(this.GAME_CODE, 2, true); console.log('Below is from the fetch inventory function.'); console.log(this.inventory); } I want to add the items into a variable inside of my class. Is this possible? Thanks!
  2. Hello, I am trying to run a program that runs currently 2 Steam Accounts. One main, and one BOT. I'm trying to make a SteamTradeFarm. Where it will BOT up the amount of trades done. So once I send the trade offer I want to control the other account and accept the trade and confirm the trade. The problem is this mainClient.on('webSession', function (sessionID, cookies) { manager.setCookies(cookies, function (err) { if (err) { console.log(err); process.exit(1); return; } console.log("Got API key: " + manager.apiKey); }); community.setCookies(cookies); community.startConfirmationChecker(30000, config.accounts.account1.identity_secret); // Checks and accepts confirmations every 30 seconds}); With this community does not specify an account. So is this okay should I just also run a botClient even for webSession and will it also be okay, because since if you are checking with community.checkConfirmations() will it check both or just 1?
×
×
  • Create New...