freebitco.in script hi/lo game


SUBMITTED BY: utpal2015

DATE: July 16, 2016, 7:07 p.m.

FORMAT: Text only

SIZE: 5.5 kB

HITS: 775

  1. HOW TO USE THIS SCRIPT:
  2. 1. Go to freebitco.in
  3. 2. Click on Multiply BTC
  4. 3. for CHROME : 1) go to Menu --> More Tools --> Javascript console
  5. 2) Copy the script below
  6. 3) Paste the script into the javascript console
  7. 4) Press Enter key on the keyboard.
  8. for FIREFOX : 1. Press F12 key on the keyboard
  9. 2. Copy and paste the script below on the console line
  10. 3. then press ENTER key on the keyboard.
  11. ******************* SCRIPT ********************
  12. var startValue = '0.00000001', // Valor inicial da aposta, não coloque mais que 1000 satoshi
  13. maxLoses = 5, // Número máximo de perdas seguidas antes de parar
  14. stopBefore = 2, // Tempo em minutos para deixar de executar o script antes da página atualizar automaticamente
  15. alternate = true, // true para alternar e false para não alternar entre apostas BET HI e BET LO
  16. alternateValue = true, // true para apostar somente em BET LO e false para aposta somente em BET HI se alternate for igual a false
  17. maxWait = 500, // Tempo de espera máximo em milissegundos
  18. losesCounter = 0, // Contador de perdas seguidas
  19. losesTotal = 0, // Total de perdas
  20. winsTotal = 0, // Total de vitórias
  21. playSound = true, // true para emitir um alerta quando o script parar
  22. stopPercentage = 0.001,
  23. stopped = false;
  24. var $loButton = $('#double_your_btc_bet_lo_button'), $hiButton = $('#double_your_btc_bet_hi_button');
  25. function multiply() {
  26. var current = $('#double_your_btc_stake').val();
  27. var multiply = (current * 2).toFixed(8);
  28. $('#double_your_btc_stake').val(multiply);
  29. }
  30. function getRandomWait() {
  31. var wait = Math.floor(Math.random() * maxWait) + 100;
  32. //console.log('Esperando ' + wait + 'ms antes da próxima aposta.');
  33. return wait;
  34. }
  35. function startGame() {
  36. console.log('Jogo iniciado!');
  37. reset();
  38. if(alternateValue){
  39. $loButton.trigger('click');
  40. } else {
  41. $hiButton.trigger('click');
  42. }
  43. }
  44. function stopGame() {
  45. console.log('O jogo vai parar em breve.');
  46. stopped = true;
  47. }
  48. function reset() {
  49. $('#double_your_btc_stake').val(startValue);
  50. }
  51. // quick and dirty hack if you have very little bitcoins like 0.0000001
  52. function deexponentize(number) {
  53. return number * 1000000;
  54. }
  55. function iHaveEnoughMoni() {
  56. var balance = deexponentize(parseFloat($('#balance').text()));
  57. var current = deexponentize($('#double_your_btc_stake').val());
  58. return ((balance * 2) / 100) * (current * 2) > stopPercentage / 100;
  59. }
  60. function stopBeforeRedirect() {
  61. var minutes = parseInt($('title').text());
  62. if (minutes < stopBefore)
  63. {
  64. console.log('A página var ser atualizada, saindo antes de atualizar enquanto aposta.');
  65. stopGame();
  66. if(playSound){
  67. var audio = new Audio('http://coinstage.com/src/sounds/notification.mp3');
  68. audio.play();
  69. }
  70. return true;
  71. }
  72. return false;
  73. }
  74. // Unbind old shit
  75. $('#double_your_btc_bet_lose').unbind();
  76. $('#double_your_btc_bet_win').unbind();
  77. // Loser
  78. $('#double_your_btc_bet_lose').bind("DOMSubtreeModified", function (event) {
  79. if ($(event.currentTarget).is(':contains("lose")'))
  80. {
  81. losesCounter++;
  82. losesTotal++;
  83. console.log("VOCÊ PERDEU! Perdas seguidas: " + losesCounter + ", VITÓRIAS: " + winsTotal + ", PERDAS: " + losesTotal);
  84. multiply();
  85. setTimeout(function () {
  86. if(alternate){
  87. alternateValue = !alternateValue;
  88. }
  89. if (alternateValue) {
  90. $loButton.trigger('click');
  91. } else {
  92. $hiButton.trigger('click');
  93. }
  94. }, getRandomWait());
  95. }
  96. });
  97. // Winner
  98. $('#double_your_btc_bet_win').bind("DOMSubtreeModified", function (event) {
  99. if ($(event.currentTarget).is(':contains("win")'))
  100. {
  101. if (stopBeforeRedirect()) {
  102. console.log("Perdas seguidas: " + losesCounter + ", VITÓRIAS: " + winsTotal + ", PERDAS: " + losesTotal);
  103. return;
  104. }
  105. winsTotal++;
  106. if (iHaveEnoughMoni()) {
  107. console.log("VOCÊ GANHOU! Perdas seguidas: " + losesCounter + ", VITÓRIAS: " + winsTotal + ", PERDAS: " + losesTotal);
  108. reset();
  109. if (losesCounter >= maxLoses) {
  110. console.log("Você perdeu " + losesCounter + " vezes seguidas. Saindo! VITÓRIAS: " + winsTotal + ", PERDAS: " + losesTotal);
  111. stopped = true;
  112. if(playSound){
  113. var audio = new Audio('http://coinstage.com/src/sounds/notification.mp3');
  114. audio.play();
  115. }
  116. return true;
  117. } else {
  118. losesCounter = 0;
  119. }
  120. if (stopped) {
  121. stopped = false;
  122. return false;
  123. }
  124. } else {
  125. console.log("VOCÊ GANHOU! Perdas seguidas: " + losesCounter + ", VITÓRIAS: " + winsTotal + ", PERDAS: " + losesTotal);
  126. }
  127. setTimeout(function () {
  128. if(alternate){
  129. alternateValue = !alternateValue;
  130. }
  131. if (alternateValue) {
  132. $loButton.trigger('click');
  133. } else {
  134. $hiButton.trigger('click');
  135. }
  136. }, getRandomWait());
  137. }
  138. });
  139. startGame();

comments powered by Disqus