Freebitco New Script Semi Auto


SUBMITTED BY: luthfi234

DATE: April 19, 2017, 3:18 a.m.

FORMAT: Text only

SIZE: 2.5 kB

HITS: 765

  1. var startValue = '0.00000002', // Don't lower the decimal point more than 4x of current balance
  2. stopPercentage = 50.00,
  3. maxWait = 077,
  4. stopped = true, // debugging
  5. stopBettingAfterProfit = 0.00000002, // In Profit Value
  6. stopBefore = 1; // In minutes for timer before stopping redirect on webpage
  7. var $loButton = $('#double_your_btc_bet_lo_button'),
  8. $hiButton = $('#double_your_btc_bet_hi_button');
  9. function multiply(){
  10. var current = $('#double_your_btc_stake').val();
  11. var multiply = (current * 2).toFixed(8);
  12. $('#double_your_btc_stake').val(multiply);
  13. }
  14. function getRandomWait(){
  15. var wait = Math.floor(Math.random() * maxWait ) + 100;
  16. console.log('Waiting for ' + wait + 'ms before next bet.');
  17. return wait ;
  18. }
  19. function startGame(){
  20. console.log('Game started!');
  21. reset();
  22. $hiButton.trigger('click');
  23. }
  24. function stopGameAfterProfit(){
  25. ('stop_after_profit_value').val(value >='0.00000002')
  26. console.log('Game will stop soon! Let me finish.');
  27. stopped = true;
  28. }
  29. function reset(){
  30. $('#double_your_btc_stake').val(startValue);
  31. }
  32. function deexponentize(number){
  33. return number * 10000000;
  34. }
  35. function iHaveEnoughMoni(){
  36. var balance = deexponentize(parseFloat($('#balance').text()));
  37. var current = deexponentize($('#double_your_btc_stake').val());
  38. return ((balance)*2/100) * (current*2) > stopPercentage/100;
  39. }
  40. function stopBeforeRedirect(){
  41. var minutes = parseInt($('title').text());
  42. if( minutes < stopBefore )
  43. {
  44. console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
  45. stopGame();
  46. return true;
  47. }
  48. return false;
  49. }
  50. $('#double_your_btc_bet_lose').unbind();
  51. $('#double_your_btc_bet_win').unbind();
  52. $('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
  53. if( $(event.currentTarget).is(':contains("lose")') )
  54. {
  55. console.log('You LOST! Multiplying your bet and betting again.');
  56. multiply();
  57. setTimeout(function(){
  58. $hiButton.trigger('click');
  59. }, getRandomWait());
  60. }
  61. });
  62. $('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
  63. if( $(event.currentTarget).is(':contains("win")') )
  64. {
  65. if( stopBeforeRedirect() )
  66. {
  67. return;
  68. }
  69. if( iHaveEnoughMoni() )
  70. {
  71. console.log('You WON! But don\'t be greedy. Restarting!');
  72. reset();
  73. if( stopped )
  74. {
  75. stopped = true;
  76. return true;
  77. }
  78. }
  79. else
  80. {
  81. console.log('You WON! Betting again');
  82. }
  83. setTimeout(function(){
  84. $hiButton.trigger('click');
  85. }, getRandomWait());
  86. }
  87. });startGame();

comments powered by Disqus