Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Steam = require('steam');
- var SteamUser = require('steam-user');
- var TradeOfferManager = require('steam-tradeoffer-manager');
- var SteamTotp = require('steam-totp');
- var TOTP = require('onceler').TOTP;
- var request = require('request');
- var SteamCommunity = require('steamcommunity');
- var community = new SteamCommunity();
- // GENERAL INFORMATION
- var sitepath;
- sitepath = "x"; // The path to the index.php of your website without HTTP://
- var sitename;
- sitename = "x"; // The name of your site, it will be shown in the Trade Offer Message
- var costpath;
- costpath = 'http://' + sitepath + '/cost.php?item='; // The full location where you grab the item price from | DEFAULT: http://'+sitepath+'/cost.php?item=
- var apik = "x"; // Must be the API Key associated with the current bot. Get it here: https://steamcommunity.com/dev/apikey
- 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
- var botsteamid = 'x'; // The bot's steam id, it is required to generate the Device ID and to confirm mobile confirmations
- var identitysecret = 'x'; // It's required to confirm mobile confirmations
- var sharedsecret = 'x'; // You won't be able to log in without this code
- var polling_interval = 10000; // 10 seconds by default, the bot checks for outgoing confirmations every X seconds, defined here
- 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
- var snipetimer = 5; // Declines offers sent in the last few seconds
- 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
- var p2 = false; // If this is the bot for your Jackpot 2 set this to true
- var playersRequired = 2; // The timer will start when this many players are in the pot
- // GENERAL INFORMATION
- // LOGIN DETAILS
- var details = {
- "accountName": "x",
- "password": "x",
- "twoFactorCode": SteamTotp.generateAuthCode(sharedsecret)
- };
- // LOGIN DETAILS
- // MYSQL INFO
- var mysql = require('mysql');
- var sql_host = "x";
- var sql_user = "x";
- var sql_password = "x";
- var sql_database = "x";
- // MYSQL INFO
- Rest cripting... and next mesagge
- /*
- Uh-oh.. What is this?
- Looks like other parts of this bot are not available to you.
- Don't worry, the bot still works as it worked before, this is only a security measure.
- If you want to edit the core parts of the bot please consider purchasing the O-S (Open Source) package from our website.
- https://csgo.network/
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement