Guest akagna Posted April 16, 2016 Report Posted April 16, 2016 I'm living this, but when i login to my bot not giving any error. 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. Quote
Dr. McKay Posted April 17, 2016 Report Posted April 17, 2016 Always post the code. Nobody can help you with just that output. Quote
Guest akagna Posted April 17, 2016 Report Posted April 17, 2016 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? Quote
Dr. McKay Posted April 18, 2016 Report Posted April 18, 2016 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. Quote
Recommended Posts
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.