Sync Posted July 24, 2020 Report Posted July 24, 2020 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? Quote
Dr. McKay Posted July 25, 2020 Report Posted July 25, 2020 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. Sync 1 Quote
Sync Posted July 25, 2020 Author Report Posted July 25, 2020 (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 July 25, 2020 by Sync Quote
Dr. McKay Posted July 25, 2020 Report Posted July 25, 2020 My mistake; you pass the request into the SteamCommunity constructor, then pass that SteamCommunity instance to the TradeOfferManager constructor as the community property. Sync 1 Quote
dixianren Posted September 20, 2020 Report Posted September 20, 2020 (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 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 September 22, 2020 by Dr. McKay Redacted API key Quote
Dr. McKay Posted September 22, 2020 Report Posted September 22, 2020 That looks correct, just uncomment your "community": community line. Quote
dixianren Posted September 22, 2020 Report Posted September 22, 2020 (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 September 22, 2020 by dixianren Quote
Dr. McKay Posted September 22, 2020 Report Posted September 22, 2020 You likely do need to set the proxy on your steam-user instance as well. Quote
dixianren Posted September 22, 2020 Report Posted September 22, 2020 (edited) 10 hours ago, Dr. McKay said: You likely do need to set the proxy on your steam-user instance as well. This is right or not?i still can‘t use normal’ Edited September 22, 2020 by dixianren Quote
Dr. McKay Posted September 22, 2020 Report Posted September 22, 2020 Do you know where exactly that error is coming from? Quote
dixianren Posted September 23, 2020 Report Posted September 23, 2020 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 Quote
Dr. McKay Posted September 23, 2020 Report Posted September 23, 2020 I guess maybe the proxy connection is also being blocked. Using an http:// proxy is not encrypted and any upstream firewall can see what host you're trying to connect to. Quote
behzadpp Posted April 25 Report Posted April 25 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 Quote
rahimi0151 Posted October 21 Report Posted October 21 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? Quote
Dr. McKay Posted October 21 Report Posted October 21 You'd need to create a new instance for each proxy. 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.