Jump to content
McKay Development

Recommended Posts

Posted

Hello, it is planned to have a large number of bots in the future. Can I have problems with Steam related to ip?

I already connected the proxy to node-steamcommunity, Is it possible to connect the Proxy to node-tradeoffer-manager? Or is there no particular need for this?

Posted

Yes, you won't really be able to run more than 10-15 bots on a single IP. You'll need to use proxies or multiple IPs on your machines. You can have steam-tradeoffer-manager use a proxy by setting a request instance with a proxy set using request.defaults to the TradeOfferManager constructor.

Posted (edited)
8 hours ago, Dr. McKay said:

Yes, you won't really be able to run more than 10-15 bots on a single IP. You'll need to use proxies or multiple IPs on your machines. You can have steam-tradeoffer-manager use a proxy by setting a request instance with a proxy set using request.defaults to the TradeOfferManager constructor.


Sorry, does this definitely work for the TradeOfferManager constructor? I specifically tried to set a non-existent proxy. Strange, But the requests did not break, and they work as if nothing had happened, what could be the reason?

Interestingly, this method of attaching a proxy works great in SteamCommunity constructor
 

const Request = require('request')

const mng = new TradeOfferManager({
		'request': Request.defaults({'proxy': 'http://1.2.3.4'}),
		'domain': 'example.com',
		'language': 'en',
		'pollInterval': 5000
	})

 

Edited by Sync
  • 1 month later...
Posted (edited)
On 7/25/2020 at 5:16 PM, Dr. McKay said:

我的错; 您可以将请求传递给SteamCommunity构造函数,然后将该 SteamCommunity实例作为社区属性传递给TradeOfferManager构造函数

hi,doc,can you help me see if this is the right way to use  proxy ?

it not pass that SteamCommunity instance to the TradeOfferManager constructor as the community property,but it still work

Untitled.png

 

and i'm come from china,i can't use node-steam-tradeoffer-manager in my computer,now i only can use it on vps,if i want use in my computer ,how i can set proxy?

Edited by Dr. McKay
Redacted API key
Posted (edited)
3 hours ago, Dr. McKay said:

That looks correct, just uncomment your "community": community line.

Ty,Doc,but this still can't work on my computer,even i change ip by vpn,i still can‘t use node-steam-tradeoffer-manager,,always ETIMEOUT, do you know why?Do I need to set the proxy at node-steam-user?If it's not convenient for you to say that, that's fine, I just want to know if there is a way to solve it

Edited by dixianren
Posted
6 hours ago, Dr. McKay said:

您知道该错误的确切来源吗?

no,when i use it on my HK vps,It works. but when i use on my computer its etimeout  even i change my ip success.I've been wondering what went wrong, before I thought I needed to set up a proxy, so I did it, but it still not work

  • 3 years later...
Posted

Hi Doctor, thanks for your   instructions. Just a quick question. Is it possible to run steam tradeoffer manager using different proxies? Suppose that I have 100 proxies and I want to run a single account (as bot) using these IP addresses. Is it possible to do so?
In fact, I'm looking for a way to prevent bot from banning

  • 5 months later...
Posted
On 4/26/2024 at 12:50 AM, behzadpp said:

Hi Doctor, thanks for your   instructions. Just a quick question. Is it possible to run steam tradeoffer manager using different proxies? Suppose that I have 100 proxies and I want to run a single account (as bot) using these IP addresses. Is it possible to do so?
In fact, I'm looking for a way to prevent bot from banning

Hi Doc! is there a way to use rotating proxies? getUserInventoryContent will give 429 error (rate limit) after maybe 20-30 times. 

 

can i rotate the proxy every 5-15 minute to avoid this rate limit?

 

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