MrPotato Posted August 9, 2018 Report Posted August 9, 2018 (edited) code: let client = new Steam.CMClient(); let user = new SteamUser(client); client.setHttpProxy("http://user:[email protected]:8000"); user.logOn({"accountName": username,"password": password, "authCode": code}); user.on('loggedOn', function(details) { console.log("Logged into Steam as " + user.steamID.getSteam3RenderedID()); console.log("change email to " + newEmail) user.changeEmail({ "password": password, "newEmail": newEmail }, function(err) { ... }); }); user.on('error', function(e) { res.end('error'); }); user.on('webSession', function(sessionID, cookies) { console.log("Got web session"); }); log: username: qusoraierylined password: -- guard: twoFactorCode code: WH2NF Logged into Steam as [U:1:319178106] change email to [email protected] Got web session { Error: RateLimitExceeded at Object.exports.eresultError (/root/bot/node_modules/steam-user/components/helpers.js:75:12) at /root/bot/node_modules/steam-user/components/account.js:129:21 at Object.cb (/root/bot/node_modules/steam-user/components/messages.js:174:4) at CMClient._netMsgReceived (/root/bot/node_modules/steam-client/lib/cm_client.js:321:26) at CMClient.handlers.(anonymous function) (/root/bot/node_modules/steam-client/lib/cm_client.js:603:8) at CMClient._netMsgReceived (/root/bot/node_modules/steam-client/lib/cm_client.js:305:24) at emitOne (events.js:116:13) at TCPConnection.emit (events.js:211:7) at TCPConnection._readPacket (/root/bot/node_modules/steam-client/lib/tcp_connection.js:183:7) at emitNone (events.js:106:13) eresult: 84 } user.publicIP returns my proxy's ip addres in loggedOn() event Edited August 10, 2018 by Dr. McKay Redacted password Quote
Dr. McKay Posted August 10, 2018 Report Posted August 10, 2018 The rate-limit is obviously not on your public IP. The change request is going through the proxy. Quote
MrPotato Posted August 11, 2018 Author Report Posted August 11, 2018 (edited) The rate-limit is obviously not on your public IP. The change request is going through the proxy.but why i got rate-limit on changeEmail? with logon it's ok Edited August 11, 2018 by FunnyCheeze 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.