freebitco.in.com (script win Multiply BTC)


SUBMITTED BY: teewaweth

DATE: April 18, 2016, 7:26 a.m.

UPDATED: May 18, 2017, 4:58 p.m.

FORMAT: Text only

SIZE: 6.3 kB

HITS: 1116

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

comments powered by Disqus