1 BTC in 1 DAY


SUBMITTED BY: teewaweth

DATE: April 15, 2016, 3:11 a.m.

UPDATED: May 20, 2017, 1:26 a.m.

FORMAT: Text only

SIZE: 6.4 kB

HITS: 1409

  1. http://freebitco.in/?r=1959463
  2. 1.Ctrl+Shif+j
  3. 2.Coppy Script
  4. 3.Past
  5. //COMMAND//
  6. //changeBet() ex: changeBet('0.00000005');
  7. console.clear();
  8. var startbalance = 0;
  9. var stopAt= '?';
  10. var round = 0;
  11. var gameLost=0;
  12. var gameWin=0;
  13. var higherbet=0;
  14. startbalance = $('#balance').text();
  15. var startValue = '0.00000001', // Don't lower the decimal point more than 4x of current balance
  16. stopPercentage = 0.001, // In %. I wouldn't recommend going past 0.08
  17. maxWait = 500, // In milliseconds
  18. stopped = false,
  19. stopBefore = 3; // In minutes
  20. var oldbet= 0.00000001;
  21. document.getElementById("advertise_link_li").innerHTML = '<a href="#" onclick="startGame()" class="advertise_link">START BOT</a>';
  22. var $loButton = $('#double_your_btc_bet_lo_button'),
  23. $hiButton = $('#double_your_btc_bet_hi_button');
  24. function higherBet(){
  25. console.log('Highest bet: '+higherbet);
  26. }
  27. function changeBet(bet){
  28. startValue=bet;
  29. }
  30. function realtime(time) {
  31. var sec_num =parseInt(time, 10) ; // don't forget the second param
  32. var hours = Math.floor(sec_num / 3600);
  33. var minutes = Math.floor((sec_num - (hours * 3600)) / 60);
  34. var seconds = sec_num - (hours * 3600) - (minutes * 60);
  35. if (hours!=0) {hours = hours+' Hours ';} else{hours = '';}
  36. if (minutes!=0) {minutes = minutes+' Minutes ';}
  37. else{minutes = '';}
  38. if (seconds < 10) {seconds = seconds;}
  39. var time = 'Playing time = '+hours+minutes+seconds+' Secondes';
  40. return time;
  41. }
  42. function roundnumb(){
  43. console.clear();
  44. if( round == stopAt)
  45. {
  46. stopGame()
  47. }
  48. else
  49. {
  50. round = round + 1;
  51. console.log('Round #' + round + ' / ' + stopAt);
  52. }
  53. var newbalance= $('#balance').text()
  54. var profit = (Number(newbalance) - Number(startbalance)).toFixed(8) ;
  55. console.log('Profit:' + profit + ' Bitcoin')
  56. }
  57. //Number of round. Type stopatRound(NUMBER_OF_ROUND) to change
  58. //function stopatRound(limitRound){
  59. //stopAt=limitRound;
  60. //}
  61. function multiply(){
  62. var current = $('#double_your_btc_stake').val();
  63. var multiply = (current * 2).toFixed(8);
  64. $('#double_your_btc_stake').val(multiply);
  65. console.log('Bet = ' + multiply);
  66. if( higherbet < multiply ){ higherbet=multiply; }
  67. }
  68. function getRandomWait(){
  69. var wait = Math.floor(Math.random() * maxWait ) + 100; //(Math.floor(Math.random() * 800) + 300) ; // avant 100
  70. console.log('Waiting for ' + wait + 'ms before next bet.');
  71. return wait ;
  72. }
  73. function startGame(limit){
  74. document.getElementById("advertise_link_li").innerHTML = '<a href="#" onclick="stopGame()" class="advertise_link">STOP BOT</a>';
  75. starttime=(new Date()).getTime();
  76. startValue = prompt("Number of satoshi you want to bet?", '0.00000001');
  77. oldbet=startValue;
  78. round = 0;
  79. gameLost=0;
  80. gameWin=0;
  81. console.log('Game started!');
  82. reset();
  83. $loButton.trigger('click');
  84. if(limit !== null) {
  85. stopAt=limit;
  86. }
  87. else
  88. {
  89. stopAt=-1;
  90. }
  91. }
  92. function stopGame(){
  93. document.getElementById("advertise_link_li").innerHTML = '<a href="#" onclick="startGame()" class="advertise_link">START BOT</a>';
  94. console.log('Game will stop soon! Let me finish.');
  95. stopped = true;
  96. startValue=oldbet;
  97. }
  98. function reset(){
  99. if( round % 100 === 0 && round !=0)
  100. {
  101. startValue=(startValue * 1.000).toFixed(8); //New bet after 100 round
  102. console.log('Round ' + round + ': bet change for ' + startValue);
  103. }
  104. $('#double_your_btc_stake').val(startValue);
  105. }
  106. // quick and dirty hack if you have very little bitcoins like 0.0000001
  107. function deexponentize(number){
  108. return number * 1000000;
  109. }
  110. function iHaveEnoughMoni(){
  111. var balance = deexponentize(parseFloat($('#balance').text()));
  112. var current = deexponentize($('#double_your_btc_stake').val());
  113. return ((balance*2)/100) * (current*2) > stopPercentage/100;
  114. }
  115. function stopBeforeRedirect(){
  116. var minutes = parseInt($('title').text());
  117. if( minutes < stopBefore )
  118. {
  119. console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
  120. stopGame();
  121. return true;
  122. }
  123. return false;
  124. }
  125. // Unbind old shit
  126. $('#double_your_btc_bet_lose').unbind();
  127. $('#double_your_btc_bet_win').unbind();
  128. // Loser
  129. $('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
  130. if( $(event.currentTarget).is(':contains("lose")') )
  131. {
  132. gameLost = gameLost + 1;
  133. roundnumb();
  134. console.log('%cWin: ' + gameWin + ' Lost: ' + gameLost, 'color: #00CC00');
  135. endtime=(new Date()).getTime();
  136. var time=Math.floor((endtime-starttime )/1000);
  137. higherBet();
  138. console.log(realtime(time));
  139. console.log('You LOST!');
  140. multiply();
  141. setTimeout(function(){
  142. $loButton.trigger('click');
  143. }, getRandomWait());
  144. //$loButton.trigger('click');
  145. }
  146. }
  147. );
  148. // Winner
  149. $('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
  150. if( $(event.currentTarget).is(':contains("win")') )
  151. {
  152. gameWin = gameWin + 1;
  153. roundnumb();
  154. console.log('%cWin: ' + gameWin + ' Lost: ' + gameLost, 'color: #FF0000');
  155. endtime=(new Date()).getTime();
  156. var time=Math.floor((endtime-starttime )/1000);
  157. console.log(realtime(time));
  158. higherBet();
  159. if( stopBeforeRedirect() )
  160. {
  161. return;
  162. }
  163. if( iHaveEnoughMoni() )
  164. {
  165. console.log('You WON!');
  166. reset();
  167. if( stopped )
  168. {
  169. stopped = false;
  170. return false;
  171. }
  172. }
  173. else
  174. {
  175. console.log('You WON! ');
  176. }
  177. setTimeout(function(){
  178. $loButton.trigger('click');
  179. }, getRandomWait());
  180. }
  181. }
  182. );

comments powered by Disqus