Jump to content
McKay Development

Recommended Posts

Guest akagna
Posted

I'm living this,

 

post-86-0-72458400-1460844348_thumb.png

 

but when i login to my bot not giving any error.

 

post-86-0-86634300-1460844369_thumb.png

What is the problem? My codes is just doing, login, getting cookies, getting api key, editing profile and changing status. Where is the bad thing?

 

If you want i can post the codes.

Guest akagna
Posted
var SteamCommunity    = require ("steamcommunity");
var SteamTotp         = require ("steam-totp");
var fs                = require ("fs");
var TradeOfferManager = require ("steam-tradeoffer-manager")

var offer = new TradeOfferManager({
  "domain": "steamcommunity.com/id/akagna",
  "language": "en",
  "pollInterval": 5000
});

var client = new SteamCommunity({
  "timeout": 50000
});


/* GIRIS */

var code = SteamTotp.generateAuthCode('macode');
var logOnOptions = {
  "accountName": "mabot",
  "password": "mapas",
  "twoFactorCode": code
};

var girisasamasi = 0;

girisyap();
function girisyap()
{
  girisasamasi = true;
  console.log("Logging into Steam...");
  client.login(logOnOptions, function(err, sessionID, cookies, steamguard) {
      girisasamasi = false;
      if (err) {
        console.log("We have an error: " + err);
        return girisyap()
      }
      offer.setCookies(cookies, function(err) {
        if (err) {
          console.log(err);
          process.exit(5);
        }
      });
      client.getWebApiKey({
        "domain": "steamcommunity.com/id/akagna"
      }, function(err, key) {
        if(err) {
          console.log("doesn't work bro " + err);
        }
        console.log(key);
      });
      console.log("We logged in with  " + logOnOptions.accountName);
      client.loggedIn(function(err, loggedIn) {
        if(err) {
          console.log("Problem");
        }
        console.log("Finally man " + loggedIn);
        var steamprofilesttngs = {
          "name": "CSGOHARAM #TRADEBOT",
          "realName": "bot"
        };
        client.editProfile(steamprofilesttngs, function(err) {
          if(err) {
            console.log(err);
            return girisyap();
          }
        });
        var prosettings = {
          "profile": 3,
          "comments": 3,
          "inventory": 3
        };

        client.profileSettings(prosettings, function(err) {
          if(err) {
            console.log(err);
          }
        client.ChatState = {
          "LoggedOn": 3
        };
        client.chatLogon({
          "interval": 500
        }, {
          "uiMode": "web"
        });
      });
    });
  });
};

And i have one more question, i enabled my 2FA login, i take the informations about my account but i didn't be succesful about login, can you help me little?

Posted

HTTP 403 is probably indicating that Steam is rate-limiting your IP. Slow down your requests a little and don't spam them all at once.

 

You get "Access Denied" when trying to get an API key if your account is limited.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...