-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIdler.js
32 lines (24 loc) · 1015 Bytes
/
Idler.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
var steamClientFactory = require('./steamClient.js');
var configsArray = [];
var config;
var botArray = [];
config = {};
config.username = 'nick1';
config.password = 'pass1';
config.sharedSecret = ''; //Shared Secret(for 2FA only) https://github.com/Jessecar96/SteamDesktopAuthenticator/releases
config.games = [730,440,570]
configsArray.push(config);
config = {};
config.username = 'nick2';
config.password = 'pass2';
config.sharedSecret = ''; //Shared Secret(for 2FA only) https://github.com/Jessecar96/SteamDesktopAuthenticator/releases
config.games = [730,440,570]
configsArray.push(config);
console.log('Number of configurations set up: ' + configsArray.length);
for (index = 0; index < configsArray.length; index++) {
var config = configsArray[index];
var bot = steamClientFactory.buildBot(config);
bot.doLogin();
botArray.push(bot);
}
console.log('Running ' + botArray.length + ' bots.');