Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. Tut:
  2.  
  3. FIRST, GO TO https://store.steampowered.com/phone/add AND ADD A VALID PHONE NUMBER CAPABLE OF RECEIVING TEXT MESSAGES!
  4.  
  5. To enable 2FA, you must first run this script on an account with 2FA **CURENTLY DISSABLED**: https://gist.githubusercontent.com/andrewda/3cb8182ad8ea656595e8/raw/7d75d44d03b3df0644701eb8ff7651d3f961e06f/enable2FA.js
  6. Follow the steps that appear on screen. This will create a file called `<your username>.2fa` that contains all of the neccesary info to generate codes and confirm trades.
  7.  
  8. Make sure the `<username>.2fa` file is in the same folder as your bot's script. When you run your bot now, it should work!
  9.  
  10. Auth:
  11.  
  12. ### Step 1: Completely remove Steam Guard mobile if it's currently enabled
  13.  
  14. This can be disabled by visiting https://store.steampowered.com/twofactor/manage while logged into your bot's account.
  15.  
  16. ### Step 2: Add phone number to bot's account if it's not already added
  17.  
  18. This can be done by going to https://store.steampowered.com/phone/add while logged into the bot's account. Add a valid phone number to the bot's account and confirm it with the SMS that is sent to your phone. You will be asked to confirm it again in a later step.
  19.  
  20. ### Step 3: Install the dependencies
  21.  
  22. ```
  23. npm install steam-totp
  24. npm install steamcommunity
  25. ```
  26.  
  27. ### Step 4: Run the auth.js script
  28.  
  29. Make sure auth.js is in the same folder has your bot. Now run the script. After completing all the steps on-screen, a file called `<username>.2fa` will be created. This file is now like your sentry file and must be present in the same folder as your main bot file.\
  30.  
  31. Bot Help:
  32.  
  33. USE THIS TUTORIAL TO ENABLE STEAM GUARD MOBILE: https://gist.github.com/andrewda/7cc5d1f0ea55d9e7aafe
  34.  
  35. Step 1: Set your username and password
  36.  
  37. var logOnOptions = {
  38. accountName: 'username',
  39. password: 'password'
  40. };
  41.  
  42. Step 2: Configure variables
  43.  
  44. var GameTime = 120; // how long you want a game to be
  45. var maxItems = 10; // how many items one can deposit
  46. var minBet = 0.04; // the minimum bet in dollars
  47. var maxBet = 10000; // the maximum bet in dollars
  48.  
  49. Step 3: Add your database
  50.  
  51. mysqlInfo = {
  52. host: 'MySQL host',
  53. user: 'MySQL username',
  54. password: 'MySQL password',
  55. database: 'MySQL database',
  56. charset: 'utf8_general_ci'
  57. };
  58.  
  59. That's all! Your bot should work immediatly assuming your MySQL database is set up appropriatly.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement