Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var belance = parseFloat(document.getElementById('balance').innerHTML);
- document.getElementsByClassName('form-control in-bet').winning_chance_manual.value = 47.5;
- document.getElementsByClassName('form-control in-bet').payout_manual.value =2;
- var bob = 100000000000;
- var ebe = 0.00001;
- var b = ebe;
- var beta = ebe;
- var oldbal = parseFloat(document.getElementById('balance').innerHTML);
- var f = true;
- target = 50000;
- var oldt = parseFloat(document.getElementById('balance').innerHTML);
- var k = true;
- var free = false;
- var nob = 0;
- var box = 6;
- var bim = (b*7);
- var zim = (b*3);
- var beets = 0;
- var myseed;
- var him = 3;
- var old = parseFloat(document.getElementById('balance').innerHTML);
- var older = parseFloat(document.getElementById('balance').innerHTML);
- var olderest = document.getElementById('balance').innerHTML;
- var nextbet;
- var wild = document.getElementById('balance').innerHTML;
- var greats = 0;
- var balance = document.getElementById('balance').innerHTML;
- var min = document.getElementById('balance').innerHTML;
- parseFloat(document.getElementById("bet_amt").value = b);
- Dice_CalculateAmounts(1);
- Dice_CalculateAmounts(6);
- Math.fmod = function(a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
- function getR(min, max) {
- min = Math.ceil(min);
- max = Math.floor(max);
- return Math.floor(Math.random() * (max - min + 1)) + min;
- }
- function makeid(length) {
- var result = '';
- var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
- var charactersLength = characters.length;
- for ( var i = 0; i < length; i++ ) {
- result += characters.charAt(Math.floor(Math.random() *
- charactersLength));
- }
- return result;
- }
- function dobet(){
- console.clear();
- balance = document.getElementById('balance').innerHTML;
- var previousbet = document.getElementsByClassName('form-control in-bet').bet_amount.value;
- document.getElementsByClassName('form-control in-bet').winning_chance_manual.value = 47.5;
- document.getElementsByClassName('form-control in-bet').payout_manual.value =2;
- if (balance>older) {
- beets = beets-1;
- greats = greats+1;
- older = parseFloat(balance);
- }
- if (balance<older) {
- beets = beets+1;
- greats = greats-1;
- older = parseFloat(balance);
- }
- if (beets<0) {
- beets = 0;
- }
- if (greats<0) {
- greats = 0;
- }
- if (greats>=7) {
- nextbet = previousbet*2;
- b = nextbet;
- free = true
- greats = 0;
- }
- if (beets>=him) {
- nextbet = previousbet*2;
- b = nextbet;
- him = 3;
- k = false;
- beets = 0;
- }
- if ((greats>=3)&&(free==true)) {
- nextbet = ebe;
- b = ebe;
- him = 4;
- free = false;
- k = true;
- beets = 0;
- greats = 0;
- old = parseFloat(balance);
- }
- if ((balance>=old)&&(k==false)) {
- nextbet = ebe;
- b = ebe;
- him = 4;
- free = false;
- k = true;
- beets = 0;
- greats = 0;
- old = parseFloat(balance);
- }
- if (nextbet<ebe) {
- nextbet = ebe;
- b = ebe;
- }
- if (nextbet==null) {
- nextbet = previousbet;
- }
- if (balance>=target) {
- //stop();
- return;
- }
- if (balance>wild) {
- wild = parseFloat(balance);
- }
- if (balance<min) {
- min = parseFloat(balance);
- }
- var freak = ((balance-olderest).toFixed(8));
- console.log("balance made");
- console.log(freak);
- console.log("biggest balance");
- console.log(parseFloat(wild));
- console.log("lowest balance");
- console.log(parseFloat(min));
- var xol = getR(1,3);
- if (xol==1) {
- myseed = (makeid(8));
- }
- if (xol==2) {
- myseed = (makeid(12));
- }
- if (xol==3) {
- myseed = (makeid(17));
- }
- document.getElementsByClassName("form-control").client_seed.value= myseed;
- parseFloat(document.getElementById("bet_amt").value = (((nextbet*2)-nextbet).toFixed(8)));
- Dice_CalculateAmounts(1);
- Dice_CalculateAmounts(6);
- Roll_HiLo_Dice(2);
- }
- setInterval(() => dobet(), (getR(1200,2400)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement