freebitco.in script 100% Double your Income


SUBMITTED BY: r0fl

DATE: Sept. 21, 2016, 1:41 p.m.

FORMAT: Text only

SIZE: 5.3 kB

HITS: 735

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

comments powered by Disqus