JavaScript. Beat RandomWithRandon. Freebitco.in


SUBMITTED BY: godsend

DATE: Nov. 25, 2020, 3:49 a.m.

UPDATED: Feb. 12, 2021, 4:09 p.m.

FORMAT: Text only

SIZE: 4.7 kB

HITS: 945

  1. Tips or donations can be made at 18e1561MhqrJwmb4tXuCU3V9cGtb3yJCSx For further tips or hacks or tutorials on winning big money
  2. Contact Telegram @Passionateforcoin
  3. No charge, I accept only donations.
  4. Copy and paste under this line.
  5. ------------------------------------------------------------
  6. var startValue = '0.00000002', // Don't lower the decimal point more than 4x of current balance
  7. stopPercentage = 0.00000100, // In %. I wouldn't recommend going past 0.08 and initial per 0.0001
  8. stopLossVal = 0.00001000;//stop loss value
  9. maxWait = 540, // In milliseconds, 554 my magic key as high wining ration
  10. stopped = false,
  11. fixedHiLo = 0, //0 random, 1 hi fixed, 2 lo fixed
  12. stopBefore = 5; // In minutes
  13. var accu = 0, contLoseCnt = 0, maxLose = 0, winCnt = 0, loseCnt = 0, winRatio = 0.0, hilo = 1;//1 : hi, 0:lo
  14. var $loButton = $('#double_your_btc_bet_lo_button'), $hiButton = $('#double_your_btc_bet_hi_button');
  15. function multiply(){
  16. var current = $('#double_your_btc_stake').val();
  17. var multiply = (current * 2.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 getHilo(){
  26. if(fixedHiLo == 1){
  27. hilo = 1; //hi
  28. }else if(fixedHiLo == 2){
  29. hilo = 0; //lo
  30. }else {
  31. hilo = Math.floor(Math.random() * 2);//random
  32. }
  33. return hilo ;
  34. }
  35. function rollDice(){
  36. console.log('Game started!');
  37. reset();
  38. if (getHilo() == 1) {
  39. $hiButton.trigger('click');
  40. } else {
  41. $hiButton.trigger('click');
  42. }
  43. }
  44. function stopGame(){
  45. console.log('IAN M TAMVAN MAX :-).');
  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. // console.log("balance : "+balance);console.log("current : "+current);
  59. return ((balance*2)/100) * (current*2) > stopPercentage/100;
  60. }
  61. function stopBeforeRedirect(){
  62. var minutes = parseInt($('title').text());
  63. if( minutes < stopBefore ) {
  64. console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
  65. stopGame();
  66. return true;
  67. }
  68. return false;
  69. }
  70. // Unbind old shit
  71. $('#double_your_btc_bet_lose').unbind();
  72. $('#double_your_btc_bet_win').unbind();
  73. // Loser
  74. $('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
  75. if( $(event.currentTarget).is(':contains("lose")') )
  76. {
  77. maxLose += 1;
  78. loseCnt += 1;
  79. if(maxLose > contLoseCnt) {contLoseCnt = maxLose;}
  80. winRatio = ((winCnt / (winCnt+loseCnt))*100).toFixed(2);
  81. accu -= parseFloat($('#double_your_btc_stake').val());
  82. console.log('Stop Lose Bangke!'+' cumulative : '+(accu).toFixed(8)+' odds : '+winRatio+'%'+' cont lose : '+contLoseCnt);
  83. multiply();
  84. if (getHilo() == 1) {
  85. setTimeout(function(){
  86. $loButton.trigger('click');
  87. }, getRandomWait());
  88. } else {
  89. setTimeout(function(){
  90. $hiButton.trigger('click');
  91. }, getRandomWait());
  92. }
  93. }
  94. });
  95. // Winner
  96. $('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event) {
  97. if( $(event.currentTarget).is(':contains("win")') ) {
  98. if( stopBeforeRedirect()) {
  99. return;
  100. }
  101. maxLose = 0 ;
  102. accu += parseFloat($('#double_your_btc_stake').val());
  103. if( iHaveEnoughMoni()) {
  104. winCnt += 1;
  105. winRatio = ((winCnt / (winCnt+loseCnt))*100).toFixed(2);
  106. console.log('Ian M TamVan'+' cumulative : '+(accu).toFixed(8)+' odds : '+winRatio+'%'+' cont lose : '+contLoseCnt);
  107. reset();
  108. if( stopped) {
  109. stopped = false;
  110. return false;
  111. }
  112. } else {//reset
  113. winCnt += 1;
  114. winRatio = ((winCnt / (winCnt+loseCnt))*100).toFixed(2);
  115. console.log('Ian M TamVan Total'+' cumulative : '+(accu).toFixed(8)+' odds : '+winRatio+'%'+' cont lose : '+contLoseCnt);
  116. winCnt = 0, loseCnt = 0, winRatio = 0.0;
  117. }
  118. if (getHilo() == 1) {
  119. setTimeout(function(){
  120. $loButton.trigger('click');
  121. }, getRandomWait());
  122. //hilo = 0;
  123. }else {
  124. setTimeout(function(){
  125. $hiButton.trigger('click');
  126. }, getRandomWait());
  127. //hilo = 1;
  128. }
  129. }
  130. });rollDice();

comments powered by Disqus