Jump to content
McKay Development

Steam community proxies don't seem to work.


gud

Recommended Posts

Hello! I am trying to use proxies to log in using the node package, but I am getting some errors.

Errors:

The account name or password that you have entered is incorrect.

 

Here is my code atm:

                        const logOnOptions = {
                          accountName: account.split(":")[0],
                          password: account.split(":")[1]
                        };

						const proxySplit = proxies[currentProxyIndex].split(":");
                        const proxyIp = proxySplit[0];
                        const proxyPort = proxySplit[1];
                        const proxyUser = proxySplit[2];
                        const proxyPass = proxySplit[3];
                        const proxy = request.defaults({ 'proxy': `http://${proxyUser}:${proxyPass}@${proxyIp}:${proxyPort}` }) as any;

                        // @ts-ignore
                        const community = new SteamCommunity({ request: proxy });

                        community.login({
                            "accountName": logOnOptions.accountName,
                            "password": logOnOptions.password
                        }, (err, sessionID, cookies, steamguard, oAuthToken) => {
                            if (err) {
                                console.log(`[ERROR] ${logOnOptions.accountName} failed to login | ${err}`);
                            }
                        });

 

What am I doing wrong?

 

Edit: Ok, I figured out that I was using only 1 proxy ip for all of them. But I still got an error for "The account name or password that you have entered is incorrect."

 

It works fine if I simplify down everything and enter the details manually in the strings accountName and password.

Edited by gud
Updated errors and post
Link to comment
Share on other sites

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