Modified Freedoge.co.in Multiply Script



console.clear();
var startbalance = 0;
var stopAt= '?';
var round = 0;
var gameLost=0;
var roll=0;
var higers= 0;
var count = 0;
var lowers= 0;
var profit=0;
var roll=0;
var gameSet=0;
var betLimit=19.45600000;
var gameWin=0;
var timeSet=777;
var payout;

var higherbet=0;
startbalance = $('#balance').text();
var startValue = '0.03800000', // Don't lower the decimal point more than 4x of current balance
        stopPercentage = 0.001, // In %. I wouldn't recommend going past 0.08
        maxWait = 500, // In milliseconds
        stopped = false,
        stopBefore = 1; // In minutes
var oldbet= 0.03800000;

var $loButton = $('#double_your_doge_bet_lo_button'),
                $hiButton = $('#double_your_doge_bet_hi_button');

function Roll(){

var first= $('#multiplier_first_digit').html();
var second= $('#multiplier_second_digit').html();
var third= $('#multiplier_third_digit').html();
var fourth= $('#multiplier_fourth_digit').html();
var fifth= $('#multiplier_fifth_digit').html();
if (roll>=06833 ){

higers=higers+1;

}

if (roll<=03167 ){

lowers=lowers+1;

}
roll = first+second+third+fourth+fifth;
if (parseInt(first)==0 &&  parseInt(second)==8 && parseInt(third)==8 && parseInt(fourth)==8 && parseInt(fifth)==8 ||roll==08888) {
count =count+1;
console.log('Jackpot count: '+count);
} else {

console.log('Jackpot count: '+count);
}
console.log('Roll: '+roll);
}

function clearjQueryCache(){
    for (var x in jQuery.cache){
        delete jQuery.cache[x];
    }
}
function higherBet(){
console.log('Highest bet: '+higherbet);
}

function changeBet(bet){
startValue=bet;
}

function realtime(time) {
    var sec_num =parseInt(time, 10) ; // don't forget the second param
    var hours   = Math.floor(sec_num / 3600);
    var minutes = Math.floor((sec_num - (hours * 3600)) / 60);
    var seconds = sec_num - (hours * 3600) - (minutes * 60);

    if (hours!=0) {hours   = hours+' Hours ';}      else{hours   = '';}

    if (minutes!=0) {minutes = minutes+' Minutes ';}
else{minutes   = '';}


    if (seconds < 10) {seconds = seconds;}
var timee =hours+minutes+seconds;
if (parseInt(minutes)>=30){

stopGame();
}
    var time    = 'Playing time = '+timee+' Secondes';


    return time;
}

function roundnumb(){
console.clear();
if( round == stopAt)
{
stopGame()
}
else
{
round = round + 1;
 console.log('Round #' + round + ' / ' + stopAt);
}

var newbalance= $('#balance').text()
profit = (Number(newbalance) - Number(startbalance)).toFixed(8) ;
if (profit>=2*(Number(startbalance).toFixed(8))){

stopGame();
}
console.log('Profit:' + profit + ' Bitcoin')
}
//Number of round. Type stopatRound(NUMBER_OF_ROUND) to change
function stopatRound(limitRound){
stopAt=limitRound;
}
function multiply(){

var bet= Math.floor(Math.random() * 2.3 ) + 2;
        var current = $('#double_your_doge_stake').val();
var multiply = (current * bet).toFixed(8);

        $('#double_your_doge_stake').val(multiply);

        console.log('Bet = ' + multiply);
        if (higherbet<multiply){higherbet=multiply;}
if (multiply>=betLimit){

if (!confirm('Do you want Continue with Bet: '+multiply)){


stopGame();

}

}
}
function getRandomWait(){
        var wait = Math.floor(Math.random() * maxWait ) + timeSet; //(Math.floor(Math.random() * 800) + 300)  ; // avant 100
        console.log('Waiting for ' + wait + 'ms before next bet.');
        return wait ;
}
function startGame(limit){

starttime=(new Date()).getTime();
startValue =0.03800000;
oldbet=startValue;

round = 0;
gameLost=0;
gameWin=0;
        console.log('Game started!');
        reset();
        $hiButton.trigger('click');
        if(limit !== null) {
        stopAt=limit;
        }
        else
        {
        stopAt=-1;
        }

}
function stopGame(){

        console.log('Game will stop soon! Let me finish.');
        stopped = true;


startValue=oldbet;

}

function reload(){

clearjQueryCache();
location.reload();

}


function reset(){
if( round % 100 === 0 && round !=0)
{
startValue=(startValue * 1.000).toFixed(8); //New bet after 100 round
console.log('Round ' + round + ': bet change for ' + startValue);
}
        $('#double_your_doge_stake').val(startValue);
}
// quick and dirty hack if you have very little bitcoins like 0.0000001
function deexponentize(number){
        return number * 1000000;
}
function iHaveEnoughMoni(){
        var balance = deexponentize(parseFloat($('#balance').text()));
        var current = deexponentize($('#double_your_doge_stake').val());
        return ((balance*2)/100) * (current*2) > stopPercentage/100;
}
function stopBeforeRedirect(){
        var minutes = parseInt($('title').text());
        if( minutes < stopBefore )
        {
                console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
                stopGame();
                return true;
        }
        return false;
}
// Unbind old shit
$('#double_your_doge_bet_lose').unbind();
$('#double_your_doge_bet_win').unbind();
// Loser
$('#double_your_doge_bet_lose').bind("DOMSubtreeModified",function(event){

        if( $(event.currentTarget).is(':contains("lose")') )
        {

gameLost = gameLost + 1;
gameSet = gameSet + 1;
roundnumb();
console.log('%cWin: ' + gameWin + ' Lost: ' + gameLost, 'color: #00CC00');
                endtime=(new Date()).getTime();
                var time=Math.floor((endtime-starttime )/1000);

Roll();
console.log('Highers: '+higers);

console.log('Lowers: '+lowers);
                higherBet();
console.log(realtime(time));
console.log('You LOST!');
                multiply();
                setTimeout(function(){

if (gameSet ==5){

$loButton.trigger('click');

gameSet=0;
}else{


$hiButton.trigger('click');

}


                }, getRandomWait());
               // $loButton.trigger('click');
        }

}

);
// Winner
$('#double_your_doge_bet_win').bind("DOMSubtreeModified",function(event){
        if( $(event.currentTarget).is(':contains("win")') )
        {




gameWin = gameWin + 1;
roundnumb();
console.log('%cWin: ' + gameWin + ' Lost: ' + gameLost,'color: #FF0000');
                endtime=(new Date()).getTime();
                var time=Math.floor((endtime-starttime )/1000);
console.log(realtime(time));


Roll();
console.log('Highers: '+higers);

console.log('Lowers: '+lowers);

                higherBet();
       if( stopBeforeRedirect() )
                {
                        return;
                }
                if( iHaveEnoughMoni() )
                {

                        console.log('You WON!');
                        reset();
                        if( stopped )
                        {
                                stopped = false;
                                return false;
                        }
                }
                else
                {
                        console.log('You WON! ');
                }
                setTimeout(function(){


$hiButton.trigger('click');



                }, getRandomWait());
//$hiButton.trigger('click');
        }

}
);

}
startGame();
Modified Freedoge.co.in Multiply Script Modified Freedoge.co.in Multiply Script Reviewed by Mazhar Ali on 7:17 AM Rating: 5
Powered by Blogger.