New Script hack Freebitco.in Past2


SUBMITTED BY: teewaweth

DATE: April 18, 2016, 9:35 a.m.

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

FORMAT: Text only

SIZE: 7.1 kB

HITS: 1359

  1. var startValue = '0.00000001', // Don't lower the decimal point more than 4x of current balance
  2. stopPercentage = 0.001, // In %. I wouldn't recommend going past 0.08
  3. maxWait = 10, // In milliseconds
  4. stopped = false,
  5. stopBefore = 1; // In minutes
  6. counterr = 1;
  7. zareset = 0;
  8. numGames = 1000;
  9. balanceBefore = parseFloat($('#balance').text());
  10. var analize = {};
  11. analize['0.00000001'] = { multi: 0.00000001, count:0 }; //1
  12. analize['0.00000002'] = { multi: 0.00000002, count:0 }; //2
  13. analize['0.00000004'] = { multi: 0.00000004, count:0 }; //3
  14. analize['0.00000008'] = { multi: 0.00000008, count:0 }; //4
  15. analize['0.00000016'] = { multi: 0.00000016, count:0 }; //5
  16. analize['0.00000032'] = { multi: 0.00000032, count:0 }; //6
  17. analize['0.00000064'] = { multi: 0.00000064, count:0 }; //7
  18. analize['0.00000128'] = { multi: 0.00000128, count:0 }; //8
  19. analize['0.00000256'] = { multi: 0.00000256, count:0 }; //9
  20. analize['0.00000512'] = { multi: 0.00000512, count:0 }; //10
  21. analize['0.00001024'] = { multi: 0.00001024, count:0 }; //11
  22. analize['0.00002048'] = { multi: 0.00002048, count:0 }; //12
  23. analize['0.00004096'] = { multi: 0.00004096, count:0 }; //13
  24. analize['0.00008192'] = { multi: 0.00008192, count:0 }; //14
  25. analize['0.00016384'] = { multi: 0.00016384, count:0 }; //15
  26. analize['0.00032768'] = { multi: 0.00032768, count:0 }; //16
  27. analize['0.00065536'] = { multi: 0.00065536, count:0 }; //17
  28. analize['0.00131072'] = { multi: 0.00131072, count:0 }; //18
  29. analize['0.00524288'] = { multi: 0.00524288, count:0 }; //19
  30. analize['0.01048576'] = { multi: 0.01048576, count:0 }; //20
  31. analize['0.02097152'] = { multi: 0.02097152, count:0 }; //21
  32. analize['0.04194304'] = { multi: 0.04194304, count:0 }; //22
  33. analize['0.08388608'] = { multi: 0.08388608, count:0 }; //23
  34. analize['0.16777216'] = { multi: 0.16777216, count:0 }; //24
  35. analize['0.33554432'] = { multi: 0.33554432, count:0 }; //25
  36. analize['0.67108864'] = { multi: 0.67108864, count:0 }; //26
  37. var $loButton = $('#double_your_btc_bet_lo_button'),
  38. $hiButton = $('#double_your_btc_bet_hi_button');
  39. function multiply(){
  40. var current = $('#double_your_btc_stake').val();
  41. var multiply = (current * 2).toFixed(8);
  42. if (multiply > 0.00008192 ){
  43. multiply = 0.00008192;
  44. zareset = 1;
  45. }
  46. $('#double_your_btc_stake').val(multiply);
  47. //console.log(" Multiply " + multiply );
  48. }
  49. function getRandomWait(){
  50. var wait = Math.floor(Math.random() * maxWait ) + 1;
  51. // console.log('Waiting for ' + wait + 'ms before next bet.');
  52. return wait ;
  53. }
  54. function startGame(){
  55. console.log('Game started!');
  56. reset();
  57. $loButton.trigger('click');
  58. }
  59. function stopGame(){
  60. //uncoment for save analyze to file.txt
  61. // var content = "Money before: t"+ balanceBefore +"rn"+ "Money now: t"+ parseFloat($('#balance').text())+"rn"+"Profit: t"+ (parseFloat($('#balance').text())-balanceBefore).toFixed(8)+"rn"+"rn";
  62. // for (var x in analize){
  63. // var value = analize[x];
  64. // cou = 0;
  65. // for (var y in value){
  66. // if(cou == 0)
  67. // content=content+ "" + value[y].toFixed(8);
  68. // else
  69. // content=content+ " " + value[y];
  70. // cou = 1;
  71. // }
  72. // content=content+ "rn";
  73. // }
  74. // content=content+ "rn"+ "Games play: "+counterr;
  75. // var link = document.createElement('a');
  76. // var blob = new Blob(["ufeff", content]);
  77. // var url = URL.createObjectURL(blob);
  78. // link.href = url;
  79. // link.setAttribute('download', 'analiza.txt');
  80. // link.click();
  81. stopped = true;
  82. }
  83. function reset(){
  84. zareset = 0;
  85. $('#double_your_btc_stake').val(startValue);
  86. //console.log(analize);
  87. console.log("Counter: "+counterr+"/"+numGames+" Balance "+ parseFloat($('#balance').html()) + ". Bet value " + parseFloat($('#double_your_btc_stake').val()) + ".n");
  88. }
  89. // quick and dirty hack if you have very little bitcoins like 0.0000001
  90. function deexponentize(number){
  91. return number * 1000000;
  92. }
  93. function iHaveEnoughMoni(){
  94. var balance = deexponentize(parseFloat($('#balance').text()));
  95. var current = deexponentize($('#double_your_btc_stake').val());
  96. return ((balance*2)/100) * (current*2) > stopPercentage/100;
  97. }
  98. function stopBeforeRedirect(){
  99. var minutes = parseInt($('title').text());
  100. if( minutes < stopBefore )
  101. {
  102. console.log('Approaching redirect! Stop the game so we don't get redirected while loosing.');
  103. stopGame();
  104. return true;
  105. }
  106. return false;
  107. }
  108. // Unbind old shit
  109. $('#double_your_btc_bet_lose').unbind();
  110. $('#double_your_btc_bet_win').unbind();
  111. // Loser
  112. $('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
  113. if( $(event.currentTarget).is(':contains("lose")') )
  114. {
  115. console.log(' You LOST! |');
  116. if ($('#double_your_btc_stake').val() in analize)
  117. {
  118. var tmp = analize[$('#double_your_btc_stake').val() ].count;
  119. analize[$('#double_your_btc_stake').val() ].count = tmp +1;
  120. }
  121. counterr++;
  122. multiply();
  123. if (zareset == 1){
  124. reset();
  125. }
  126. setTimeout(function(){
  127. $loButton.trigger('click');
  128. }, getRandomWait());
  129. //$loButton.trigger('click');
  130. }
  131. });
  132. // Winner
  133. $('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
  134. if( $(event.currentTarget).is(':contains("win")') )
  135. {
  136. if (counterr >numGames){
  137. stopGame();
  138. }
  139. counterr++;
  140. if( stopBeforeRedirect() )
  141. {
  142. return;
  143. }
  144. if( iHaveEnoughMoni() )
  145. {
  146. console.log('You WON! |');
  147. if ($('#double_your_btc_stake').val() in analize)
  148. {
  149. var tmp = analize[$('#double_your_btc_stake').val() ].count;
  150. analize[$('#double_your_btc_stake').val() ].count = tmp +1;
  151. }
  152. reset();
  153. if( stopped )
  154. {
  155. stopped = false;
  156. return false;
  157. }
  158. }
  159. else
  160. {
  161. console.log('You WON!');
  162. ;
  163. }
  164. setTimeout(function(){
  165. $loButton.trigger('click');
  166. }, getRandomWait());
  167. }
  168. }); startGame()

comments powered by Disqus