Jump to content
McKay Development


  • Posts

  • Joined

  • Last visited

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location

SENPAY98K's Achievements

  1. I already found how to do it with context-id-amount. Thanks tho :)
  2. How do we add 1 gem to trade offer? If we request steam inventory we get the whole inventory, so is there a way to add only 1 gem ?
  3. Finally i made it through community url post
  4. Hello, Is it possible to upvote a game review using node-steam-user ? If so, where could i find a library about it to make an auto interact for that action.
  5. Hi, iam trying to make auto follower work, but stuck with a weird problem, always getting failed with response 2 After i run the script it logs-in to accounts successfully and send a request to follow the user's workshop.. but here's the result i get. Here's the code i use: const SteamTotp = require('steam-totp'); const SteamCommunity = require('steamcommunity'); const Colors = require('colors'); const path = require('path'); var async = require('async'); var fs = require('fs'); let config = null; var community = new SteamCommunity(); var text = fs.readFileSync('./bots.txt').toString('utf-8'); var bot = text.split('\n') config = require(path.resolve('config.json')); let configRaw = fs.readFileSync('./config.json').toString(); const target = config.target; const steamid = config.steamid; const perChunk = config.perChunk; const betweenChunks = config.betweenChunks; console.log('%s is SteamID'.gray, steamid); var success = 0; var failed = 0; (async() => { // Getting chunks: let subbot = []; if (config.amount != 0) bot.length = config.amount; for (let i = 0; i <Math.ceil(bot.length/perChunk); i++){ subbot[i] = bot.slice((i*perChunk), (i*perChunk) + perChunk); } console.log('Total %s accounts and %s chunks'.cyan, bot.length, subbot.length); for (let ii = 0; ii < subbot.length; ii++) { var successChunk = 0; var failedChunk = 0; async.each(subbot[ii], function(item, callback){ // Using account with steam guard for favorites: const logOnOptions = { accountName: item.split(":")[0], password: item.split(":")[1], twoFactorCode: SteamTotp.generateAuthCode(item.split(":")[2]), }; community.login({ "accountName": logOnOptions.accountName, "password": logOnOptions.password, "twoFactorCode": logOnOptions.twoFactorCode }, function (err, sessionID, cookies, steamguard, oAuthToken) { if (err) { console.log('[%s] Unable to auth (Error: %s)'.red, logOnOptions.accountName, err); callback(); failedChunk++; failed++; } if (!err) { console.log('[%s] Successfully logged on (Session ID: %s)'.yellow, logOnOptions.accountName, sessionID); var options = { formData: { steamid: steamid, sessionid: sessionID }, headers: { Cookie: cookies, Host: 'steamcommunity.com', Origin: 'https://steamcommunity.com' }, json: true }; community.httpRequestPost( config.target + '/followuser', options, function (err, res, data) { if (err) { console.log('[%s] Follow request faiked'.green, logOnOptions.accountName, err); failedChunk++; failed++; callback() } if (!err) { if (data.success == 1) { console.log('[%s] Follow request successfuly sent with response: %s'.green, logOnOptions.accountName, data.success); successChunk++; success++; } if (data.success != 1) { console.log('[%s] Follow request failed with response: %s'.red, logOnOptions.accountName, data.success); failed++; failedChunk++; } callback() } }, "steamcommunity" ); } }); }, function(err) { console.log('Chunk %s finished: Successfully sent %s follows and %s failed requests'.white, ii + 1, successChunk, failedChunk); }); if (ii < subbot.length) await new Promise(r => setTimeout(r, betweenChunks)); }; console.log('Successfully sent %s follows and %s failed requests'.black.bgWhite, success, failed); })();
  6. I know that, i just asked if there is a way to add both CSGO + Steam inventory at same trade
  7. Hello, Iam using your code to send csgo items, and i want to include steam items such as Cards/Bossters, Gems... How do i modify the get inventory line ? // Get our inventory manager.getInventoryContents(730, 2, true, function(err, inventory)
  • Create New...