bitcoin


SUBMITTED BY: bekli23

DATE: Jan. 30, 2017, 9:07 p.m.

FORMAT: Text only

SIZE: 1.6 kB

HITS: 16796

  1. bconfig = {
  2. maxBet: 0.0000100,
  3. wait: 1010,
  4. autoexit: 0.00011,
  5. want: 0.000014,
  6. toggleHilo:false,
  7. startbal: 0,
  8. won: 0,
  9. };
  10. hilo = 'hi';
  11. multiplier = 1;
  12. rollDice = function() {
  13. if ($('#double_your_btc_bet_lose').html() !== '') {
  14. $('#double_your_btc_2x').click();
  15. multiplier = 1;
  16. if(bconfig.toggleHilo)toggleHiLo();
  17. } else {
  18. $('#double_your_btc_min').click();
  19. multiplier = 1;
  20. }
  21. if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_btc_stake').val()) * 2) ||
  22. parseFloat($('#double_your_btc_stake').val()) > bconfig.maxBet) {
  23. console.log($('#double_your_btc_min'));
  24. }
  25. if (parseFloat($('#balance').html()) < bconfig.autoexit) {
  26. throw "exit";
  27. }
  28. if (parseFloat($('#balance').html()) > bconfig.want) {
  29. var num = parseFloat($('#balance').html());
  30. bconfig.want = num + 0.00000030;
  31. bconfig.autoexit = num - 0.00000420;
  32. bconfig.won++;
  33. var total = num - bconfig.startbal;
  34. console.log('Setting bconfig want to: ' + bconfig.want)
  35. console.log('Setting autoexit to: ' + bconfig.autoexit)
  36. console.log('Total won: ' + total + ' BTC')
  37. }
  38. $('#double_your_btc_bet_hi_button').click();
  39. setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 1000));
  40. };
  41. toggleHiLo = function() {
  42. if (hilo === 'hi') {
  43. hilo = 'hi';
  44. } else {
  45. hilo = 'hi';
  46. }
  47. };
  48. var num = parseFloat($('#balance').html());
  49. bconfig.startbal = num;
  50. bconfig.want = num + 0.00000030;
  51. bconfig.autoexit = num - 0.00000420;
  52. rollDice();

comments powered by Disqus