Freebitco Script w/stop after profit 10000% Safe


SUBMITTED BY: luthfi234

DATE: April 18, 2017, 12:32 a.m.

UPDATED: April 18, 2017, 12:57 a.m.

FORMAT: Text only

SIZE: 2.8 kB

HITS: 739

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

comments powered by Disqus