Trajko Posted February 9, 2021 Report Posted February 9, 2021 (edited) 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 February 9, 2021 by Trajko Quote
Dr. McKay Posted February 9, 2021 Report Posted February 9, 2021 You would probably add a new argument to your SteamBot constructor for the proxy URL to use. Quote
What Comes Around Posted February 19, 2021 Report Posted February 19, 2021 (edited) 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 February 19, 2021 by What Comes Around Quote
Trajko Posted February 26, 2021 Author Report Posted February 26, 2021 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? Quote
What Comes Around Posted March 14, 2021 Report Posted March 14, 2021 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. 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.