mouzes1 Posted March 7, 2016 Report Posted March 7, 2016 I am wondering what is the bast way to manage multiple bots. Currently I am creating multiple instances for example: var client1= new SteamUser();// Sign into Steamclient1.logOn({ accountName: config.client1.username, password: config.client1.password, twoFactorCode: SteamTotp.generateAuthCode(config.client1.secret)}); var client2= new SteamUser();// Sign into Steamclient2.logOn({ accountName: config.client2.username, password: config.client2.password, twoFactorCode: SteamTotp.generateAuthCode(config.client1.secret)}); Is this the best way to do that? Also do i need apy key for each bot? To retrieve the api key from steam i have to make purchase for 5$, but if I have 100 bots, have to pay 500$. Steam -> "You will be granted access to Steam Web API keys when you have games in your Steam account." If i try to login and add cookies i have this error: 'error: Unable to set trade offer cookies: Error: Access Denied' Quote
Dr. McKay Posted March 7, 2016 Report Posted March 7, 2016 Yes, that's the best (and only) way to do it. You need an API key if you want to use the WebAPI. Based on your error message I assume that you're using steam-tradeoffer-manager, which does need an API key and consequently won't work with limited accounts. So yes, you'll need to spend $5 per bot. Quote
mouzes1 Posted March 8, 2016 Author Report Posted March 8, 2016 (edited) Thanks. Yes I am using steam-tradeoffer-manager, but what are my options if i don't want to pay that price, can i use some other module? My goal is to send and receive trades i don't want to use market. Edited March 8, 2016 by mouzes1 Quote
Dr. McKay Posted March 8, 2016 Report Posted March 8, 2016 You have no options with steam-tradeoffer-manager. There might be some modules that scrape the HTML instead, but you're in for a really bad time if you try that. I don't know what it's called or if it's maintained. Quote
timgfx Posted April 28, 2016 Report Posted April 28, 2016 I also did it that way. I have made a file called bots.js exporting an array of objects. bot1 and bot2. If bot1 is true bot1 runs, same for bot2 Quote
jazz Posted November 10, 2016 Report Posted November 10, 2016 Both use the same secret. What explains this behavior? Quote
p9rny Posted November 10, 2016 Report Posted November 10, 2016 twoFactorCode: SteamTotp.generateAuthCode(config.client1.secret) -> twoFactorCode: SteamTotp.generateAuthCode(config.client2.secret) jazz 1 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.