Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

function commaSeparateNumber(e) {

for (;
/(\d+)(\d{3})/.test(e.toString());) e = e.toString().replace(/(\d+)
(\d{3})/, "$1,$2");
return e
}

function AutoBet(e, t, a, o, n, i, s, r, l, _, c, d, u, p, b, m, h, f, g, y) {
if (1 != stop_autobet) {
$("#double_your_btc_digits").show(), $("#autobet_results_box").show(), $
("#double_your_btc_bet_hi_button").attr("disabled", !0), $
("#double_your_btc_bet_lo_button").attr("disabled", !0);
var w = parseFloat($("#double_your_btc_stake").val()).toFixed(8);
parseFloat(w) > parseFloat(d) && (d = w), s = parseFloat(s).toFixed(2), r =
parseFloat(r).toFixed(2);
var v = 0,
k = $(".play_jackpot:checkbox:checked").map(function() {
return this.value
}).get();
k.length > 0 && (v = k.toString());
var x = $("#next_client_seed").val(),
C = e;
"alternate" == e && (C = t % 2 == 0 ? "hi" : "lo"), $.get("/cgi-bin/bet.pl?
m=" + C + "&client_seed=" + x + "&jackpot=" + v + "&stake=" + w + "&multiplier=" +
$("#double_your_btc_payout_multiplier").val() + "&rand=" + Math.random(),
function(k) {
var x = k.split(":");
if ($("#double_your_btc_error").html(""), $
("#double_your_btc_error").hide(), $("#double_your_btc_stake").removeClass("input-
error"), $("#double_your_btc_bet_win").html(""), $
("#double_your_btc_bet_lose").html(""), $("#double_your_btc_bet_win").hide(), $
("#double_your_btc_bet_lose").hide(), $("#jackpot_message").removeClass("green"), $
("#jackpot_message").removeClass("red"), $("#jackpot_message").html(""), $
("#jackpot_message").hide(), $("#double_your_btc_result").show(), "s1" == x[0]) {
t--, c++, $("#rolls_played_count").html(c), $
("#rolls_remaining_count").html(t), $("#autobet_highest_bet").html(d + " BTC");
var T = x[2],
B = T.split("");
if (T.toString().length < 5)
for (var F = 5 - T.toString().length, S = 0; S < F; S++)
B.unshift("0");
$("#multiplier_first_digit").html(B[0]), $
("#multiplier_second_digit").html(B[1]), $("#multiplier_third_digit").html(B[2]), $
("#multiplier_fourth_digit").html(B[3]), $("#multiplier_fifth_digit").html(B[4]), $
("#balance").html(x[3]), max_deposit_bonus = parseFloat(x[18]).toFixed(8),
balanceChanged(), $("#balance_usd").html(x[5]), $
("#next_server_seed_hash").val(x[6]), $("#next_nonce").html(x[8]), $
(".previous_server_seed").html(x[9]), $(".previous_server_seed").val(x[9]), $
("#previous_server_seed_hash").val(x[10]), $(".previous_client_seed").html(x[11]),
$(".previous_client_seed").val(x[11]), $(".previous_nonce").html(x[12]), $
("#previous_roll").html(x[2]), $("#no_previous_rolls_msg").hide(), $
("#previous_rolls_table").show(), $("#previous_roll_strings").show(), $
("#bonus_account_balance").html(x[16] + " BTC"), $
("#bonus_account_wager").html(x[17] + " BTC"), (parseFloat(x[16]) <= 0 ||
parseFloat(x[17]) <= 0) && 0 == bonus_table_closed && setTimeout(function() {
$("#bonus_account_table").hide(), $
("#user_claimed_deposit_bonus").hide(), bonus_table_closed = 1
}, 5e3), max_deposit_bonus >= parseFloat(min_bonus_amount) && 1 ==
bonus_table_closed && $("#bonus_eligible_msg").show(), parseFloat(x[19]) > 0 &&
parseFloat(x[19]) < 100 && ($(".multiply_max_bet").html(x[19] + " BTC"), $
(".multiply_max_bet").val(x[19]), max_win_amount = parseFloat(x[19])), $
("#verify_rolls_link").attr("href", "https://s3.amazonaws.com/roll-
verifier/verify.html?server_seed=" + x[9] + "&client_seed=" + x[11] +
"&server_seed_hash=" + x[10] + "&nonce=" + x[12]), insertIntoBetHistory(x[1], x[4],
x[2], x[9], x[11], x[10], x[12], "DICE", C, v, w, $
("#double_your_btc_payout_multiplier").val(), x[20], x[21], x[22], x[23], 0,
"normal");
var I = C.toUpperCase();
if ("w" == x[1]) {
if ($("#double_your_btc_bet_win").show(), $
("#double_your_btc_bet_win").html("You BET " + I + " so you win " + x[4] + "
BTC!"), "<font color=green>+" + x[4] + "</font>", p = parseFloat((1e8 * p + 1e8 *
x[4]) / 1e8).toFixed(8), 1 == n) $
("#double_your_btc_stake").val(parseFloat(o).toFixed(8));
else if (0 != parseFloat(s)) {
var E = parseFloat(w * (s / 100 + 1)).toFixed(8);
$("#double_your_btc_stake").val(E)
}
parseFloat(x[4]) > parseFloat(u) && (u =
parseFloat(x[4]).toFixed(8)), $("#autobet_highest_win").html(u + " BTC"), 0 != b &&
($("#double_your_btc_payout_multiplier").val(b), $
("#double_your_btc_payout_multiplier").keyup()), 1 === y &&
$.ionSound.play("bell_ring")
}
if ("l" == x[1]) {
if ($("#double_your_btc_bet_lose").show(), $
("#double_your_btc_bet_lose").html("You BET " + I + " so you lose " + x[4] + "
BTC"), "<font color=red>-" + x[4] + "</font>", p = parseFloat((1e8 * p - 1e8 *
x[4]) / 1e8).toFixed(8), 1 == i) $
("#double_your_btc_stake").val(parseFloat(o).toFixed(8));
else if (0 != r) {
E = parseFloat(w * (r / 100 + 1)).toFixed(8);
$("#double_your_btc_stake").val(E)
}
0 != m && ($("#double_your_btc_payout_multiplier").val(m), $
("#double_your_btc_payout_multiplier").keyup()), 1 === y && $.ionSound.play("tap")
}

You might also like