Jump to content
McKay Development

How to use multiple proxy in SteamBot constructor


Trajko

Recommended Posts

How can I use more than one proxy? I have more than 15 acc
class SteamBot {
    constructor(logOnOptions) {
        this.client = new SteamUser({
            autoRelogin: true,       
            httpProxy: "http://user:[email protected]:8081"
        });
 
Edited by Trajko
Link to comment
Share on other sites

  • Trajko changed the title to How to use multiple proxy in SteamBot constructor
  • 2 weeks later...
On 2/9/2021 at 6:23 PM, Trajko said:
How can I use more than one proxy? I have more than 15 acc
class SteamBot {
    constructor(logOnOptions) {
        this.client = new SteamUser({
            autoRelogin: true,       
            httpProxy: "http://user:[email protected]:8081"
        });
 

What I do is put a proxy list in a predetermined folder, my code then reads and splits the string (read from file) into an array of proxies. Then it assigns each proxy to a maximum of 10 steam clients.

Edited by What Comes Around
Link to comment
Share on other sites

On 2/19/2021 at 12:34 PM, What Comes Around said:

What I do is put a proxy list in a predetermined folder, my code then reads and splits the string (read from file) into an array of proxies. Then it assigns each proxy to a maximum of 10 steam clients.

How it will know to use different one from array after 10 uses? Also, will everything log off if one account in constructor have some problem?

Link to comment
Share on other sites

  • 3 weeks later...
On 2/26/2021 at 12:27 PM, Trajko said:

How it will know to use different one from array after 10 uses? Also, will everything log off if one account in constructor have some problem?

Sorry for the late reply. I normally read a file, reads and splits the string (read from file) into an array of proxy objects, one of the properties is the number of clients. If the number of clients is more than lets say 10, take a different proxy and increase the client number for that proxy. Something like that.

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