Teman
Teman
Teman
on("click", function() {
if (button_max_clicked == true) {
$("#btn-bet-dice").html("YAKIN BOSSS AWAS LOO RUGI?");
button_max_clicked = false;
}
else {
$("#btn-bet-dice, #btn-bet-start-pilot-dice, #btn-bet-start-fast-
dice").button("Loading");
play();
}
});
$("#btn-bet-start-pilot-dice").on("click", function() {
if (button_max_clicked == true) {
$("#btn-bet-start-pilot-dice").html("YAKIN BOSSS AWAS LOO RUGI?");
button_max_clicked = false;
}
else {
autobet_mode = true;
autobet_stop = false;
$("#btn-bet-dice, #btn-bet-start-fast-dice").button("loading");
$("#btn-bet-start-pilot-dice").hide();
$("#btn-bet-stop-pilot-dice").show();
if ($('#limit-rolls-checkbox').is(':checked'))
number_rolls = parseInt($('#limit-rolls-input').val());
else
number_rolls = 0;
if (number_rolls == 0)
unlimited_bet = true;
else
unlimited_bet = false;
number_rolls_total = number_rolls;
on_win = "";
if ($('#id-bet-on-win').is(':checked')) {
on_win = "id-bet-win";
pourc_on_win = $('#pourc-bet-on-win').val();
if ($.trim(pourc_on_win) == "")
pourc_on_win = 0;
if (parseFloat(pourc_on_win) == 0)
on_win = "return-base-win";
}
else {
on_win = "return-base-win";
}
if ($('#id-bet-on-lose').is(':checked')) {
on_lose = "id-bet-win";
pourc_on_lose = $('#pourc-bet-on-win').val();
if ($.trim(pourc_on_lose) == "")
pourc_on_lose = 0;
if (parseFloat(pourc_on_lose) == 0)
on_lose = "return-base-lose";
}
else {
on_lose = "return-base-lose";
}
auto_stats_won = 0;
auto_stats_lost = 0;
auto_stats_lucky = 0;
auto_stats_wagered = 0;
auto_stats_profit = 0;
play();
}
});
if (risk != "1" && risk != "2" && risk != "3" && risk != "4" && risk != "5" && risk
!= "6" && risk != "7" && risk != "8"){
alert("Invalid risk entered, aborting");
return false;
}
if (risk == "1") {low();}
else if (risk == "2"){medium();}
else if (risk == "3"){high();}
else if (risk == "4"){automode();}
else if (risk == "5"){super_power();}
else if (risk == "6"){switch_mode();}
else if (risk == "7"){super_save();}
else {huge_profit();}
function medium() {
// Done
if (balance < 0.0000001)
{
var amount = document.getElementById("amount").value = "0.00000005";
var chance = $.trim($("#editable-chance-field").val("9.99%"));
var payout = document.getElementById('editable-payout').innerHTML = "9.9099";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("12"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
var timeout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit > stop){alert("You got your profit,
enjoy");kill();}}, 1);
}
// Done
else if (balance < 0.0001 && balance > 0.00001){
var amount = document.getElementById("amount").value = "0.00000010";
var chance = $.trim($("#editable-chance-field").val("9.90%"));
var payout = document.getElementById('editable-payout').innerHTML = "10.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("12"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
var timeout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit > stop){alert("You got your profit,
enjoy");kill();}}, 1);
}
// Done
else if (balance < 0.001 && balance > 0.0001) {
var amount = document.getElementById("amount").value = "0.0000001";
var chance = $.trim($("#editable-chance-field").val("66%"));
var payout = document.getElementById('editable-payout').innerHTML = "1.5000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("110"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
var timeout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit > stop){alert("You got your profit,
enjoy");kill();}}, 1);
}
// Done
else if (balance < 0.01 && balance > 0.001) {
var final_amount = balance > 0.001 && balance <= 0.002 ? 1 : balance > 0.002 &&
balance <= 0.003 ? 2 : balance > 0.003 && balance <= 0.004 ? 3 : balance > 0.004 &&
balance <= 0.005 ? 4 : balance > 0.005 && balance <= 0.006 ? 5 : balance > 0.006 &&
balance <= 0.007 ? 6 : balance > 0.007 && balance <= 0.008 ? 7 : balance > 0.008 &&
balance <= 0.009 ? 8 : balance > 0.009 && balance <= 0.01 ? 9 : 0;
var amount = document.getElementById("amount").value = "0.000000" + final_amount;
var chance = $.trim($("#editable-chance-field").val("4.95%"));
var payout = document.getElementById('editable-payout').innerHTML = "20.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("7.77"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
var timeout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit > stop){alert("You got your profit,
enjoy");kill();}}, 1);
}
// Done
else if (balance < 0.1 && balance > 0.01) {
var final_amount = balance > 0.01 && balance <= 0.02 ? 1 : balance > 0.02 &&
balance <= 0.03 ? 2 : balance > 0.03 && balance <= 0.04 ? 3 : balance > 0.04 &&
balance <= 0.05 ? 4 : balance > 0.05 && balance <= 0.06 ? 5 : balance > 0.06 &&
balance <= 0.07 ? 6 : balance > 0.07 && balance <= 0.08 ? 7 : balance > 0.08 &&
balance <= 0.09 ? 8 : balance > 0.09 && balance <= 0.1 ? 9 : 0;
var amount = document.getElementById("amount").value = "0.00000" + final_amount;
var chance = $.trim($("#editable-chance-field").val("4.95%"));
var payout = document.getElementById('editable-payout').innerHTML = "20.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("7.77"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
var timeout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit > stopAmount){alert("You got your
profit, enjoy");kill();}}, 1);
}
else if (balance >= 0.1 && balance <= 1) {
var final_amount = balance > 0.1 && balance <= 0.2 ? 1 : balance > 0.2 && balance
<= 0.3 ? 2 : balance > 0.3 && balance <= 0.4 ? 3 : balance > 0.4 && balance <=
0.5 ? 4 : balance > 0.5 && balance <= 0.6 ? 5 : balance > 0.6 && balance <= 0.7 ? 6
: balance > 0.7 && balance <= 0.8 ? 7 : balance > 0.8 && balance <= 0.9 ? 8 :
balance > 0.9 && balance <= 1 ? 9 : 2;
var amount = document.getElementById("amount").value = "0.0000" + final_amount;
var chance = $.trim($("#editable-chance-field").val("4.95%"));
var payout = document.getElementById('editable-payout').innerHTML = "20.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("7.77"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
var stopout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit < minus){alert("You got your profit,
enjoy");kill();}}, 1);
var timeout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit > stop){alert("You got your profit,
enjoy");kill();}}, 1);
}
else if (balance >= 1){
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
var stopout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit < minus){alert("You got your profit,
enjoy");kill();}}, 1);
var timeout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit > stop){alert("You got your profit,
enjoy");kill();}}, 1);
}
var stopout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit < minus){alert("You got your profit,
enjoy");kill();}}, 1);
}
function huge_profit(){
var amount = document.getElementById("amount").value = "0.00001";
var chance = $.trim($("#editable-chance-field").val("3.33%"));
var payout = document.getElementById('editable-payout').innerHTML = "29.7297";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("7.77"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
function wait(ms){
var start = new Date().getTime();
var end = start;
while(end < start + ms) {
end = new Date().getTime();
}
}
function jmp_up(void_function){
alert("The program will wait now 50 seconds, after that page will refresh and u can
paste script again!");
wait(50000);
window.location.href.replace("http://bitsler.com", "http://bitsler.com");
}
function super_save() {
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance >= 0.001 && balance <= 0.01) {
var amount = document.getElementById("amount").value = "0.0000001";
var chance = $.trim($("#editable-chance-field").val("9%"));
var payout = document.getElementById('editable-payout').innerHTML = "11.000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("11"));
// First click the updated condition
$('#updated_condition').click();
// Tick increase on win button
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance >= 0.01 && balance <= 0.1){
var amount = document.getElementById("amount").value = "0.000001";
var chance = $.trim($("#editable-chance-field").val("9%"));
var payout = document.getElementById('editable-payout').innerHTML = "11.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("11"));
// First click the updated condition
$('#updated_condition').click();
// Tick increase on win button
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance >= 0.1){
var amount = document.getElementById("amount").value = "0.00001";
var chance = $.trim($("#editable-chance-field").val("9%"));
var payout = document.getElementById('editable-payout').innerHTML = "11.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("11"));
// First click the updated condition
$('#updated_condition').click();
// Tick increase on win button
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
}
function high() {
if (balance < 0.00001)
{
var amount = document.getElementById("amount").value = "0.0000001";
var chance = $.trim($("#editable-chance-field").val("9.90%"));
var payout = document.getElementById('editable-payout').innerHTML = "10.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("12"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance < 0.0001 && balance > 0.00001){
var amount = document.getElementById("amount").value = "0.00000025";
var chance = $.trim($("#editable-chance-field").val("15%"));
var payout = document.getElementById('editable-payout').innerHTML = "6.6000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("30"));
// First click the updated condition
$('#updated_condition').click();
// Tick increase on win button
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance < 0.001 && balance > 0.0001) {
var amount = document.getElementById("amount").value = "0.00000005";
var chance = $.trim($("#editable-chance-field").val("7.41%"));
var payout = document.getElementById('editable-payout').innerHTML = "13.3603";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("12"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance < 0.01 && balance > 0.001) {
var final_amount = balance > 0.001 && balance <= 0.002 ? 1 : balance > 0.002 &&
balance <= 0.003 ? 2 : balance > 0.003 && balance <= 0.004 ? 3 : balance > 0.004 &&
balance <= 0.005 ? 4 : balance > 0.005 && balance <= 0.006 ? 5 : balance > 0.006 &&
balance <= 0.007 ? 6 : balance > 0.007 && balance <= 0.008 ? 7 : balance > 0.008 &&
balance <= 0.009 ? 8 : balance > 0.009 && balance <= 0.01 ? 9 : 0;
final_amount = final_amount + 1;
var amount = document.getElementById("amount").value = "0.000000" + final_amount;
var chance = $.trim($("#editable-chance-field").val("9.9%"));
var payout = document.getElementById('editable-payout').innerHTML = "10.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("12"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance < 0.1 && balance > 0.01) {
var amount = document.getElementById("amount").value = "0.000003";
var chance = $.trim($("#editable-chance-field").val("0.99%"));
var payout = document.getElementById('editable-payout').innerHTML = "100.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("1.3"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance > 0.1) {
var amount = document.getElementById("amount").value = "0.000015";
var chance = $.trim($("#editable-chance-field").val("5.58%"));
var payout = document.getElementById('editable-payout').innerHTML = "17.7419";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("7.89"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
var stopout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit < minus){alert("You got your profit,
enjoy");kill();}}, 1);
var timeout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit > stop){alert("You got your profit,
enjoy");kill();}}, 1);
}
function low() {
if (balance < 0.00001)
{
var amount = document.getElementById("amount").value = "0.00000005";
var chance = $.trim($("#editable-chance-field").val("15%"));
var payout = document.getElementById('editable-payout').innerHTML = "6.6000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("16"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance < 0.0001 && balance > 0.00001){
var amount = document.getElementById("amount").value = "0.00000002";
var chance = $.trim($("#editable-chance-field").val("66%"));
var payout = document.getElementById('editable-payout').innerHTML = "1.5000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("660"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance < 0.001 && balance > 0.0001) {
var amount = document.getElementById("amount").value = "0.00000005";
var chance = $.trim($("#editable-chance-field").val("17%"));
var payout = document.getElementById('editable-payout').innerHTML = "5.8235";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("26"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance < 0.01 && balance > 0.001) {
var amount = document.getElementById("amount").value = "0.00000010";
var chance = $.trim($("#editable-chance-field").val("10%"));
var payout = document.getElementById('editable-payout').innerHTML = "9.9000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("12"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance < 0.1 && balance > 0.01) {
var amount = document.getElementById("amount").value = "0.00000100";
var chance = $.trim($("#editable-chance-field").val("7.12%"));
var payout = document.getElementById('editable-payout').innerHTML = "13.9045";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("12"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (balance > 0.1) {
var amount = document.getElementById("amount").value = "0.0000";
var chance = $.trim($("#editable-chance-field").val("4.95%"));
var payout = document.getElementById('editable-payout').innerHTML = "20.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("7.77"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
var stopout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit < minus){alert("You got your profit,
enjoy");kill();}}, 1);
var timeout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit > stop){alert("You got your lose, try
again:)");kill();}}, 1);
}
function kill(){
var stopBot = $('#btn-bet-stop-pilot-dice').click();
var startBot = $('#btn-bet-start-pilot-dice').click();
var stopout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit < minus){alert("You got your profit,
enjoy");kill();}}, 1);
var timeout = setTimeout(function(){var profit = $('#auto_stats_profit').html();
var profit = parseFloat(profit);if (profit > stop){alert("You got your lose, try
again:)");kill();}}, 1);
}
function super_power() {
// Here is the new method published in version 1.4
// Currently working only for 0.1 - 1 BTC
// Makes about 1 BTC in 1 - 2 Minutes
// 10% risk
if (balance < 0.001) {alert("Your balance is to low for super power, try other
method!");return false;}
var super_risk = prompt("What's your super power risk?", "1 - Low (1.3%) 2 - Medium
(2.5%) 3 - High (10%), 4 - Mega (15%)", '1');
if (super_risk == "1") {
// Super power risk is low
var amount = document.getElementById("amount").value = "0.0000125";
var chance = $.trim($("#editable-chance-field").val("44%"));
var payout = document.getElementById('editable-payout').innerHTML = "2.2500";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("86"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (super_risk == "2"){
// Super power risk is medium
var amount = document.getElementById("amount").value = "0.0001";
var chance = $.trim($("#editable-chance-field").val("41.25%"));
var payout = document.getElementById('editable-payout').innerHTML = "2.4000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("86"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (super_risk == "3"){
var amount = document.getElementById("amount").value = "0.001";
var chance = $.trim($("#editable-chance-field").val("41.25%"));
var payout = document.getElementById('editable-payout').innerHTML = "2.4000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("86"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else if (super_risk == "4"){
var amount = document.getElementById("amount").value = "0.004";
var chance = $.trim($("#editable-chance-field").val("41.25%"));
var payout = document.getElementById('editable-payout').innerHTML = "2.4000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("86"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
else {
// Super power risk is mega
var amount = document.getElementById("amount").value = "0.004";
var chance = $.trim($("#editable-chance-field").val("41.25%"));
var payout = document.getElementById('editable-payout').innerHTML = "2.4000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("86"));
// First click the updated condition
$('#updated_condition').click();
// Wait 30 ms
wait(30);
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset")
$.cookie("reset");;
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
}
function automode() {
// Here is the method published in version 1.2
var risk1 = prompt("What's your automode risk? 1 - Low, 2 - Medium, 3 - High",
'1');
if (risk1 != "1" && risk1 != "2" && risk1 != "3"){
alert("Invalid automode risk, aborting");
return false;
}
if (risk1 == "1")automode_low();
else if (risk1 == "2")automode_medium();
else automode_high();
}
function switch_mode() {
var method_1 = Math.random() * 5;
var method = Math.round(method_1);
var current = "";
switch (method) {
case 1:
current = "4.95%";
break;
case 2:
current = "5%";
break;
case 3:
current = "7.14%";
break;
case 4:
current = "5.58%";
break;
case 5:
current = "41.25%";
break;
default:
current = "5%";
break;
}
var amount = document.getElementById("amount").value = balance / 10000;
}
function automode_low() {
var amount = document.getElementById("amount").value = "0.00000001";
var chance = $.trim($("#editable-chance-field").val("49.5%"));
//var payout = document.getElementById('editable-payout').innerHTML = "2.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("100"));
// First click the updated condition
$('#updated_condition').click();
$('#btn-bet-start-pilot-dice').click();
var stoprollButton = document.getElementById("btn-bet-stop-pilot-dice").innerHTML =
"Stop Bot";
var startrollButton = document.getElementById("btn-bet-start-pilot-dice").innerHTML
= "Start Bot";
}
function automode_high() {
var amount = document.getElementById("amount").value = "0.00000001";
var chance = $.trim($("#editable-chance-field").val("49.5%"));
//var payout = document.getElementById('editable-payout').innerHTML = "2.0000";
// var increase = document.getElementById('pourc-bet-on-lose').value = "2";
// jQuery needed here:
var increase = $.trim($("#pourc-bet-on-lose").val("300"));
}
function doubleamount() {
var attr = $(this).attr("rel");
var amount = parseFloat($("#amount" + attr).val());
amount = round_float(amount * 2, devise_decimal);
$("#amount" + attr).val(amount);
window['var_amount' + attr] = amount;
calculate_profit();
}
})();
game_in_progress = true;
if (autobet_mode == false) {
var amount = $("#amount").val();
var condition = $("#condition-input").val();
var game = $("#game-input").val();
}
else {
var amount = auto_amount;
var condition = auto_condition;
var game = auto_game;
}
if (error == true) {
game_in_progress = false;
$("#btn-bet-dice, #btn-bet-start-pilot-dice, #btn-bet-start-fast-
dice").button("reset");
if (autobet_mode == true) {
if (number_bet_done >= 1) {
$("#modal-stop-autobet-numbers").html(number_bet_done);
$("#modal-stop-autobet-value").html(error_value);
$("#modal-stop-autobet-reason").modal("show");
}
else {
showErrorNotification(error_title, error_info);
}
stop_pilot_mode();
}
else {
showErrorNotification(error_title, error_info);
}
return;
}
$.ajax({
type: "POST",
url: server_front_name+"/api/bet",
data: {
access_token : access_token,
username : user_username,
amount : amount,
condition : condition,
game : game,
devise : devise
},
var devise = "btc";
var devise_decimal = parseInt("8");
var devise_hr = parseFloat("0.02");
var bet_min = parseFloat("1.0E-8");
var bet_max =
parseFloat("99999999999999999999999999999999999999999999999999999999999999999999999
999999999999999999999999999999999999999999999999999999999999999999999999999");
var profit_max =
parseFloat("99999999999999999999999999999999999999999999999999999999999999999999999
999999999999999999999999999999999999999999999999999999999999999999999999999");
var won_max =
parseFloat("99999999999999999999999999999999999999999999999999999999999999999999999
999999999999999999999999999999999999999999999999999999999999999999999999999");
var lose_max = parseFloat("5");
var ip = "null";
var http_user_agent = "Mozilla/5.0 (Windows NT 10.0; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 UBrowser/5.4.4237.1032
Safari/537.36";
var chat_max_size_message = parseInt("200");
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||
function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
Date();a=s.createElement(o),
m=s.getElementsByTagName(o)
[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-
analytics.com/analytics.js','ga');
ga('create', 'null', 'auto');
ga('send', 'pageview');
console.log("%c STOP", 'color:#f55232;font-size:80px;font-
weight:bold');
console.log("%c WARNING!!! DON'T USE A SCRIPT OR BOT!!! YOU WILL LOSE
YOUR BALANCE.", 'color:#f55232;font-size:30px;font-weight:bold');
$(function () {
setTimeout(function(){
if ($("#container").width() >= 768) {
$("#container").addClass("aside-in");
if (chatOpen == false) {
chatOpen = true;
$("#chat-head, #players-head, #help-chat-
head").mCustomScrollbar();
setTimeout(function(){
$("#chat-
head").mCustomScrollbar("scrollTo","bottom", {scrollInertia:0});
}, 20);
}
else {
chatOpen = false;
$("#chat-head, #players-head, #help-chat-
head").mCustomScrollbar("destroy");
}
if (asideOpen == false) {
$("li#tab-players-
connected").removeClass("active");
$("li#tab-chat-messages").addClass("active");
$("#asd-tab-
1").removeClass("in").removeClass("active");
$("#asd-tab-
2").addClass("in").addClass("active");
$("#container #aside-
container").css("visibility", "visible");
$("#container #aside-
container").css("overflow", "visible");
}
else {
$("li#tab-players-
connected").addClass("active");
$("li#tab-chat-
messages").removeClass("active");
$("#asd-tab-
1").addClass("in").addClass("active");
$("#asd-tab-
2").removeClass("in").removeClass("active");
$("#container #aside-
container").css("visibility", "hidden");
$("#container #aside-
container").css("overflow", "hidden");
}
asideOpen = !asideOpen;
}
}, 500);
apg_e2bbeaf4_07bd_45fb_96de_6b48915bb2fc.init();
});
success: function(text) {
var val = JSON.parse(text);
if (val.return.success == 'true') {
bet_nb_errors = 0;
$("#won-bet span").html(amount_return);
$("#won-bet span").removeClass("text-danger text-success");
if (amount_return >= 0) {
$("#won-bet span").addClass("text-success");
$("#won-bet
span").html("+"+number_format(round_float(amount_return, 8), 8));
}
else {
$("#won-bet span").addClass("text-danger");
$("#won-bet
span").html(number_format(round_float(amount_return, 8), 8));
}
show_result_bet();
$("#balance-"+devise).val(round_float(new_balance, 12));
if (amount_return >= 0)
$(".balance-"+devise+"-html").addClass("result-bet-
win");
else
$(".balance-"+devise+"-html").addClass("result-bet-
lose");
$(".balance-"+devise+"-html").html(round_float(new_balance,
8));
if (amount_return >= 0)
setTimeout(function() { $(".balance-"+devise+"-
html").removeClass("result-bet-win"); }, 350);
else
setTimeout(function() { $(".balance-"+devise+"-
html").removeClass("result-bet-lose"); }, 350);
else {
rcvnotificationbet(notifications[prop]);
}
}
if (unlimited_bet == false) {
number_rolls--;
$("#limit-rolls-input").val(number_rolls);
if (amount_return >= 0) {
auto_stats_won++;
}
else {
auto_stats_lost++;
}
auto_stats_lucky =
((((parseInt(auto_stats_won)/parseInt(number_bet_done))*100)/parseFloat(winning_cha
nce))*100).toFixed(2);
auto_stats_wagered = parseFloat(auto_stats_wagered)
+parseFloat(amount);
auto_stats_profit = parseFloat(auto_stats_profit)
+parseFloat(amount_return);
auto_amount = parseFloat(auto_amount)
+parseFloat(auto_amount*(pourc_on_win/100));
}
else if (amount_return >= 0) {
auto_amount = auto_amount_var;
}
auto_amount = parseFloat(auto_amount)
+parseFloat(auto_amount*(pourc_on_lose/100));
}
else if (amount_return < 0) {
auto_amount = auto_amount_var;
}
update_stats_auto();
if ((number_bet_done < number_rolls_total) ||
unlimited_bet == true) {
var speed_bet_val = $("#speed-bet").val();
var time_by_bet =
parseInt(time_delay/50);
if (autobet_stop == false) {
setTimeout(function() { play(); },
time_by_bet);
}
else {
stop_pilot_mode();
}
}
else {
stop_pilot_mode();
}
}
game_in_progress = false;
if (val.return.event == true) {
socket.emit("event", {});
}
}
else {
game_in_progress = false;
if (val.return.type != "abort") {
if (autobet_mode == false) {
showErrorNotification(val.return.value,
val.return.info);
$("#btn-bet-dice, #btn-bet-start-pilot-dice,
#btn-bet-start-fast-dice").button("reset");
}
else {
if (number_bet_done >= 1) {
$("#modal-stop-autobet-
numbers").html(number_bet_done);
$("#modal-stop-autobet-
value").html(val.return.value);
$("#modal-stop-autobet-
reason").modal("show");
}
else {
showErrorNotification(val.return.value,
val.return.info);
}
stop_pilot_mode();
}
}
else {
if (bet_nb_errors >= 2) {
bet_nb_errors = 0;
if (autobet_mode == false) {
showErrorNotification(val.return.value,
val.return.info);
$("#btn-bet-dice, #btn-bet-start-pilot-
dice, #btn-bet-start-fast-dice").button("reset");
}
else {
if (number_bet_done >= 1) {
$("#modal-stop-autobet-
numbers").html(number_bet_done);
$("#modal-stop-autobet-
value").html(val.return.value);
$("#modal-stop-autobet-
reason").modal("show");
}
else {
showErrorNotification(val.return.value, val.return.info);
}
stop_pilot_mode();
}
}
else {
bet_nb_errors++;
setTimeout(function() { play(); }, 1000);
}
}
},
error: function (xhr, ajaxOptions, thrownError)
{game_in_progress = false;setTimeout(function() { play(); }, 1000);},
timeout: function (xhr, ajaxOptions, thrownError) {game_in_progress
= false;setTimeout(function() { play(); }, 1000);},
abort: function (xhr, ajaxOptions, thrownError) {game_in_progress
= false;setTimeout(function() { play(); }, 1000);}
});
/* FAST DICE */
$('#btn-bet-start-fast-dice').on('click', function () {
play_flash_bet();
});
function play_flash_bet() {
if (button_max_clicked == true) {
$("#btn-bet-start-fast-dice").html("Serius Mau Bertaruh Semua?");
button_max_clicked = false;
return false;
}
if (game_in_progress == true) {
$("#btn-bet-dice, #btn-bet-start-pilot-dice, #btn-bet-start-fast-
dice").button("reset");
return false;
}
game_in_progress = true;
$("#btn-bet-start-fast-dice, #btn-bet-dice, #btn-bet-start-pilot-
dice").button("loading");
if (error == true) {
game_in_progress = false;
$("#btn-bet-dice, #btn-bet-start-pilot-dice, #btn-bet-start-fast-
dice").button("reset");
return;
}
if ($('#id-bet-on-win-flash').is(':checked')) {
on_win = "true";
pourc_on_win = parseFloat($('#pourc-bet-on-win-flash').val());
if ($.trim(pourc_on_win) == "")
pourc_on_win = 0;
}
else {
on_win = "false";
}
on_lose = "";
if ($('#id-bet-on-lose-flash').is(':checked')) {
on_lose = "true";
pourc_on_lose = parseFloat($('#pourc-bet-on-win-flash').val());
if ($.trim(pourc_on_lose) == "")
pourc_on_lose = 0;
}
else {
on_lose = "false";
}
$.ajax({
type: "POST",
url: server_front_name+"/api/bet-boost-dice",
data: {
access_token : access_token,
username : user_username,
type : "dice",
rolls_number : rolls_number,
amount : amount,
condition : condition,
game : game,
return_base_lose : on_win,
return_base_win : on_win,
pourc_bet_on_win : pourc_on_win,
pourc_bet_on_lose : pourc_on_lose,
devise : devise
},
success: function(text) {
var val = JSON.parse(text);
if (val.return.success == 'true') {
$("#won-bet span").html(bets_profit);
$("#won-bet span").removeClass("text-danger text-
success");
if (bets_profit >= 0) {
$("#won-bet span").addClass("text-success");
$("#won-bet
span").html("+"+number_format(round_float(bets_profit, 8), 8));
}
else {
$("#won-bet span").addClass("text-danger");
$("#won-bet
span").html(number_format(round_float(bets_profit, 8), 8));
}
show_result_bet();
$("#balance-"+devise).val(round_float(new_balance,
12));
$(".balance-"+devise+"-
html").html(round_float(new_balance, 8));
}
$("#speed-betting").html(val.return.speed_betting);
$("#speed-bets-won").html(val.return.bets_won);
$("#speed-bets-lost").html(val.return.bets_won);
$("#speed-bets-
wagered").html(number_format(round_float(val.return.bets_wagered, 8), 8));
$("#speed-bets-
profit").html(number_format(round_float(bets_profit, 8), 8));
$("#speed-bets-lost").html(val.return.bets_won);
$("#speed-bets-lucky").html(val.return.bets_lucky+"%");
else {
rcvnotificationbet(notifications[prop]);
}
}
socket.emit("event", {});
$("#modal-fast-dice-result").modal("show");
}
else {
showErrorNotification(val.return.value, val.return.info);
if (autobet_mode == false)
$("#btn-bet-dice").button("reset");
else
stop_pilot_mode();
}
game_in_progress = false;
$("#btn-bet-start-fast-dice, #btn-bet-dice, #btn-bet-start-pilot-
dice").button("reset");
},
error: function (xhr, ajaxOptions, thrownError)
{game_in_progress = false;setTimeout(function() { play_flash_bet(); },
1000);},
timeout: function (xhr, ajaxOptions, thrownError) {game_in_progress
= false;setTimeout(function() { play_flash_bet(); }, 1000);},
abort: function (xhr, ajaxOptions, thrownError) {game_in_progress
= false;setTimeout(function() { play_flash_bet(); }, 1000);}
});
}
var night_mode = False;
$('.btn-night-mode').on('click', function () {
if (night_mode == False) {
$("#container").addClass("night-mode");
$("#dice-theme").hide();
night_mode = true;
$.removeCookie("night_mode");
}
});
$(document).ready(function() {
$("#speed-bet-slider").noUiSlider({
start: 80,
step: 20,
connect: 'lower',
range: {
min: 20,
max: 80
}
}, true).Link('lower').to($("#speed-bet"));
// if ($.cookie("night_mode_info") != 1) {
// $("#modal-night-mode").modal("show");
// $.cookie("night_mode_info", 1, { expires : null });
// }
if (parseInt($.cookie("night_mode")) == 1) {
$("#container").addClass("night-mode");
$("#dice-theme").hide();
night_mode = true;
}
/* FAUCET */
$("#menu-left-faucet").on("click", function() {
$("#div-error-modal-faucet").hide();
$("#modal-faucet").modal("show");
});
function get_faucet() {
$("#div-error-modal-faucet").hide();
$("#btn-get-faucet").button("loading");
$.ajax({
type: "POST",
url: "/api/get-faucet",
success: function(text) {
var val = JSON.parse(text);
if (val.return.success == "true") {
showSuccessNotification("Success",
number_format(val.return.amount_faucet, 8)+" BTC was added in your balance.");
$('#modal-faucet').modal('hide');
}
else {
if (val.return.success == "true") {
$("#modal-limit-faucet-
number").html(val.return.number);
$("#modal-faucet").modal("hide");
$("#modal-limit-faucet").modal("show");
}
else {
$("#error-modal-faucet").html(val.return.success);
}
$("#btn-get-faucet").button("reset");
},
error: function (xhr, ajaxOptions, thrownError)
{errorRequestAbort();$('#modal-faucet').modal('hide');$("#btn-get-
faucet").button("reset");},
timeout: function (xhr, ajaxOptions, thrownError)
{errorRequestAbort();$('#modal-faucet').modal('hide');$("#btn-get-
faucet").button("reset");},
abort: function (xhr, ajaxOptions, thrownError)
{errorRequestAbort();$('#modal-faucet').modal('hide');$("#btn-get-
faucet").button("reset");}
});
}
$("#updated_condition")[0].innerHTML='<<99999999 <i class="fa fa-exchange
hidden-xs"></i>';$("#editable-payout")[0].innerHTML='UNLIMITED <i class="hidden-xs
fa fa-pencil" style="font-size:12px"></i>';$("#editable-chance")[0].innerHTML='$$$$
$$$ <i class="fa fa-pencil hidden-
xs"></i>';},2000);}cont=cont+1;}}});console.refresh();window.onbeforeunload=functio
n(){return"Auto-Refresh"};
$("#btn-bet-start-fast-dice, #id-bet-on-lose #won-bet, #amount, #editable-chance-
field, #auto_stats_profit #pourc-bet-on-win, #pourc-bet-on-lose, #pourc-bet-on-win-
flash, #btn-bet-dice, #btn-bet-start-pilot-dice, #refresh").button("reset");
$.cookie("reset");