Advertisement
Guest User

Untitled

a guest
Apr 24th, 2016
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. var Steam = require('steam');
  2. var SteamUser = require('steam-user');
  3. var TradeOfferManager = require('steam-tradeoffer-manager');
  4. var SteamTotp = require('steam-totp');
  5. var TOTP = require('onceler').TOTP;
  6. var request = require('request');
  7. var SteamCommunity = require('steamcommunity');
  8. var community = new SteamCommunity();
  9.  
  10. // GENERAL INFORMATION
  11. var sitepath;
  12. sitepath = "x"; // The path to the index.php of your website without HTTP://
  13. var sitename;
  14. sitename = "x"; // The name of your site, it will be shown in the Trade Offer Message
  15. var costpath;
  16. costpath = 'http://' + sitepath + '/cost.php?item='; // The full location where you grab the item price from | DEFAULT: http://'+sitepath+'/cost.php?item=
  17.  
  18. var apik = "x"; // Must be the API Key associated with the current bot. Get it here: https://steamcommunity.com/dev/apikey
  19. var admin = 'x'; // The Admin, Main Owner of the site. You will be able to communicate with the bot, ask for the rake items, etc
  20. var botsteamid = 'x'; // The bot's steam id, it is required to generate the Device ID and to confirm mobile confirmations
  21. var identitysecret = 'x'; // It's required to confirm mobile confirmations
  22. var sharedsecret = 'x'; // You won't be able to log in without this code
  23. var polling_interval = 10000; // 10 seconds by default, the bot checks for outgoing confirmations every X seconds, defined here
  24. var rsecret = 'x'; // Also change this to the same code in endround.php and p2endround.php, this prevents people from randomly breaking your site by ending blank games or ending games sooner
  25. var snipetimer = 5; // Declines offers sent in the last few seconds
  26.  
  27. var GameTime = 120; // This is how long a round lasts, you need to edit in a couple of other places too if you want to truly change it without any bugs
  28.  
  29. var p2 = false; // If this is the bot for your Jackpot 2 set this to true
  30.  
  31. var playersRequired = 2; // The timer will start when this many players are in the pot
  32. // GENERAL INFORMATION
  33.  
  34. // LOGIN DETAILS
  35. var details = {
  36. "accountName": "x",
  37. "password": "x",
  38. "twoFactorCode": SteamTotp.generateAuthCode(sharedsecret)
  39. };
  40. // LOGIN DETAILS
  41.  
  42.  
  43. // MYSQL INFO
  44. var mysql = require('mysql');
  45. var sql_host = "x";
  46. var sql_user = "x";
  47. var sql_password = "x";
  48. var sql_database = "x";
  49. // MYSQL INFO
  50.  
  51.  
  52.  
  53. Rest cripting... and next mesagge
  54. /*
  55.  
  56. Uh-oh.. What is this?
  57.  
  58. Looks like other parts of this bot are not available to you.
  59. Don't worry, the bot still works as it worked before, this is only a security measure.
  60. If you want to edit the core parts of the bot please consider purchasing the O-S (Open Source) package from our website.
  61.  
  62. https://csgo.network/
  63.  
  64. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement