Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#body').css('background', 'linear-gradient(45deg, rgb(0,0,0) 30%, rgb(0,0,0) 50%, rgb(0,0,0) 20%)');
- $('#main').css('min-width', '100%');
- $('#header').css('display', 'none');
- $('#news').css('display', 'none');
- $('#content').css('background', 'none');
- $('#gameContainer').html('<h2 style="margin: 0px; color: #2eab5b;"></h2> <br><span id="notification">...</span><br><br> <span style="float: left;"><input id="basebetAmount" value="0.00000001" style="background: none; text-align: center; color: #fff; border: 1px solid #fff;" placeholder="basebetAmount" autocomplete="off"> <input id="overBalance" value="0.00000000" style="background: none; text-align: center; color: #fff; border: 1px solid #fff;" placeholder="overBalance" autocomplete="off"> <input id="underBalance" value="0.00000000" style="background: none; text-align: center; color: #fff; border: 1px solid #fff;" placeholder="underBalance" autocomplete="off"></span> <span style="float: right;"><button id="min" onclick="min();" style="border: 1px solid #fff; padding: 2px;">Min</button> <button id="play" style="border: 1px solid #fff; padding: 2px;">Start</button> <button id="reset" onclick="reset();" style="border: 1px solid #fff; padding: 2px;">Reset</button> <button id="showChart" style="border: 1px solid #fff; padding: 2px;">Show Chart</button> <button id="showStatic" style="border: 1px solid #fff; padding: 2px;">Show Static</button></span><br><br> <div id="chart" style="height: 320px;"></div><br> <div id="static">...</div>');
- $('#gameContainer').css('width', '75%');
- $('#gameContainer').css('height', '100%');
- $('#gameContainer').css('color', '#fff');
- $('#gameContainer').css('font-size', '16px');
- $('#gameContainer').css('margin', 'auto');
- $('#gameContainer').css('padding', '0px');
- $('#notification').html('Bot has applied!');
- $('#static').css('text-align', 'center');
- $('#controlContainer').css('display', 'none');
- $('#listContainer').css('display', 'none');
- $('#frontText').css('display', 'none');
- $('#footer').css('display', 'none');
- $('#notification').html('Bot has applied');
- $('#static').html('...');
- $('.inputBox input')['css']('background', 'none');
- $('.inputBox input')['css']('border', '1px solid #2eab5b');
- $('.inputBox input')['css']('-webkit-box-shadow', 'none');
- document.getElementById('chart').hidden = true;
- document.getElementById('static').hidden = true;
- randomizeSeed();
- console.clear();
- var run = false;
- hideChart = true;
- hideStatic = true;
- const profits = [10.89, 5.44, 3.63, 2.72, 2.18, 1.82, 1.56, 1.36, 1.21];
- const maxNumbers = 9;
- const colds = Array.from({length: 11}, () => 0);
- const seriesAmount = 1;
- const incomeAmount = 0;
- sbalance = parseFloat(document.getElementById('balance').value);
- basebetAmount = 0;
- betAmount = 0;
- maxbetAmount = 0;
- prediction = 50;
- direction = 'under';
- balance = 0;
- overBalance = 0;
- underBalance = 0;
- bet = 0;
- win = 0;
- lose = 0;
- winStreak = 0;
- loseStreak = 0;
- maxWinStreak = 0;
- maxLoseStreak = 0;
- wagered = 0;
- profitWagered = 0;
- profit = 0;
- profitt = 0;
- largestProfit = 0;
- startTime = new Date();
- onTime = 0;
- playTime = 0;
- playDay = 0;
- playHour = 0;
- playMinute = 0;
- playSecond = 0;
- speed = 0;
- round = 0;
- roundd = 0;
- seed = 111;
- runseed = 0;
- changeseed = Math.floor(10);
- dsp = [];
- chart = '';
- color = '';
- increasebetEveryLosts = Math.floor(5);
- increasebetBy = 2;
- co = (1 / prediction) * 99;
- cco = co;
- lc1 = 0;
- lc2 = 0;
- sbr = parseFloat(document.getElementById('balance').value);
- pp = 0;
- negs = 0;
- ballArray=[];
- resultArr=[];
- ballsArr1=[0,10];
- loseAmount=0;
- resultNumber=0;
- b1=0;
- b2=0;
- maxBalance=0;
- maxBet=0;
- chance=0;
- rnd=0;
- rndd=0;
- minchance=10;
- maxchance=30;
- flag=0;
- option=0;
- loss=0;
- b1=0;
- b2=0;
- b3=0;
- strategy=1;
- over=0;
- under=0;
- xxx=0;
- loss=0;
- game='balls';
- n=2;
- profitBets=0;
- lose1=0;
- $.getScript('https://canvasjs.com/assets/script/canvasjs.min.js').done(function (script, textStatus) {
- dps = [{
- x: 0,
- y: 0
- }
- ];
- chart = new CanvasJS.Chart('chart', {
- theme: 'dark2',
- zoomEnabled: true,
- axisX: {
- title: 'Bet',
- includeZero: false,
- },
- axisY: {
- title: 'Profit',
- includeZero: false,
- },
- title: {
- //text: 'Space X',
- fontColor: '#2eab5b',
- fontSize: 2e1,
- padding: 2e1
- },
- data: [{
- type: 'stepLine',
- dataPoints: dps
- }
- ]
- });
- chart.render();
- });
- function updateChart(bet, profit, color) {
- dps.push({
- x: bet,
- y: profit,
- color: color
- });
- if (dps[dps.length - 2]) {
- dps[dps.length - 2].lineColor = color;
- }
- if (dps.length > 1e3) {
- dps.shift();
- }
- chart.render();
- }
- function min() {
- $('#basebetAmount').val((0.00000001).toFixed(8));
- }
- $('#play').on('click', function () {
- run == true ? play(this, "Start", false, false) : play(this, "Stop", true, true);
- basebetAmount = parseFloat($('#basebetAmount').val());
- overBalance = parseFloat($('#overBalance').val());
- underBalance = parseFloat($('#underBalance').val());
- ballsArray=[0,5,10];
- betAmount = basebetAmount;
- direction = 'under';
- prediction=50;
- $('#basebetAmount').val(basebetAmount.toFixed(8));
- $('#overBalance').val(overBalance.toFixed(8));
- $('#underBalance').val(underBalance.toFixed(8));
- doBet();
- });
- function play(e, d, v) {
- $(e).html(d);
- run = v;
- $('#basebetAmount').prop('disabled', v);
- $('#overBalance').prop('disabled', v);
- $('#underBalance').prop('disabled', v);
- $('#min').prop('disabled', v);
- $('#reset').prop('disabled', v);
- }
- $('#showChart').on('click', function () {
- hideChart == true ? showChart(this, "Hide Chart", false) : showChart(this, "Show Chart", true);
- });
- function showChart(e, d, v) {
- $(e).html(d);
- hideChart = v;
- document.getElementById('chart').hidden = v;
- }
- $('#showStatic').on('click', function () {
- hideStatic == true ? showStatic(this, "Hide Static", false) : showStatic(this, "Show Static", true);
- });
- function showStatic(e, d, v) {
- $(e).html(d);
- hideStatic = v;
- document.getElementById('static').hidden = v;
- }
- function reset() {
- randomizeSeed();
- sbalance = parseFloat(document.getElementById('balance').value);
- basebetAmount = 0;
- betAmount = 0;
- maxbetAmount = 0;
- ballsArray=[0,1,2,3,4,5];
- direction = 'under';
- balance = 0;
- overBalance = 0;
- underBalance = 0;
- bet = 0;
- win = 0;
- lose = 0;
- winStreak = 0;
- loseStreak = 0;
- maxWinStreak = 0;
- maxLoseStreak = 0;
- wagered = 0;
- profitWagered = 0;
- profit = 0;
- profitt = 0;
- largestProfit = 0;
- startTime = new Date();
- onTime = 0;
- playTime = 0;
- playDay = 0;
- playHour = 0;
- playMinute = 0;
- playSecond = 0;
- speed = 0;
- round = 0;
- roundd = 0;
- dsp = [];
- chart = '';
- color = '';
- increasebetEveryLosts = Math.floor(5);
- increasebetBy = 2;
- co = (1 / prediction) * 99;
- cco = co;
- lc1 = 0;
- lc2 = 0;
- sbr = parseFloat(document.getElementById('balance').value);
- pp = 0;
- negs = 0;
- ballsArr1=[0,10];
- loseAmount=0;
- resultNumber=0;
- b1=0;
- b2=0;
- chance=0;
- prediction=50;
- direction='under';
- maxBalance=0;
- resultArr=[];
- maxBet=0;
- rnd=0;
- rndd=0;
- flag=0;
- option=0;
- loss=0;
- b1=0;
- b2=0;
- b3=0;
- strategy=1;
- over=0;
- under=0;
- xxx=0;
- game='balls';
- n=2;
- profitBets=0;
- lose1=0;
- $.getScript('https://canvasjs.com/assets/script/canvasjs.min.js').done(function (script, textStatus) {
- dps = [{
- x: 0,
- y: 0
- }
- ];
- chart = new CanvasJS.Chart('chart', {
- theme: 'dark2',
- zoomEnabled: true,
- axisX: {
- title: 'SUPER STRATEGY',
- includeZero: false,
- },
- axisY: {
- title: 'Profit',
- includeZero: false,
- },
- title: {
- //text: 'SUPER STRATEGY',
- fontColor: '#2eab5b',
- fontSize: 2e1,
- padding: 2e1
- },
- data: [{
- type: 'stepLine',
- dataPoints: dps
- }
- ]
- });
- chart.render();
- });
- $('#notification').html('Bot has reset');
- $('#static').html('...');
- return;
- }
- function doBet() {
- if (run === true) {
- jQuery.ajax({
- url: "https://"+user.domain+"/play",
- type: "POST",
- dataType: "html",
- timeout: 2e4,
- data: {
- game: game,
- coin: $('#coin').val(),
- betAmount: betAmount,
- ballsArray: ballsArray,
- direction: direction,
- prediction: prediction,
- clientSeed: $('#clientSeed').val(),
- serverSeedHash: $('#serverSeedHash').html(),
- session: getCookie("SESSION"),
- hash: user.hash
- },
- success: function (data) {
- var data = JSON.parse(data);
- if (data.result === true) {
- bet++;
- onTime = new Date().getTime();
- playTime = onTime - startTime;
- playDay = Math.floor(playTime / (1e3 * 6e1 * 6e1 * 24));
- playHour = Math.floor((playTime % (1e3 * 6e1 * 6e1 * 24)) / (1e3 * 6e1 * 6e1));
- playMinute = Math.floor((playTime % (1e3 * 6e1 * 6e1)) / (1e3 * 6e1));
- playSecond = Math.floor((playTime % (1e3 * 6e1)) / 1e3);
- speed = parseFloat((bet / playTime) * 1000);
- balance = parseFloat(data.balance);
- wagered += parseFloat(betAmount);
- profit += parseFloat(data.profit);
- profitBets += parseFloat(data.profit);
- profitWagered = (wagered * 0.1) / 1e2;
- profitt = 100*(balance-sbalance)/sbalance;
- if(game==='balls')
- resultNumber=data.resultBall;
- else
- resultNumber=data.resultNumber%10;
- if (data.gameResult === 'win') {
- color='#FBBC05';
- win++;
- loseStreak=0;
- winStreak++;
- } else {
- color='red';
- lose++;
- lose1++;
- if(resultArr.length>=4 && resultArr.length<=7)
- loss++;
- loseStreak++;
- winStreak=0;
- }
- if(loseStreak>=maxLoseStreak)
- maxLoseStreak=loseStreak;
- if(winStreak>=maxWinStreak)
- maxWinStreak=winStreak;
- if(betAmount>maxBet){
- maxBet=betAmount;
- }
- if(profit>largestProfit)
- largestProfit=profit;
- if(balance>=maxBalance)
- {
- maxBalance=balance;
- loseAmount=0;
- option=0;
- }else{
- loseAmount=maxBalance-balance;
- }
- if(loss>=5){
- rnd=Math.floor((Math.random() * (40 - 15 + 1)) + 15);
- rnd=bet+rnd;
- loss=0;
- }
- if(resultNumber>=5){
- res=1;
- over++;
- under=0;
- }
- else{
- res=0;
- over=0;
- under++;
- }
- if(strategy===12 || strategy===13){
- if(JSON.stringify([0,1,0,0,0,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,1,1,1,0,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,0,0,1,0,0])==JSON.stringify(resultArr))
- {
- resultArr1=resultArr;
- resultArr.shift();
- resultArr.shift();
- resultArr.shift();
- resultArr.shift();
- }
- if(JSON.stringify([0,1,0,0,0,1,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,0,1,1,1,1])==JSON.stringify(resultArr))
- {
- resultArr1=[];
- resultArr=[];
- }
- if( JSON.stringify([1,1,1,0,1,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([0,0,0,1,0,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,1,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,0,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,1,0,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,1,1,0,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,0,1,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,0,0,1,1])==JSON.stringify(resultArr) || JSON.stringify([0,1,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,1,0,1,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,1,0,1,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,1,1,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([1,1,0,1,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,1,1,0,0]) ==JSON.stringify(resultArr) || JSON.stringify([0,0,0,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,1,1,1,0])==JSON.stringify(resultArr) || JSON.stringify([0,0,1,0,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,0,1,0,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,0,0,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([0,0,1,0,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,0,0,1,1]) ==JSON.stringify(resultArr) || JSON.stringify([1,1,1,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,0,0,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,0,0,1]) ==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,1,0]) ==JSON.stringify(resultArr) || JSON.stringify([1,1,1,0,1,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,1,1,0,1,0,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,0,0]) ==JSON.stringify(resultArr) || JSON.stringify([0,0,0,1,0,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,0,0,1,0,1,1])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,0,1,1]) ==JSON.stringify(resultArr) || JSON.stringify([0,0,0,1,0,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,0,1,0,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,1,1,0,1,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,0,1,1])==JSON.stringify(resultArr) || JSON.stringify([0,1,1,1,0,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,0,0,1,0,1])==JSON.stringify(resultArr) || JSON.stringify([1,1,0,1,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,1,1,0,1,1,1,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,1,1,0,1,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,0,1,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,0,0,1,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,1,1,0,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([0,0,0,1,0,0,0,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,0,0,1,0,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,0,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([0,0,1,0,0,0,1])==JSON.stringify(resultArr) ||JSON.stringify([1,1,0,1,1,1,0])==JSON.stringify(resultArr) ||JSON.stringify([1,1,0,1,1,1,1,1])==JSON.stringify(resultArr) ||JSON.stringify([0,0,1,0,0,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,0,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,0])==JSON.stringify(resultArr))
- {
- resultArr=[];
- }
- if(JSON.stringify([1,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,1,0])==JSON.stringify(resultArr) || JSON.stringify([0,0,0])==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'blue');
- direction='under';
- }
- else if(JSON.stringify([0,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,0,1])==JSON.stringify(resultArr) || JSON.stringify([1,1,1])==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'red');
- direction='over';
- }
- else if(JSON.stringify([1,1,0,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,1,1,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,0,0])==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'blue');
- direction='under';
- }
- else if(JSON.stringify([0,0,1,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,0,0,1])==JSON.stringify(resultArr) || JSON.stringify([0,1,1,1])==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'red');
- direction='over';
- }
- else if(JSON.stringify([1,1,1,0,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,0]) ==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'blue');
- direction='under';
- }
- else if(JSON.stringify([0,0,0,1,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,0,1]) ==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'red');
- direction='over';
- }
- else if(JSON.stringify([0,0,0,1,0,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,0])==JSON.stringify(resultArr) || JSON.stringify([0,0,1,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,0,0])==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'blue');
- direction='under';
- }
- else if(JSON.stringify([1,1,1,0,1,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,0,1])==JSON.stringify(resultArr) || JSON.stringify([1,1,0,1,1,1])==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'red');
- direction='over';
- }
- else if(JSON.stringify([1,1,1,0,1,1,1])==JSON.stringify(resultArr) || JSON.stringify([0,1,1,1,0,1,0,0])==JSON.stringify(resultArr) || JSON.stringify([0,1,0,0,0,1,0,0])==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'blue');
- direction='under';
- }
- else if(JSON.stringify([0,0,0,1,0,0,0])==JSON.stringify(resultArr) || JSON.stringify([1,0,0,0,1,0,1,1])==JSON.stringify(resultArr) || JSON.stringify([1,0,1,1,1,0,1,1])==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'red');
- direction='over';
- }
- else if( JSON.stringify([1,0,1,1,1])==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'blue');
- direction='under';
- }
- else if( JSON.stringify([0,1,0,0,0])==JSON.stringify(resultArr))
- {
- $('#betAmount').css('background', 'red');
- direction='over';
- }
- }
- if(strategy===1 || strategy===4 || xxx===1){
- let winner = parseInt(data.resultBall);
- addWinner(winner);
- var _0xbeacx19 = Math.floor((Math.random() * (2 - 1 + 1)) + 1);
- if (_0xbeacx19 == 1) {
- if (data.gameResult === 'win') {
- ballsArray = ballsArray.filter((n) => n !== winner);
- if (ballsArray.length === 0) {
- ballsArray.push(getNext())
- }
- } else {
- if (ballsArray.length < maxNumbers && loseStreak % seriesAmount === 0) {
- ballsArray.push(getNext())
- }
- }
- } else {
- if (data.gameResult === 'win') {
- ballsArray = [];
- ballsArray.push(getNext())
- } else {
- let _0xbeacx1b = Math.ceil((loseStreak + 1) / seriesAmount);
- if (_0xbeacx1b > maxNumbers) {
- _0xbeacx1b = maxNumbers
- };
- if (ballsArray.length < _0xbeacx1b) {
- ballsArray.push(getNext())
- }
- }
- };
- }
- if(strategy===2){
- if (resultNumber === 0)
- b1 = 10;
- else if (resultNumber === 1)
- b1 = 9;
- else if (resultNumber === 2)
- b1 = 8;
- else if (resultNumber === 3)
- b1 = 7;
- else if (resultNumber === 4)
- b1 = 6;
- else if (resultNumber === 5)
- b1 = 5;
- else if (resultNumber === 6)
- b1 = 4;
- else if (resultNumber === 7)
- b1 = 3;
- else if (resultNumber === 8)
- b1 = 2;
- else if (resultNumber === 9)
- b1 = 1;
- else if (resultNumber === 10)
- b1 = 0;
- ballsArray = [];
- ballsArray = [b1];
- let notPresentData = ballsArray.indexOf(b2);
- if (notPresentData >= 0) {
- ballsArray[notPresentData] = b2;
- } else if (ballsArray.length <= 1) {
- ballsArray[ballsArray.length] = b2;
- } else {
- ballsArray.shift();
- ballsArray[ballsArray.length] = b2;
- }
- notPresentData = ballsArray.indexOf(resultNumber);
- if (notPresentData >= 0) {
- ballsArray[notPresentData] = resultNumber;
- } else if (ballsArray.length <= 2) {
- ballsArray[ballsArray.length] = resultNumber;
- } else {
- ballsArray.shift();
- ballsArray[ballsArray.length] = resultNumber;
- }
- }
- if(strategy===3 || strategy===10){
- if (resultNumber === 0)
- b1 = 10;
- else if (resultNumber === 1)
- b1 = 9;
- else if (resultNumber === 2)
- b1 = 8;
- else if (resultNumber === 3)
- b1 = 7;
- else if (resultNumber === 4)
- b1 = 6;
- else if (resultNumber === 5)
- b1 = 5;
- else if (resultNumber === 6)
- b1 = 4;
- else if (resultNumber === 7)
- b1 = 3;
- else if (resultNumber === 8)
- b1 = 2;
- else if (resultNumber === 9)
- b1 = 1;
- else if (resultNumber === 10)
- b1 = 0;
- if (b2 === 0)
- b3 = 10;
- else if (b2 === 1)
- b3 = 9;
- else if (b2 === 2)
- b3 = 8;
- else if (b2 === 3)
- b3 = 7;
- else if (b2 === 4)
- b3 = 6;
- else if (b2 === 5)
- b3 = 5;
- else if (b2 === 6)
- b3 = 4;
- else if (b2 === 7)
- b3 = 3;
- else if (b2 === 8)
- b3 = 2;
- else if (b2 === 9)
- b3 = 1;
- else if (b2 === 10)
- b3 = 0;
- ballsArray = [];
- ballsArray = [b1];
- let notPresentData = ballsArray.indexOf(b2);
- if (notPresentData >= 0) {
- ballsArray[notPresentData] = b2;
- } else if (ballsArray.length <= 1) {
- ballsArray[ballsArray.length] = b2;
- } else {
- ballsArray.shift();
- ballsArray[ballsArray.length] = b2;
- }
- notPresentData = ballsArray.indexOf(resultNumber);
- if (notPresentData >= 0) {
- ballsArray[notPresentData] = resultNumber;
- } else if (ballsArray.length <= 2) {
- ballsArray[ballsArray.length] = resultNumber;
- } else {
- ballsArray.shift();
- ballsArray[ballsArray.length] = resultNumber;
- }
- notPresentData = ballsArray.indexOf(b3);
- if (notPresentData >= 0) {
- ballsArray[notPresentData] = b3;
- } else if (ballsArray.length <= 3) {
- ballsArray[ballsArray.length] = b3;
- } else {
- ballsArray.shift();
- ballsArray[ballsArray.length] = b3;
- }
- }
- if(strategy===8){
- n=Math.floor((Math.random() * (4 - 1 + 1)) + 1)
- if(n===1)
- ballsArray=[Math.floor((Math.random() * (10 - 0 + 1)) + 0)];
- else if(n===2)
- ballsArray=[Math.floor((Math.random() * (5 - 0 + 1)) + 0),Math.floor((Math.random() * (10 - 5 + 1)) + 5)];
- else if(n===3)
- ballsArray=[Math.floor((Math.random() * (3 - 0 + 1)) + 0),Math.floor((Math.random() * (7 - 4 + 1)) + 4),Math.floor((Math.random() * (10 - 8 + 1)) + 8)];
- if(n===4)
- ballsArray=[Math.floor((Math.random() * (2 - 0 + 1)) + 0),Math.floor((Math.random() * (5 - 3 + 1)) + 3),Math.floor((Math.random() * (8 - 6 + 1)) + 6),Math.floor((Math.random() * (10 - 9 + 1)) + 9)];
- }
- $('#serverSeedHash').html(data.serverSeedHash);
- $('#notification').html('Harish All In One Script Test');
- $('#static').html('<span style="float: left;">Game = ' + game + '</span> <span style="float: right;">Coin = ' + $('#coin').val() + '</span><br> <span style="float: left;">Time = ' + playDay + ':' + playHour + ':' + playMinute + ':' + playSecond + '</span> <span style="float: right;">Speed = ' + speed.toFixed(2) + '</span><br> <span style="float: left;">Balance = ' + balance.toFixed(8) + '</span> <span style="float: right;">Profit = ' + profit.toFixed(8) + ' (' + profitt.toFixed(2) + '%)</span><br> <span style="float: left;">Wagered = ' + wagered.toFixed(8) + '</span> <span style="float: right;">Max Bet Amount = ' + maxBet.toFixed(8) + '</span><br> <span style="float: left;">Win Streak = ' + winStreak + '</span> <span style="float: right;">Lose Streak = ' + loseStreak + '</span><br> <span style="float: left;">Max Win Streak = ' + maxWinStreak + '</span> <span style="float: right;">Max Lose Streak = ' + maxLoseStreak + '</span><br> <span style="float: left;">Strategy = ' + strategy + '</span>');
- updateChart(bet, profit, color);
- if (betAmount >= balance) {
- stop();
- $('#notification').html('You lose');
- return;
- } else {
- if (overBalance != 0 && balance >= overBalance) {
- stop();
- $('#notification').html('Over balance');
- return;
- } else if (underBalance != 0 && balance <= underBalance) {
- stop();
- $('#notification').html('Under balance');
- return;
- }
- if(loseAmount<=0)
- {
- lose1=0;
- profitBets=0;
- n=Math.floor(Math.random(5-3)+3);
- betAmount=basebetAmount;
- flag=0;
- round=0;
- rnd=Math.floor((Math.random() * (40 - 15 + 1)) + 15);
- strategy=Math.floor((Math.random() * (9 - 1 + 1)) + 1);
- if(strategy===5 || strategy===6 || strategy==7 || strategy===9 || strategy===10){
- game='dice';
- }else{
- game='balls';
- }
- }
- else
- {
- round++;
- if(round%5===0){
- strategy=Math.floor((Math.random() * (9 - 1 + 1)) + 1);
- if(strategy===5 || strategy===6 || strategy==7 || strategy===9 || strategy===10){
- game='dice';
- }else{
- game='balls';
- }
- }
- loseAmount=maxBalance-balance;
- if(strategy===1){
- if(round%13===0)
- {
- if(lose1>=8)
- betAmount*=1.2;
- lose1=0;
- }
- }
- if(strategy===4){
- n=Math.floor(Math.random(5-3)+3);
- if(loseStreak%n===0){
- if(over>under)
- n=10;
- else
- n=0;
- }
- over=0;
- under=0;
- ball=addBall(n);
- console.log(ball);
- ballsArray=[];
- ballsArray[0]=ball;
- betAmount=loseAmount/(95/9-1);
- }
- if(strategy===11){
- n=Math.floor(Math.random(5-3)+3);
- if(loseStreak%n===0){
- if(over>under)
- n=10;
- else
- n=0;
- }
- over=0;
- under=0;
- ballsArray=[];
- ballsArray[0]=addBall(n);
- ballsArray[1]=addBall(n);
- ballsArray[2]=addBall(n);
- ballsArray[3]=addBall(n);
- ballsArray[4]=addBall(n);
- betAmount=loseAmount/(96/20-1);
- }
- if(strategy===2 || strategy===3 || strategy===8){
- game='balls';
- if (ballsArray.length == 1) {
- chance = 9.1;
- } else if (ballsArray.length == 2) {
- chance = 18.2;
- } else if (ballsArray.length == 3) {
- chance = 27.3;
- } else if (ballsArray.length == 4) {
- chance = 36.4;
- } else if (ballsArray.length == 5) {
- chance = 45.5;
- } else if (ballsArray.length == 6) {
- chance = 54.5;
- } else if (ballsArray.length == 7) {
- chance = 63.6;
- } else if (ballsArray.length == 8) {
- chance = 72.7;
- } else if (ballsArray.length == 9) {
- chance = 81.8;
- }
- betbetAmount = (loseAmount) / (96 / chance - 1);
- if (ballsArray.length == 1) {
- betAmount = betbetAmount;
- } else if (ballsArray.length == 2) {
- betAmount = betbetAmount;
- } else if (ballsArray.length == 3) {
- betAmount = betbetAmount;
- } else if (ballsArray.length == 4) {
- betAmount = betbetAmount;
- } else if (ballsArray.length == 5) {
- betAmount = basebetAmount;
- } else if (ballsArray.length == 6) {
- betAmount = basebetAmount;
- } else if (ballsArray.length == 7) {
- betAmount = basebetAmount;
- } else if (ballsArray.length == 8) {
- betAmount = basebetAmount;
- } else if (ballsArray.length == 9) {
- betAmount = basebetAmount;
- }
- b2 = resultNumber;
- }
- if(strategy===5 || strategy===6){
- if (round % n === 0) {
- var _0x1aa2x60$jscomp$0 =Math.floor(Math.random()*(2 - 1 + 1) + 1);
- if (_0x1aa2x60$jscomp$0 == 1) {
- prediction =Math.floor((Math.random() * (45 - 10 + 1)) + 10);
- direction = 'under';
- chance = prediction;
- } else {
- prediction = 99 - Math.floor((Math.random() * (45 - 10 + 1)) + 10);
- direction = 'over';
- chance = 99 - prediction;
- }
- }
- if(chance<=35)
- {
- betAmount = loseAmount/(99/chance-1);
- }
- else{
- rnd = Math.floor(Math.random()*(2 - 1 + 1) + 1);
- if(rnd===1){
- betAmount = loseAmount/(99/chance-1);
- }else {
- betAmount = basebetAmount;
- }
- }
- if(strategy===6){
- if(round%13===0)
- {
- if(lose1>=8)
- betAmount*=1.2;
- lose1=0;
- }
- }
- }
- if(strategy===7){
- if (resultNumber>=89 && resultNumber<=98) {
- prediction=89;
- direction='over';
- }
- else if (resultNumber<=10 && resultNumber>=1) {
- prediction=10;
- direction='under';
- }
- else if (resultNumber>=79 && resultNumber<=88) {
- prediction=79;
- direction='over';
- }
- else if (resultNumber<=20 && resultNumber>=11) {
- prediction=20;
- direction='under';
- }
- else if (resultNumber>=69 && resultNumber<=78) {
- prediction=69;
- direction='over';
- }
- else if (resultNumber<=30 && resultNumber>=21) {
- prediction=30;
- direction='under';
- }
- else if (resultNumber>=59 && resultNumber<=68) {
- prediction=59;
- direction='over';
- }
- else if (resultNumber<=39 && resultNumber>=31) {
- prediction=40;
- direction='under';
- }
- else if (resultNumber>=50 && resultNumber<=58) {
- prediction=59;
- direction='over';
- }
- else if (resultNumber<=49 && resultNumber>=41) {
- prediction=40;
- direction='under';
- }
- if(direction==='under')
- chance=prediction;
- else
- chance=99-prediction;
- betAmount=loseAmount/(99/chance-1);
- }
- if(strategy===9){
- if(resultArr.length>=3 && resultArr.length<=6){
- if(direction==='under'){
- prediction=Math.floor((Math.random() * (50 - 35 + 1)) + 15);
- chance=prediction;
- } else{
- prediction=Math.floor((Math.random() * (65 - 50 + 1)) + 50);
- chance=99-prediction;
- }
- }else{
- var _0x1aa2x60$jscomp$0 =Math.floor(Math.random()*(2 - 1 + 1) +1);
- if (_0x1aa2x60$jscomp$0 == 1) {
- prediction =Math.floor((Math.random() * (35 - 10 + 1)) + 10);
- direction = 'under';
- chance = prediction;
- } else {
- prediction = 99 - Math.floor((Math.random() * (90 - 65 + 1)) + 65);
- direction = 'over';
- chance = 99 - prediction;
- }
- }
- if(chance<=25)
- betAmount=loseAmount/(99/chance-1);
- }
- if(strategy===10){
- if(direction==='over')
- {
- direction='under';
- rnd = Math.floor((Math.random() * (5 - 1 + 1)) + 1);
- if(rnd===1)
- prediction=10;
- else if(rnd===2)
- prediction=20;
- else if(rnd===3)
- prediction=30;
- else if(rnd===4)
- prediction=40;
- else if(rnd===5)
- prediction=50;
- }
- else
- {
- direction='over';
- rnd = Math.floor((Math.random() * (5 - 1 + 1)) + 1);
- if(rnd===1)
- prediction=89;
- else if(rnd===2)
- prediction=79;
- else if(rnd===3)
- prediction=69;
- else if(rnd===4)
- predictin=59;
- else if(rnd===5)
- prediction=49;
- }
- if(round%12===0){
- if(lose1>=7 || loseStreak>=8)
- betAmount*=1.25;
- else
- betAmount*=1;
- lose1=0;
- }}
- }
- }
- if (betAmount < 1e-8) betAmount = 1e-8;
- $('#betAmount').val((betAmount).toFixed(8));
- if(strategy===2 || strategy===3)
- console.log(ballsArray);
- doBet()
- } else {
- randomizeSeed();
- setTimeout(doBet(), 5000)
- }
- },
- error: function(_0x1aa2x65, _0x1aa2x66, _0x1aa2x67) {
- randomizeSeed();
- setTimeout(doBet(), 5000)
- },
- timeout: function(_0x1aa2x65, _0x1aa2x66, _0x1aa2x67) {
- randomizeSeed();
- setTimeout(doBet(), 5000)
- },
- abort: function(_0x1aa2x65, _0x1aa2x66, _0x1aa2x67) {
- randomizeSeed();
- setTimeout(doBet(), 5000)
- }
- })
- } else {}
- }
- function addBall(r){
- let n=0;
- if(r>=6)
- n= Math.floor((Math.random() * (11 - 5 + 1)) + 5);
- else
- n= Math.floor((Math.random() * (5 - 0 + 1)) + 0);
- if(n===r)
- n=addBall(r);
- if(n===11)
- n=10;
- return n;
- }
- function getNext() {
- let cNumber = 0;
- let cTimes = -1;
- colds.forEach((times, idx) => {
- if (ballsArray.every((b) => b !== idx)) {
- if (times > cTimes) {
- cNumber = idx;
- cTimes = times;
- }
- }
- });
- return cNumber;
- }
- function addWinner(n) {
- colds.forEach((_, idx) => {
- if (idx === n) colds[idx] = 0;
- else colds[idx]++;
- });
- }
- function random(min, max) {
- return Math.floor(Math.random() * (max - min + 1)) + min;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement