Jump to content
McKay Development

Recommended Posts

Posted (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 by Dr. McKay
Redacted password
Posted (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 by FunnyCheeze

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...