100% found this document useful (1 vote)
381 views2 pages

Новый текстовый документ

This document defines variables and functions for an automated betting script. It sets initial variables like the maximum number of strikes, stop loss percentage, minimum and maximum bets. It then calculates the base bet and initial bet based on the user's balance and stop loss rules. The roll() function is called every second to check the bet status and automatically place new bets, increasing or decreasing the bet size based on wins and losses to try and maximize profits within the stop loss limits.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
381 views2 pages

Новый текстовый документ

This document defines variables and functions for an automated betting script. It sets initial variables like the maximum number of strikes, stop loss percentage, minimum and maximum bets. It then calculates the base bet and initial bet based on the user's balance and stop loss rules. The roll() function is called every second to check the bet status and automatically place new bets, increasing or decreasing the bet size based on wins and losses to try and maximize profits within the stop loss limits.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

var maxstrike =75;

var stoploss = 80;// %


var min = 85;
var max = 95;
//--------------------------
var minbet = 0.00000024;
var balance = parseFloat(document.getElementsByClassName("Numbers HighlightedText
UserBalance")[0].innerText);
var basebet;
var profit = parseFloat($('#LastBetInfoProfit').html());
var bet;
var betid;
var chance = 93;
var startbalance = balance;
var sbalance = balance;
var tick = 0;
var betting = true;
var maxbet = startbalance*stoploss/100;
var b;
var i = 0;

b = balance*stoploss/100;
while(i<maxstrike){
b/=4;
i++;
}
basebet = b;
if(basebet < minbet) basebet = minbet;
bet = basebet;

document.getElementById('BetSizeInput').value = (bet).toFixed(8);
document.getElementById('BetChanceInput').value = chance;
$('#BetLowButton').click();
balance = parseFloat(document.getElementsByClassName("Numbers HighlightedText
UserBalance")[0].innerText);
profit = parseFloat($('#LastBetInfoProfit').html());

startbalance = balance;
console.log('Game started at balance ',(balance).toFixed(8));

setInterval("roll()", 1000);

function roll(){
tick+=1;
if (betting && tick >=15 || betid != parseFloat($('#LastBetInfoSecret').html())){
betid = parseFloat($('#LastBetInfoSecret').html());
profit = parseFloat($('#LastBetInfoProfit').html());
balance = parseFloat(document.getElementsByClassName("Numbers HighlightedText
UserBalance")[0].innerText);

if(profit < 0){


if(balance-bet*4 > startbalance*stoploss/100)bet*=4;
else if(balance-bet*2 > startbalance*stoploss/100)bet*=2;
}else{
if(balance > startbalance){
i = 0;
b = balance*stoploss/100;
while(i<maxstrike){
b/=4;
i++;
}
basebet = b;
if(basebet < minbet) basebet = minbet;
bet = basebet;
console.log('Current balance ',(balance).toFixed(8),' profit ',(balance-
startbalance).toFixed(8),
' Session profit ',(balance-sbalance).toFixed(8),' ',
(100*(balance-sbalance)/sbalance).toFixed(2),'%');
startbalance = balance;
maxbet = startbalance*stoploss/100;
}
}

chance = (Math.random() * (max - min) + min).toFixed(2);

if(betting && bet <= maxbet){


document.getElementById('BetSizeInput').value = (bet).toFixed(8);
document.getElementById('BetChanceInput').value = chance;
if(Math.random() < 0.5){
$('#BetLowButton').click();
}else{
$('#BetHighButton').click();
}
tick = 0;
}else{
betting = false;
console.log('Game stopped at balance ',(balance).toFixed(8),' Loss ',
(startbalance - balance).toFixed(8));
}
}
}

You might also like