dogein


SUBMITTED BY: Guest

DATE: Oct. 8, 2014, 1:07 p.m.

FORMAT: Text only

SIZE: 1.9 kB

HITS: 1393

  1. var minValue = 0.0005,
  2. maxLoss = 10000000000000,
  3. aimedProfit = 30,
  4. maxOps = 500000000000000,
  5. endResult = 0,
  6. ops = 0,
  7. bet = function (a, b, c) {
  8. var seed = window.document.getElementById('next_client_seed').value;
  9. $.get("?op=double_your_doge&m=" + (b ? "lo" : "hi") + "&stake=" + a + "&multiplier=2&jackpot=0&client_seed=" + seed, function (d) {
  10. d = d.split(":");
  11. $("#balance").html(d[3]);
  12. c(a, b, "w" === d[1])
  13. })
  14. }, martingale = function (a, b, c) {
  15. c || a >= maxLoss && 0 !== maxLoss ? (b = !b, newValue = minValue) : newValue = 2 * a;
  16. endResult = c ? endResult + a : endResult - a;
  17. console.log((c ? "+" : "-") + a);
  18. ops++;
  19. (ops < maxOps || 0 === maxOps) && (endResult < aimedProfit || 0 === aimedProfit) ? bet(newValue, b, martingale) :
  20. (console.log("Martingale finished in " + ops + " operations!"), console.log("Result: " + endResult))
  21. };
  22. martingale(minValue, !1, !1);
  23. bconfig = { maxBet: 0.00032768, wait: 500, toggleHilo:false }; hilo = 'lo'; multiplier = 1; rollDice = function() { if ($('#double_your_doge_bet_lose').html() !== '') { $('#double_your_btc_2x').click(); multiplier++; if(bconfig.toggleHilo)toggleHiLo(); } else { $('#double_your_doge_min').click(); multiplier = 1; } if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_btc_stake').val()) * 2) || parseFloat($('#double_your_doge_stake').val()) > bconfig.maxBet) { $('#double_your_doge_min').click(); } $('#double_your_doge_bet_' + hilo + '_button').click(); setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 100)); }; toggleHiLo = function() { if (hilo === 'lo') { hilo = 'lo'; } else { hilo = 'lo'; } }; rollDice()

comments powered by Disqus