Jump to content
McKay Development

anazyka

Member
  • Posts

    1
  • Joined

  • Last visited

anazyka's Achievements

  1. Hi all, I'm trying to setup node-steamcommunity to accept trade offers from my VPS. I just copied simple script from node-steam-tradeoffer-manager: steam.login(logOnOptions, function(err, sessionID, cookies, steamguard) { if (err) { console.log("Steam login fail: " + err.message); process.exit(1); } fs.writeFile('steamguard.txt', steamguard); console.log("Logged into Steam"); manager.setCookies(cookies, function(err) { if (err) { console.log(err); process.exit(1); // Fatal error since we couldn't get our API key return; } console.log("Got API key: " + manager.apiKey); }); steam.startConfirmationChecker(5000, config.sharedSecret); // Checks and accepts confirmations every 30 seconds }); It works on my local machine (windows 10) - bot is able to accept confirmations. I tried to run this on my VPS (debian) but I'm still getting error: I checked every issue on github, every post on forum but still don't know what is going on. On my VPS and local computer I have the same time. I tried to modify time on my vpsy with: " date -s "5 seconds ago"" and " date -s "5 seconds" but it doesn't work. VPS is located in France, my local computer is located in Poland. I also tried with dedicated server from online.de, problem still exists. I added: console.log(SteamTotp.time()); to my script and I see the same timestamp on both machines. Guys - could you help me?
×
×
  • Create New...