Jump to content
McKay Development

dgtvc

Member
  • Posts

    3
  • Joined

  • Last visited

dgtvc's Achievements

  1. var Steam = require('steam-client'); var SteamUser = require('steam-user'); var steamClient = new Steam.CMClient(); steamClient.bind("xxx.xxx.xxx.xxx"); steamClient.connect(); steamClient.on('connected', function() { logger.log("conected to steam!"); logToSteam(); }); var steam = new SteamUser(steamClient); var manager = new TradeOfferManager({ "steam": steam, "domain": "localhost", "language": "en", "pollInterval": 8000 }) var details = { "accountName" : acc_nick, "password" : acc_pass }; function logToSteam() { details = { "accountName" : acc_nick, "password" : acc_pass, "twoFactorCode" : SteamTotp.generateAuthCode(acc_secret) }; sha_sentry = require('fs').readFileSync('sentry_'+acc_nick+'.hash'); steam.setSentry(sha_sentry); steam.logOn(details); } Using it like that will work?
  2. But how big markets work? And is there any option to select in nodeJS from what ip i want to request pages from modules?
  3. Hi, I have problem because sometimes bot can't get new "webSession" for even 5h. When i am restarting bot he can login but he can't get cookie. Is that problem with steam servers? I saw that steam return's "You don't have permission to access "http://steamcommunity.com/XXXXXXXXXXXXXXX/" on this server. Reference #XX.XXXXXXXXXXXXX". I must set bot for another server by changing ip of steam service? Or is there any way to fix it?
×
×
  • Create New...