Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tut:
- FIRST, GO TO https://store.steampowered.com/phone/add AND ADD A VALID PHONE NUMBER CAPABLE OF RECEIVING TEXT MESSAGES!
- 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
- 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.
- 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!
- Auth:
- ### Step 1: Completely remove Steam Guard mobile if it's currently enabled
- This can be disabled by visiting https://store.steampowered.com/twofactor/manage while logged into your bot's account.
- ### Step 2: Add phone number to bot's account if it's not already added
- 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.
- ### Step 3: Install the dependencies
- ```
- npm install steam-totp
- npm install steamcommunity
- ```
- ### Step 4: Run the auth.js script
- 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.\
- Bot Help:
- USE THIS TUTORIAL TO ENABLE STEAM GUARD MOBILE: https://gist.github.com/andrewda/7cc5d1f0ea55d9e7aafe
- Step 1: Set your username and password
- var logOnOptions = {
- accountName: 'username',
- password: 'password'
- };
- Step 2: Configure variables
- var GameTime = 120; // how long you want a game to be
- var maxItems = 10; // how many items one can deposit
- var minBet = 0.04; // the minimum bet in dollars
- var maxBet = 10000; // the maximum bet in dollars
- Step 3: Add your database
- mysqlInfo = {
- host: 'MySQL host',
- user: 'MySQL username',
- password: 'MySQL password',
- database: 'MySQL database',
- charset: 'utf8_general_ci'
- };
- 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