Advertisement
coinwalk

perfection nearly

Jan 11th, 2022
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  1. var belance = parseFloat(document.getElementById('pct_balance').value);
  2. document.getElementById('pct_chance').value = 49.5;
  3. document.getElementById('pct_payout').value = 2;
  4. var div = 10;
  5. var ebe = ((belance/div).toFixed(8));
  6. var b = ((belance/div).toFixed(8));
  7. var beta = ((belance/div).toFixed(8));
  8. var oldbal = parseFloat(document.getElementById('pct_balance').value);
  9. var oldt = parseFloat(document.getElementById('pct_balance').value);
  10. var ko = parseFloat(document.getElementById('pct_balance').value);
  11. var f = true;
  12. var g = true;
  13. var target = 5000;
  14. var olderest = document.getElementById('pct_balance').value;
  15. var old = parseFloat(document.getElementById('pct_balance').value);
  16. var oldc = parseFloat(document.getElementById('pct_balance').value);
  17. var zim = parseFloat(document.getElementById('pct_balance').value);
  18. var fold = parseFloat(document.getElementById('pct_balance').value);
  19. var nextbet;
  20. var lose =0;
  21. var win = 0;
  22. var loss =0;
  23. var won = 0;
  24. var fue;
  25. var fug;
  26. var ful;
  27. var mate = true;
  28. var shi = parseFloat(document.getElementById('pct_balance').value);
  29. var wild = document.getElementById('pct_balance').value;
  30. var mini =document.getElementById('pct_balance').value;
  31. parseFloat(document.getElementById('pct_bet').value = ebe);
  32. parseFloat(document.getElementById('pct_profit').value = ebe);
  33.  
  34.  
  35. function getR(min, max) {
  36. min = Math.ceil(min);
  37. max = Math.floor(max);
  38. return Math.floor(Math.random() * (max - min + 1)) + min;
  39. }
  40.  
  41. function dobet(){
  42. console.clear();
  43. var balance = document.getElementById('pct_balance').value;
  44. var previousbet = document.getElementById('pct_bet').value;
  45. document.getElementById('pct_chance').value = 49.5;
  46. document.getElementById('pct_payout').value = 2;
  47. if (nextbet==null) {
  48. nextbet = previousbet;
  49. }
  50. if (balance>shi) {
  51. win = win+1
  52. won = won+1
  53. shi = parseFloat(balance);
  54. } else if (balance<shi) {
  55. lose = lose+1
  56. loss = loss+1
  57. shi = parseFloat(balance);
  58. }
  59. if (balance>(oldt+(b*6))) {
  60. nextbet = previousbet*2;
  61. b = nextbet;
  62. oldt = parseFloat(balance);
  63. }
  64. if ((balance<=(oldbal-(b*3)))&&(g==true)){
  65. nextbet = previousbet*2;
  66. b = nextbet;
  67. g = false;
  68. oldbal = parseFloat(balance);
  69. }
  70. if (((balance<=(oldbal-(b*3)))&&(g==false))&&(previousbet>ebe*2)){
  71. nextbet = previousbet/2;
  72. b = nextbet;
  73. g = true;
  74. oldt = parseFloat(balance);
  75. oldbal = parseFloat(balance);
  76. }
  77. if (balance>=(old+(beta*10))) {
  78. ebe = beta;
  79. nextbet = ebe;
  80. b = ebe;
  81. g = true
  82. oldt = parseFloat(balance);
  83. oldbal = parseFloat(balance);
  84. old = parseFloat(balance);
  85. }
  86. if (nextbet*2>=balance) {
  87. ebe = (((parseFloat(balance))/div).toFixed(8));
  88. nextbet = ebe;
  89. b = ebe;
  90. oldt = parseFloat(balance);
  91. oldbal = parseFloat(balance);
  92. }
  93. if (balance>=target) {
  94. //stop();
  95. return;
  96. }
  97. if (balance>wild) {
  98. wild = parseFloat(balance);
  99. }
  100. if (balance<mini) {
  101. mini = parseFloat(balance);
  102. }
  103. var frea = ((balance-olderest).toFixed(8));
  104. console.log("balance made");
  105. console.log(frea);
  106. console.log("biggest balance");
  107. console.log(parseFloat(wild));
  108. console.log("lowest balance");
  109. console.log(parseFloat(mini));
  110. fug = (((win+lose)*0.495)-win);
  111. fue = (((win+lose)*0.505)-lose);
  112. ful = (((won+loss)*0.505)-loss);
  113. console.log("wins ahead");
  114. console.log(Math.ceil(ful));
  115. if (((((parseFloat(balance))/div).toFixed(8))<beta)&&(((fue*nextbet)>=(balance))||((fug*nextbet)>=(balance)))) {
  116. ebe = (((parseFloat(balance))/div).toFixed(8));
  117. }else if (((((parseFloat(balance))/div).toFixed(8))>beta)&&(((fue*nextbet)>=(balance))||((fug*nextbet)>=(balance)))) {
  118. ebe = beta;
  119. }
  120. if (((fue*nextbet)>=(balance))||((fug*nextbet)>=(balance))) {
  121. win = 0;
  122. lose = 0;
  123. nextbet = ebe;
  124. b = ebe;
  125. oldt = parseFloat(balance);
  126. oldbal = parseFloat(balance);
  127. old = parseFloat(balance);
  128. ko = parseFloat(balance);
  129. console.log("WARNING MORE BETS COULD CAUSE ISSUE RETURNING BASEBET AND RESETTING");
  130. }
  131. if (ful>0) {
  132. mate = true; }
  133. else if (ful<0) {
  134. mate = false; }
  135. console.log("is this fair")
  136. console.log(mate);
  137. parseFloat(document.getElementById('pct_bet').value = (((nextbet*2)-nextbet).toFixed(8)));
  138. parseFloat(document.getElementById('pct_profit').value = (((nextbet*2)-nextbet).toFixed(8)));
  139. $('#a_lo').click();
  140. }
  141. setInterval(() => dobet(), 1200);
  142.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement