Bitsler bot v1.4 (free) updated 17 dec 2017
//#######################################################################################################
//
// [BITSLER BOT V1.4] by thizk
//
// changelog v1.4:
// - add restart on profit [checkbox]
// - add betting speed [input]
// - add change bet mode after 'x' number of loses
// - add win & lose counter
//
// changelog v1.3:
// - add doble your bet on lose [checkbox]
// - fix errors on betting
//
// changelog v1.2:
// - seprate stop profit - stake
//
// changelog v1.1:
// - add option "restart bet on stake"
// - fix stake and profit calculation
//
// changelog v1.0:
// - start or stop button
// - chance % change
// - hi or lo betting
// - zigzag betting
// - profit or stake limitation
// - user interface
// - auto change seeds
// - increase bet on lose
//
//#######################################################################################################
$('.btn-night-mode')[1].click();
$('#close-chat').trigger('click');
var _bet, _chance, _onlost, _mode, _auto, _stopprofit, _stopstake, _start = false, _stake, _profit, _betting, _task, _seeds, _restart, _restart2, _double, _first,_betspeed, gamelose = 0, gamewin = 0, con = 0, _consecutive;
var style = `<style>
.boxDice {
margin-top:3px;
padding-bottom: 5px;
width: 327.5px;
background-color: #2e323b;
color: whitesmoke;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
z-index: 10;
}
.boxTitle {
text-align: center;
padding: 8px 8px 5px 8px;
font-weight: bold;
border-bottom: solid #181a1e;
}
.boxScon {
text-align: center;
padding: 10px 8px 5px 8px;
border-bottom: solid #181a1e;
}
.boxStatus {
padding: 5px 0;
background-color: #101215;
width: 100%;
font-size: 12.5px !important;
border: 0;
color: white;
text-transform: uppercase;
text-align: center;
}
.boxTDtitle {
padding: 3px;
color: whitesmoke;
text-align: center;
font-size: 11px;
}
.boxTDinput {
padding: 3px;
background-color: #101215;
width: 97%;
border: 0;
color: white !important;
margin: 2px 0;
}
.boxDS {
width: 200px;
}
.boxWinLose {
padding: 6px;
text-align: center;
font-size: 11px !important;
}
.boxWLinput{
padding:3px;
text-align: center;
background-color:#2e323b !important;
width:97%;
border:0;
margin:3px 0;
}
.boxWin{ color: greenyellow !important; }
.boxLose{ color: red !important; }
.boxBalance{ color: white !important; font-size: 9.5px !important; }
.boxButton{
width:97%;
background-color: #101215;
border: none;
color: white;
padding: 7px 15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 13px;
}
</style>`;
var html = `<div class="boxDice">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<div class="boxTitle">BITSLER DICE v1.4</div>
<div class="boxScon">
<input class="boxStatus" type="text" id="_status" readonly="true">
</div>
<tbody>
<tr>
<td class="boxTDtitle">CHANCE</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_chance" value="49.5"></td>
</tr>
<tr>
<td class="boxTDtitle">INCREASE ON LOST [%]</td>
<td class="boxDS"> <input class="boxTDinput" type="text" id="_onlost" value="0"></td>
</tr>
<tr>
<td class="boxTDtitle">BET SPEED</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_speed" value="1000"></td>
</tr>
<tr>
<td class="boxTDtitle">CHANGE BET MODE AFTER C/L</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_consecutive" value="0"></td>
</tr>
<tr>
<td class="boxTDtitle">BET MODE</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_mode" placeholder="h | l | z"></td>
</tr>
<tr>
<td class="boxTDtitle">BET AMOUNT</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_bet" value="0.00000001"></td>
</tr>
<tr>
<td class="boxTDtitle">PROFIT</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_profit" value="0.00001024"></td>
</tr>
<tr>
<td class="boxTDtitle">STAKE</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_stake" value="0.00001024"></td>
</tr>
<tr>
<td class="boxTDtitle">DOUBLE BET ON LOST </td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_double"></td>
</tr>
<tr>
<td class="boxTDtitle">STOP ON STAKE </td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_stopstake"></td>
</tr>
<tr>
<td class="boxTDtitle">STOP ON PROFIT </td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_stopprofit"></td>
</tr>
<tr>
<td class="boxTDtitle">RESTART BET ON STAKE</td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_restart"></td>
</tr>
<tr>
<td class="boxTDtitle">RESTART BET ON PROFIT</td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_restart2"></td>
</tr>
<tr>
<td class="boxTDtitle">AUTO CHANGE SEED</td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_auto"></td>
</tr>
<tr>
<td class="boxWinLose">
<input id="gamewin" class="boxWLinput boxWin" type="text" readonly="true" value="0">
</td>
<td class="boxWinLose">
<input id="gamelose" class="boxWLinput boxLose" type="text" readonly="true" value="0">
</td>
</tr>
<tr>
<td><input id="bl_update" class="boxWLinput boxBalance" type="text" readonly="true" value="0"></td>
<td><button onclick="startDice();return false;" id="_start" class="boxButton"> START </button></td>
</tr>
</tbody>
</table>
</div>`;
$('head').append(style);
$('#column-right').append(html);
function startDice() {
"use strict";
_mode = document.getElementById('_mode').value;
_bet = parseFloat(document.getElementById('_bet').value);
_profit = parseFloat(document.getElementById('_profit').value);
_stake = parseFloat(document.getElementById('_stake').value);
_stake = -_stake;
_chance = parseFloat(document.getElementById('_chance').value);
_onlost = parseFloat(document.getElementById('_onlost').value);
_stopprofit = document.getElementById('_stopprofit').checked;
_stopstake = document.getElementById('_stopstake').checked;
_double = document.getElementById('_double').checked;
_auto = document.getElementById('_auto').checked;
_restart = document.getElementById('_restart').checked;
_restart2 = document.getElementById('_restart2').checked;
_betspeed = parseInt(document.getElementById('_speed').value);
_consecutive = parseInt(document.getElementById('_consecutive').value);
//
_betting = 0;
gamewin = 0;
gamelose= 0;
con = 0;
_first = true;
updateIndex('#_status','');
if (_mode !== 'h' && _mode !== 'l' && _mode !== 'z') {
updateIndex('#_status',"Bet Mode incorrect!");
return;
}
_start = !_start;
if (_start !== true) {
$('#_start').text("START");
_betting = 0;
clearInterval(_task);
clearInterval(_seeds);
return;
} else {
$('#_start').text("STOP");
}
if ($("#updated_condition").text().indexOf('>') !== -1 && _mode === 'l') {
$("#updated_condition").trigger('click');
} else if ($("#updated_condition").text().indexOf('<') !== -1 && _mode === 'h') {
$("#updated_condition").trigger('click');
}
//
$('#amount').val(_bet.toFixed(8));
//
$("#editable-chance").trigger('click');
$("#editable-chance-field").val(_chance);
$("#editable-chance-field").trigger('focusout');
if (_auto) {
// CHANGE
change_seeds();
// SET TASK
_seeds = setInterval(function() {
change_seeds();
updateIndex('#_status',"CHANGE SEED TASK = " + _seeds.toString());
}, Math.round(Math.random() * (600000 - 300000) + 300000));
}
_betting = _bet;
//
$('#btn-bet-dice').trigger('click');
_first = false;
}
function increaseOnLost(bet, percent) {
"use strict";
return parseFloat(bet) + ((parseFloat(bet) * percent) / 100);
}
function doubleOnLost(bet) {
"use strict";
return (bet * 2).toFixed(8);
}
function updateIndex(who, value){
"use strict";
$(who).val(value);
}
var _Handle = function() {
"use strict";
clearInterval(_task);
var bet = 0 , lose, balance;
if (_start)
{
if (_first !== true)
{
lose = ($('#history-my-bets-dice tr td:last-child span')[0].innerText.indexOf('-') !== -1) ? true : false;
_betting = parseFloat(_betting) + parseFloat($('#history-my-bets-dice tr td:last-child span')[0].innerText);
if (lose) {
if (_onlost > 0 && !_double) {
bet = increaseOnLost($('#amount').val(), _onlost);
$('#amount').val(bet.toFixed(8));
} else if (_onlost <= 0 && _double) {
var current = $('#amount').val();
bet = doubleOnLost(current);
$('#amount').val(bet);
}
else {
updateIndex('#_status',"something is wrong");
startDice();
return;
}
gamelose++;
con++;
} else {
$('#amount').val(_bet.toFixed(8));
gamewin++;
con = 0;
}
if (_stopprofit) {
if (_betting >= _profit) {
startDice();
updateIndex('#_status',"PROFIT REACHED!");
return;
}
}
if (_stopstake) {
if (_betting <= _stake) {
startDice();
updateIndex('#_status',"STAKE REACHED!");
return;
}
} else {
if (_betting <= _stake) {
if (_restart || _restart2) {
clearInterval(_task);
_betting = 0;
$('#amount').val(_bet.toFixed(8));
updateIndex('#_status',"STAKE REACHED, RESTARTING!");
} else {
startDice();
updateIndex('#_status',"STAKE REACHED!");
return;
}
}
}
updateIndex('#bl_update', _betting.toFixed(8));
}
updateIndex('#gamewin', gamewin);
updateIndex('#gamelose', gamelose);
_task = setInterval(function(e) {
balance = parseFloat(document.getElementById('balances-lg').innerText);
if (balance <= 0 || parseFloat($('#amount').val()) > balance) {
startDice();
return;
}
if (!_start) {
clearInterval(_task);
clearInterval(_seeds);
return;
}
if (_mode === 'z') {
$("#updated_condition").trigger('click');
}
if( _consecutive > 0 && con >= _consecutive ){
$("#updated_condition").trigger('click');
con=0;
}
$('#btn-bet-dice').trigger('click');
}, _betspeed);
}
};
//
var timer;
$('#history-my-bets-dice').unbind();
$('#history-my-bets-dice').bind("DOMSubtreeModified", function(event) {
"use strict";
if (timer) { clearTimeout(timer); }
timer = setTimeout( _Handle, 100);
});
//
// [BITSLER BOT V1.4] by thizk
//
// changelog v1.4:
// - add restart on profit [checkbox]
// - add betting speed [input]
// - add change bet mode after 'x' number of loses
// - add win & lose counter
//
// changelog v1.3:
// - add doble your bet on lose [checkbox]
// - fix errors on betting
//
// changelog v1.2:
// - seprate stop profit - stake
//
// changelog v1.1:
// - add option "restart bet on stake"
// - fix stake and profit calculation
//
// changelog v1.0:
// - start or stop button
// - chance % change
// - hi or lo betting
// - zigzag betting
// - profit or stake limitation
// - user interface
// - auto change seeds
// - increase bet on lose
//
//#######################################################################################################
$('.btn-night-mode')[1].click();
$('#close-chat').trigger('click');
var _bet, _chance, _onlost, _mode, _auto, _stopprofit, _stopstake, _start = false, _stake, _profit, _betting, _task, _seeds, _restart, _restart2, _double, _first,_betspeed, gamelose = 0, gamewin = 0, con = 0, _consecutive;
var style = `<style>
.boxDice {
margin-top:3px;
padding-bottom: 5px;
width: 327.5px;
background-color: #2e323b;
color: whitesmoke;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
z-index: 10;
}
.boxTitle {
text-align: center;
padding: 8px 8px 5px 8px;
font-weight: bold;
border-bottom: solid #181a1e;
}
.boxScon {
text-align: center;
padding: 10px 8px 5px 8px;
border-bottom: solid #181a1e;
}
.boxStatus {
padding: 5px 0;
background-color: #101215;
width: 100%;
font-size: 12.5px !important;
border: 0;
color: white;
text-transform: uppercase;
text-align: center;
}
.boxTDtitle {
padding: 3px;
color: whitesmoke;
text-align: center;
font-size: 11px;
}
.boxTDinput {
padding: 3px;
background-color: #101215;
width: 97%;
border: 0;
color: white !important;
margin: 2px 0;
}
.boxDS {
width: 200px;
}
.boxWinLose {
padding: 6px;
text-align: center;
font-size: 11px !important;
}
.boxWLinput{
padding:3px;
text-align: center;
background-color:#2e323b !important;
width:97%;
border:0;
margin:3px 0;
}
.boxWin{ color: greenyellow !important; }
.boxLose{ color: red !important; }
.boxBalance{ color: white !important; font-size: 9.5px !important; }
.boxButton{
width:97%;
background-color: #101215;
border: none;
color: white;
padding: 7px 15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 13px;
}
</style>`;
var html = `<div class="boxDice">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<div class="boxTitle">BITSLER DICE v1.4</div>
<div class="boxScon">
<input class="boxStatus" type="text" id="_status" readonly="true">
</div>
<tbody>
<tr>
<td class="boxTDtitle">CHANCE</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_chance" value="49.5"></td>
</tr>
<tr>
<td class="boxTDtitle">INCREASE ON LOST [%]</td>
<td class="boxDS"> <input class="boxTDinput" type="text" id="_onlost" value="0"></td>
</tr>
<tr>
<td class="boxTDtitle">BET SPEED</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_speed" value="1000"></td>
</tr>
<tr>
<td class="boxTDtitle">CHANGE BET MODE AFTER C/L</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_consecutive" value="0"></td>
</tr>
<tr>
<td class="boxTDtitle">BET MODE</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_mode" placeholder="h | l | z"></td>
</tr>
<tr>
<td class="boxTDtitle">BET AMOUNT</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_bet" value="0.00000001"></td>
</tr>
<tr>
<td class="boxTDtitle">PROFIT</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_profit" value="0.00001024"></td>
</tr>
<tr>
<td class="boxTDtitle">STAKE</td>
<td class="boxDS"><input class="boxTDinput" type="text" id="_stake" value="0.00001024"></td>
</tr>
<tr>
<td class="boxTDtitle">DOUBLE BET ON LOST </td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_double"></td>
</tr>
<tr>
<td class="boxTDtitle">STOP ON STAKE </td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_stopstake"></td>
</tr>
<tr>
<td class="boxTDtitle">STOP ON PROFIT </td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_stopprofit"></td>
</tr>
<tr>
<td class="boxTDtitle">RESTART BET ON STAKE</td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_restart"></td>
</tr>
<tr>
<td class="boxTDtitle">RESTART BET ON PROFIT</td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_restart2"></td>
</tr>
<tr>
<td class="boxTDtitle">AUTO CHANGE SEED</td>
<td class="boxDS"><input class="boxTDinput" type="checkbox" id="_auto"></td>
</tr>
<tr>
<td class="boxWinLose">
<input id="gamewin" class="boxWLinput boxWin" type="text" readonly="true" value="0">
</td>
<td class="boxWinLose">
<input id="gamelose" class="boxWLinput boxLose" type="text" readonly="true" value="0">
</td>
</tr>
<tr>
<td><input id="bl_update" class="boxWLinput boxBalance" type="text" readonly="true" value="0"></td>
<td><button onclick="startDice();return false;" id="_start" class="boxButton"> START </button></td>
</tr>
</tbody>
</table>
</div>`;
$('head').append(style);
$('#column-right').append(html);
function startDice() {
"use strict";
_mode = document.getElementById('_mode').value;
_bet = parseFloat(document.getElementById('_bet').value);
_profit = parseFloat(document.getElementById('_profit').value);
_stake = parseFloat(document.getElementById('_stake').value);
_stake = -_stake;
_chance = parseFloat(document.getElementById('_chance').value);
_onlost = parseFloat(document.getElementById('_onlost').value);
_stopprofit = document.getElementById('_stopprofit').checked;
_stopstake = document.getElementById('_stopstake').checked;
_double = document.getElementById('_double').checked;
_auto = document.getElementById('_auto').checked;
_restart = document.getElementById('_restart').checked;
_restart2 = document.getElementById('_restart2').checked;
_betspeed = parseInt(document.getElementById('_speed').value);
_consecutive = parseInt(document.getElementById('_consecutive').value);
//
_betting = 0;
gamewin = 0;
gamelose= 0;
con = 0;
_first = true;
updateIndex('#_status','');
if (_mode !== 'h' && _mode !== 'l' && _mode !== 'z') {
updateIndex('#_status',"Bet Mode incorrect!");
return;
}
_start = !_start;
if (_start !== true) {
$('#_start').text("START");
_betting = 0;
clearInterval(_task);
clearInterval(_seeds);
return;
} else {
$('#_start').text("STOP");
}
if ($("#updated_condition").text().indexOf('>') !== -1 && _mode === 'l') {
$("#updated_condition").trigger('click');
} else if ($("#updated_condition").text().indexOf('<') !== -1 && _mode === 'h') {
$("#updated_condition").trigger('click');
}
//
$('#amount').val(_bet.toFixed(8));
//
$("#editable-chance").trigger('click');
$("#editable-chance-field").val(_chance);
$("#editable-chance-field").trigger('focusout');
if (_auto) {
// CHANGE
change_seeds();
// SET TASK
_seeds = setInterval(function() {
change_seeds();
updateIndex('#_status',"CHANGE SEED TASK = " + _seeds.toString());
}, Math.round(Math.random() * (600000 - 300000) + 300000));
}
_betting = _bet;
//
$('#btn-bet-dice').trigger('click');
_first = false;
}
function increaseOnLost(bet, percent) {
"use strict";
return parseFloat(bet) + ((parseFloat(bet) * percent) / 100);
}
function doubleOnLost(bet) {
"use strict";
return (bet * 2).toFixed(8);
}
function updateIndex(who, value){
"use strict";
$(who).val(value);
}
var _Handle = function() {
"use strict";
clearInterval(_task);
var bet = 0 , lose, balance;
if (_start)
{
if (_first !== true)
{
lose = ($('#history-my-bets-dice tr td:last-child span')[0].innerText.indexOf('-') !== -1) ? true : false;
_betting = parseFloat(_betting) + parseFloat($('#history-my-bets-dice tr td:last-child span')[0].innerText);
if (lose) {
if (_onlost > 0 && !_double) {
bet = increaseOnLost($('#amount').val(), _onlost);
$('#amount').val(bet.toFixed(8));
} else if (_onlost <= 0 && _double) {
var current = $('#amount').val();
bet = doubleOnLost(current);
$('#amount').val(bet);
}
else {
updateIndex('#_status',"something is wrong");
startDice();
return;
}
gamelose++;
con++;
} else {
$('#amount').val(_bet.toFixed(8));
gamewin++;
con = 0;
}
if (_stopprofit) {
if (_betting >= _profit) {
startDice();
updateIndex('#_status',"PROFIT REACHED!");
return;
}
}
if (_stopstake) {
if (_betting <= _stake) {
startDice();
updateIndex('#_status',"STAKE REACHED!");
return;
}
} else {
if (_betting <= _stake) {
if (_restart || _restart2) {
clearInterval(_task);
_betting = 0;
$('#amount').val(_bet.toFixed(8));
updateIndex('#_status',"STAKE REACHED, RESTARTING!");
} else {
startDice();
updateIndex('#_status',"STAKE REACHED!");
return;
}
}
}
updateIndex('#bl_update', _betting.toFixed(8));
}
updateIndex('#gamewin', gamewin);
updateIndex('#gamelose', gamelose);
_task = setInterval(function(e) {
balance = parseFloat(document.getElementById('balances-lg').innerText);
if (balance <= 0 || parseFloat($('#amount').val()) > balance) {
startDice();
return;
}
if (!_start) {
clearInterval(_task);
clearInterval(_seeds);
return;
}
if (_mode === 'z') {
$("#updated_condition").trigger('click');
}
if( _consecutive > 0 && con >= _consecutive ){
$("#updated_condition").trigger('click');
con=0;
}
$('#btn-bet-dice').trigger('click');
}, _betspeed);
}
};
//
var timer;
$('#history-my-bets-dice').unbind();
$('#history-my-bets-dice').bind("DOMSubtreeModified", function(event) {
"use strict";
if (timer) { clearTimeout(timer); }
timer = setTimeout( _Handle, 100);
});
DONT COPY BRO...YOU CAN COPY THIS SCRIPT..BUT HOW YOU WILL GIVE METHOD S TO OTHERS,,,,,,
ReplyDeleteI am happy Sir Apka sikhaya Aaj kaam aya. i am very thankfull to you. you are good teacher and good youtuber too. i motive is to teach not earn
ReplyDelete