Advertisement
Guest User

Untitled

a guest
Apr 18th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. var steamClientFactory = require('./steamClient.js');
  2. var configsArray = [];
  3. var config;
  4. var botArray = [];
  5.  
  6. config = {};
  7. config.username = 'nick1';
  8. config.password = 'pass1';
  9. config.sharedSecret = ''; //Shared Secret(for 2FA only) https://github.com/Jessecar96/SteamDesktopAuthenticator/releases
  10. config.games = [730,440,570]
  11. configsArray.push(config);
  12.  
  13. config = {};
  14. config.username = 'nick2';
  15. config.password = 'pass2';
  16. config.sharedSecret = ''; //Shared Secret(for 2FA only) https://github.com/Jessecar96/SteamDesktopAuthenticator/releases
  17. config.games = [730,440,570]
  18. configsArray.push(config);
  19.  
  20.  
  21.  
  22. console.log('Number of configurations set up: ' + configsArray.length);
  23.  
  24. for (index = 0; index < configsArray.length; index++) {
  25. var config = configsArray[index];
  26.  
  27. var bot = steamClientFactory.buildBot(config);
  28. bot.doLogin();
  29. botArray.push(bot);
  30. }
  31.  
  32. console.log('Running ' + botArray.length + ' bots.');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement