Martengale Script for freebitco.in


SUBMITTED BY: Aditya128

DATE: Jan. 23, 2017, 2:15 p.m.

FORMAT: Text only

SIZE: 4.5 kB

HITS: 668

  1. Couple of things on the script. A player needs at least 100,000 satoshi since this script is built to game probability, 1 million satoshi is a more comfortable number if looking to run this unattended since that places the 'steps' of allowed losses over 20 comfortably
  2. Prerequisites:
  3. 1) an account on Freebitco.in
  4. 2) 100000 satoshi deposited (minimum) into their account (make sure you put in a strong password)
  5. 3) Google chrome, OS does not matter.
  6. To run the script:
  7. 1) Go to freebitco.in
  8. 2) Click on multiply BTC
  9. 3) In Chrome go to Menu --> More tools --> Javascript console
  10. 4) Highlight the script below
  11. 5) Copy the script
  12. 6) Paste the script into the javascript console
  13. 7) Press enter.
  14. 8) Go away for a couple of days.
  15. The usual warning applies. Don't play if you can't afford to lose 100,000 satoshi (or a million, around 3-4 bucks). I've tested script fairly thoroughly and in doing so managed to lose around a million satoshi in testing. The setup below is the most stable and easiest method that I've found to run the script for a week with 100,000 satoshi without any issues. Just remember, a martengale system is all about doubling down on one bet after another and since it's for fun, best to start low (don't be greedy).
  16. Starting with 1 satoshi it is 17 steps on a 100,000 satoshi kitty before a player busts. Remember a computer can play way faster than any human could so keep in mind it takes less than 10 seconds to place all the bets. Since a computer doesn't care if it spends all your satoshi fast or slow, keep it in mind.
  17. "1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536,"
  18. If anyone has any other features to add to the script, any input or tweaks offered would be awesome.
  19. Again...all for fun, don't think that anyone can quit their day job with this.
  20. Good luck!
  21. var startValue = '0.00000001', // Don't lower the decimal point more than 4x of current balance
  22. stopPercentage = 0.001,
  23. maxWait = 777,
  24. stopped = false, // debugging
  25. stopBefore = 1; // In minutes for timer before stopping redirect on webpage
  26. var $loButton = $('#double_your_btc_bet_lo_button'),
  27. $hiButton = $('#double_your_btc_bet_hi_button');
  28. function multiply(){
  29. var current = $('#double_your_btc_stake').val();
  30. var multiply = (current * 2).toFixed(8);
  31. $('#double_your_btc_stake').val(multiply);
  32. }
  33. function getRandomWait(){
  34. var wait = Math.floor(Math.random() * maxWait ) + 100;
  35. console.log('Waiting for ' + wait + 'ms before next bet.');
  36. return wait ;
  37. }
  38. function startGame(){
  39. console.log('Game started!');
  40. reset();
  41. $loButton.trigger('click');
  42. }
  43. function stopGame(){
  44. console.log('Game will stop soon! Let me finish.');
  45. stopped = true;
  46. }
  47. function reset(){
  48. $('#double_your_btc_stake').val(startValue);
  49. }
  50. // quick and dirty hack if you have very little bitcoins like 0.00000001
  51. function deexponentize(number){
  52. return number * 10000000;
  53. }
  54. function iHaveEnoughMoni(){
  55. var balance = deexponentize(parseFloat($('#balance').text()));
  56. var current = deexponentize($('#double_your_btc_stake').val());
  57. return ((balance)*2/100) * (current*2) > stopPercentage/100;
  58. }
  59. function stopBeforeRedirect(){
  60. var minutes = parseInt($('title').text());
  61. if( minutes < stopBefore )
  62. {
  63. console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
  64. stopGame();
  65. return true;
  66. }
  67. return false;
  68. }
  69. // Unbind old shit
  70. $('#double_your_btc_bet_lose').unbind();
  71. $('#double_your_btc_bet_win').unbind();
  72. // Loser
  73. $('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
  74. if( $(event.currentTarget).is(':contains("lose")') )
  75. {
  76. console.log('You LOST! Multiplying your bet and betting again.');
  77. multiply();
  78. setTimeout(function(){
  79. $loButton.trigger('click');
  80. }, getRandomWait());
  81. //$loButton.trigger('click');
  82. }
  83. });
  84. // Winner
  85. $('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
  86. if( $(event.currentTarget).is(':contains("win")') )
  87. {
  88. if( stopBeforeRedirect() )
  89. {
  90. return;
  91. }
  92. if( iHaveEnoughMoni() )
  93. {
  94. console.log('You WON! But don\'t be greedy. Restarting!');
  95. reset();
  96. if( stopped )
  97. {
  98. stopped = false;
  99. return false;
  100. }
  101. }
  102. else
  103. {
  104. console.log('You WON! Betting again');
  105. }
  106. setTimeout(function(){
  107. $loButton.trigger('click');
  108. }, getRandomWait());
  109. }
  110. });startGame()

comments powered by Disqus