Advertisement
jaRi69

Steam auto accept

May 10th, 2019
2,544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.53 KB | None | 0 0
  1. Simple Friend Accept + Message...
  2.  
  3.  
  4.  
  5. The library that I use is steam-user:
  6.  
  7. https://github.com/DoctorMcKay/node-steam-user
  8.  
  9. To set this up on your computer, you will need to install Node JS and then install the steam-user library.
  10.  
  11. To do this, google "node js" and download from the official website.
  12.  
  13. Once it is installed, open your terminal (Command Prompt, or Windows Powershell) and type
  14.  
  15. npm install steam-user
  16. This will install the steam-user library to your computer.
  17.  
  18. Now, right click on your desktop and create a new text document.
  19.  
  20. Right click on the file and click Edit.
  21.  
  22. Copy the code from this link:
  23.  
  24. https://pastebin.com/JRJkaNRw
  25.  
  26. and paste it into your text file then click Save As.
  27.  
  28. Use the "Save as Type" dropdown menu (right below the filename text box) to select "All Files". (This allows you to save the file with a different extension than .txt)
  29.  
  30. Name the file
  31.  
  32. steambot.js
  33. and click Save.
  34.  
  35. At the top of the file, there are 3 variables you need to modify.
  36.  
  37. var username = "your_username";
  38. var password = "your_password";
  39. var message = "your message to new friends";
  40. For example, if your steam username is roger and your password is rabbit and the message you want to send is hi :) then those lines in your code should be:
  41.  
  42. var username = "roger";
  43. var password = "rabbit";
  44. var message = "hi :)";
  45. After the file has your message and login details, save it again (just Save this time, not Save As). Then open your terminal again (Command Prompt or Windows Powershell) and navigate to your Desktop (or the location of the steambot.js file if you didn't put it on your desktop).
  46.  
  47. To change directories within the terminal, you use the cd command (change directory). To see the files/folders within your current directory, use the LS command. (So you'd type "cd Desktop" to go to the Desktop folder).
  48.  
  49. Once you are in the same folder as your steambot.js file, type this command to run it:
  50.  
  51. node ./steambot.js
  52. If this doesn't work, try
  53.  
  54. node ./steambot.js.txt
  55. When you renamed the file, it may not have overwritten the .txt extension.
  56.  
  57. If you have 2 factor authentication (like a mobile authenticator), it will then ask you for your code.
  58.  
  59. To keep the bot running, just leave the terminal window open. To close the bot, either close the window or press CTRL+C.
  60.  
  61. Here is an example of what my terminal input/output looks like from running my bot with Windows Powershell:
  62.  
  63. PS C:\Users\space> cd .\Desktop\
  64. PS C:\Users\space\Desktop> node .\steambot.js
  65. Steam Guard App Code: 12345
  66. Logged into Steam as [U:1:12345678]
  67. added and replied to user: 7656119812345678
  68. NOTES
  69.  
  70. This bot also gives each user that it accepts a nickname within steam "rl bot added" so that you can easily find them in your friends list. If you are logged into steam on your computer at the time, you will not receive a chat notification (or new chat window/tab created) until after they reply to your bot's message.
  71.  
  72. Line 10 in the code is:
  73.  
  74. var delay = 2000;
  75. This means that there is a 2 second (2000 millisecond) delay between receiving the friend request and accepting the friend request. Also a 2 second delay between accepting the friend request and sending the message. Feel free to modify this number (just remember it is in milliseconds).
  76.  
  77. Some people's Desktop is actually located in the directory
  78.  
  79. C:\Users\USER_NAME\OneDrive\Desktop>
  80. so if you've navigated to
  81.  
  82. C:\Users\USER_NAME\Desktop>
  83. and using the command LS doesn't show the steambot.js file, then you might have to look in the OneDrive location instead.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement