Satoshi Mine Powerfull Script


SUBMITTED BY: ahmart

DATE: April 25, 2016, 11:40 a.m.

FORMAT: Text only

SIZE: 5.4 kB

HITS: 286

  1. var bet = 51; // place your bet here. minimum is 30.
  2. /* in case the bot will click a bomb, bet will be adjusted on the next round to compensate the loss.
  3. the bot will set the bet again to the original value on the next next round.*/
  4. var bigBet = (bet+(0.039*bet))/0.039;
  5. //var bigBet = 500;
  6. bigBet = Math.ceil(bigBet);
  7. var risky_bet_chance1 = 0;
  8. var risky_bet_chance2 = 0;
  9. //var stop_limit_balance = 6000;
  10. /* click sequence interval in milliseconds. equivalent to 2 seconds.
  11. You can change it to longer than 2 seconds but please don't change it to a lower value because it can messed up the timings if you have a slow internet. If you have a very slow internet connection, I recommend setting it up to 3 seconds or higher. */
  12. var interval = 1000;
  13. var restart, timeout1, timeout2, timeout3, timeout4, timeout5, timeout6, timeout7, num_clicks;
  14. // force the difficulty to 1 mine at the start of the game.
  15. $('.quarter').eq(1).find('button').click();
  16. start_game();
  17. function start_game() {
  18. var risky_bet = Math.floor((Math.random() * 100) + 1);
  19. if(restart == 1){
  20. if (risky_bet < risky_bet_chance1) {
  21. $('#bet').val(Math.ceil(1.1*bigBet));
  22. } else {
  23. $('#bet').val(bigBet);
  24. }
  25. restart = 0;
  26. num_clicks = 1;
  27. } else {
  28. if (risky_bet < risky_bet_chance2) {
  29. $('#bet').val(Math.ceil(1.5*bet));
  30. } else {
  31. $('#bet').val(bet);
  32. }
  33. num_clicks = 3;
  34. }
  35. $('#start_game').click();
  36. timeout1 = setTimeout(click_tile1, interval)
  37. } // end of function start_game()
  38. function click_tile1() {
  39. var tile1 = Math.floor((Math.random() * 25) + 1);
  40. //search_last_bomb();
  41. $('.game_left').first().find('li[data-tile='+tile1+']').click();
  42. //$('.game_left [data-tile="'+tile1+'"]').click();
  43. setTimeout(function(){
  44. if($('.game_left').first().find('li[data-tile='+tile1+']').hasClass('bomb')){
  45. $('.quarter').first().find('button').click();
  46. var bal = $('.balance .num').html();
  47. bal = $.trim(bal);
  48. bal = bal.replace(',','');
  49. bal = parseInt(bal);
  50. //bal = bigBet // practice mode
  51. if(bal < bigBet ){
  52. stopgame();
  53. } else {
  54. restart = 1;
  55. start_game();
  56. }
  57. } else {
  58. if (num_clicks >= 2) {
  59. timeout2 = setTimeout(click_tile2, interval);
  60. } else {
  61. $('.quarter').eq(1).find('button').click();
  62. timeout3 = setTimeout(cashout, interval);
  63. }
  64. }
  65. }, interval);
  66. } // end of function click_tile1()
  67. function click_tile2() {
  68. var tile2 = Math.floor((Math.random() * 25) + 1);
  69. //search_last_bomb();
  70. $('.game_left').first().find('li[data-tile='+tile2+']').click();
  71. //$('.game_left [data-tile="'+tile2+'"]').click();
  72. setTimeout(function(){
  73. if($('.game_left').first().find('li[data-tile='+tile2+']').hasClass('bomb')){
  74. $('.quarter').first().find('button').click();
  75. var bal = $('.balance .num').html();
  76. bal = $.trim(bal);
  77. bal = bal.replace(',','');
  78. bal = parseInt(bal);
  79. //bal = bigBet // practice mode
  80. if(bal < bigBet){
  81. stopgame();
  82. } else {
  83. restart = 1;
  84. start_game();
  85. }
  86. }else{
  87. if (num_clicks >= 3) {
  88. timeout4 = setTimeout(click_tile3, interval);
  89. } else {
  90. $('.quarter').eq(1).find('button').click();
  91. timeout5 = setTimeout(cashout, interval);
  92. }
  93. }
  94. }, interval);
  95. } // end of function click_tile2()
  96. function click_tile3() {
  97. var tile3 = Math.floor((Math.random() * 25) + 1);
  98. //search_last_bomb();
  99. $('.game_left').first().find('li[data-tile='+tile3+']').click();
  100. //$('.game_left [data-tile="'+tile2+'"]').click();
  101. setTimeout(function(){
  102. if($('.game_left').first().find('li[data-tile='+tile3+']').hasClass('bomb')){
  103. $('.quarter').first().find('button').click();
  104. var bal = $('.balance .num').html();
  105. bal = $.trim(bal);
  106. bal = bal.replace(',','');
  107. bal = parseInt(bal);
  108. //bal = bigBet // practice mode
  109. if(bal < bigBet){
  110. stopgame();
  111. } else {
  112. restart = 1;
  113. start_game();
  114. }
  115. }else{
  116. $('.quarter').eq(1).find('button').click();
  117. timeout6 = setTimeout(cashout, interval);
  118. }
  119. }, interval);
  120. } // end of function click_tile2()
  121. function cashout() {
  122. $('.game_right').first().find('.cashout').click();
  123. timeout7 = setTimeout(start_game, interval);
  124. } // end of cashout
  125. function stopgame(){
  126. clearTimeout(timeout1);
  127. clearTimeout(timeout2);
  128. clearTimeout(timeout3);
  129. clearTimeout(timeout4);
  130. clearTimeout(timeout5);
  131. clearTimeout(timeout6);
  132. clearTimeout(timeout7);
  133. } // end of stopgame()
  134. function search_last_bomb(){
  135. var has_chosen = 0;
  136. if($('.game_left').eq(1) != null && $('.game_left').eq(1).length > 0){
  137. $('.game_left').eq(1).find('.board').find('li').each(function(i,elem){
  138. if($(elem).hasClass('reveal')){
  139. has_chosen = 1;
  140. tile1 = $(elem).data('tile');
  141. return false;
  142. }
  143. });
  144. }
  145. if(has_chosen == 0){
  146. tile1 = Math.floor((Math.random() * 25) + 1);
  147. }
  148. } // end of searchLastBombTile()

comments powered by Disqus