// ==UserScript== // @name Plus one Minus one algorithm with odd 1.44 win chance 66% // @description Play with higher chance // @include https://freebitco.in/* // @copyright 2019, William.freelancer30@gmail.com // @version 1.02 // @namespace william // @downloadURL none // ==/UserScript== bconfig = { wait: 3000, initialBet: 0.00000007 }; var x = bconfig.initialBet; var i; var choice; var body = $('body'); var maxWait = 3000; var minWait = 2000; var c = 1; var roll; var hi = "hi"; var lo = "lo"; var sum = 0.00000000; var add = 0.00000007; var odd = 1.44; //var choiceSelect = prompt("Please choose hi or lo", "hi"); //choice = choiceSelect; var choiceroll = prompt("Please enter number of rolls", "10"); roll = parseInt(choiceroll, 10); function getRandomWait() { var wait; do { wait = Math.floor(Math.random() * maxWait) + 100; } while (wait < minWait); console.log(wait); return wait; } var init_balance = $('#balance').html(); document.getElementById("double_your_btc_payout_multiplier").value = "1.44"; rollDice = function(choice) { var balance = $('#balance').html(); if (x < 0.00000001) { x = 0.00000007 document.getElementById("double_your_btc_stake").value = x.toFixed(8).toString(); } var lenLose = $('#double_your_btc_bet_lose').html().length; //console.log(lenLose); var lenWin = $('#double_your_btc_bet_win').html().length; //console.log(lenWin); if (lenLose > 36 && lenWin == 0) { x = x + add; //console.log(x); document.getElementById("double_your_btc_stake").value = x.toFixed(8).toString(); //parseFloat($('#double_your_btc_stake').val(parseFloat(x))); $('#double_your_btc_bet_' + choice + '_button').click(); }else if (lenWin > 36 && lenLose == 0){ if (x >= 0.00000013) { sum = sum + x ; //console.log (sum.toFixed(8).toString()); x = x - add; // console.log(x); document.getElementById("double_your_btc_stake").value = x.toFixed(8).toString(); //parseFloat($('#double_your_btc_stake').val(parseFloat(x))); } //console.log(x); $('#double_your_btc_bet_' + choice + '_button').click(); //console.log (sum.toFixed(8).toString()); } c++; console.log("Roll number :"+c); sum = parseFloat(balance) - parseFloat(init_balance) ; console.log ("Profit = " + sum.toFixed(8).toString()); }; /*if (choice == null || choice == "") { choice = "hi"; } else { }*/ body.prepend( $('
').attr('style',"position:fixed;top:50px;left:0;z-index:999;width:400px;background-color:#227d5c;color: white; text-align: center;") .append( $('').attr('id','autofaucet') .append($(' text-align: center').text("Donate:")) .append($(' text-align: center').text("3A6gwzt32xbxkCH2LFDm97wXs1pHKFbb2y")) .append($(' text-align: center').text("Click to copy")) .append($('') ) ).click(function(){ var $temp = $('').val("3A6gwzt32xbxkCH2LFDm97wXs1pHKFbb2y"); body.append($temp); $temp.select(); document.execCommand("copy"); $temp.remove(); }) ).prepend($('') .text("#autofaucet p { margin: 0; margin-left: 0px; text-align: center; }") ) document.getElementById("double_your_btc_stake").value = x.toFixed(8).toString(); $('#double_your_btc_bet_' + hi + '_button').click(); for (i = 1; i < roll; i++) { if (i % 2 == 0){ setTimeout(function(){ rollDice("hi"); }, i*getRandomWait()); } else{ setTimeout(function(){ rollDice("lo"); }, i*getRandomWait()); } }