Advertisement
coinwalk

i think i nailed 80 divide

Jun 16th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. function resetseed(){
  2. var a=document.getElementsByClassName('ManualSeedControls')[0];
  3. if(!a)return;
  4. if(a.style.display!='block'){
  5. console.log('Enabling manual seed');
  6. if(document.getElementById('AccountTabManualSeed')){
  7. document.getElementById('AccountTabManualSeed').click();
  8. }
  9. resetseed();
  10. }
  11. }
  12. resetseed();
  13. function getR(min, max) {
  14. min = Math.ceil(min);
  15. max = Math.floor(max);
  16. return Math.floor(Math.random() * (max - min + 1)) + min;
  17. }
  18. function go () {
  19. var xol =getR(1,3);
  20. $('#LastBetInfoSecret').unbind('DOMSubtreeModified')
  21. onBetComplete = function(e){
  22. var myseed;
  23. if (xol==1) {
  24. myseed = getR(7777,9999);
  25. } else if (xol==2) {
  26. myseed = getR(50000,77777);
  27. } else {
  28. myseed = getR(50,99);
  29. }
  30. setTimeout(() => {
  31. $(".ManualSeedControls:visible input").val(myseed)}, 50);
  32. }
  33. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  34. setInterval(() => go(), 51);
  35.  
  36.  
  37. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  38.  
  39. var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  40. var long = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  41. var loss=2;
  42. var lol=0;
  43. var winn=0;
  44. var vim=0;
  45. var xix=0;
  46. var chance = 49.95;
  47. var nextbet;
  48. midwinn=0;
  49. midloss=0;
  50. var fraction=20;
  51. var basebet=longer/fraction;
  52. var more = (document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  53. var target = 1000;
  54. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  55. function killhighlow() {
  56. var secret = parseFloat($('#LastBetInfoSecret').html());
  57. if (secret<500500){
  58. midloss++;
  59. midwinn=0;
  60. }else{
  61. midwinn++;
  62. midloss=0;
  63. }
  64. if ((midloss==1)&&(midwinn==1)){
  65. return true;
  66. }else{
  67. return false;
  68. }
  69. if (midloss==2){
  70. midloss=0;
  71. }
  72. if (midwinn==2){
  73. midwinn=0;
  74. }}
  75.  
  76. function dobet(){
  77. var secret = parseFloat($('#LastBetInfoSecret').html());
  78. var balance = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  79. basebet=balance/fraction;
  80. var previousbet=document.getElementById('BetSizeInput').value;
  81. document.getElementById('BetChanceInput').value = chance;
  82. if (secret < 500500) {
  83. loss++;
  84. }else {
  85. winn++;
  86. }
  87. if (balance >= (more*1.02)) {
  88. nextbet=basebet;
  89. lol=0;
  90. more=(parseFloat(balance));
  91. } else if ((winn==3)&&(killhighlow()==false)){
  92. nextbet=previousbet*2.1;
  93. winn=0;
  94. }else if ((loss==3)&&(killhighlow()==false)){
  95. nextbet=previousbet*2;
  96. loss=0;
  97. vim++;
  98. }else if ((vim==1)&&(killhighlow()==false)){
  99. nextbet=previousbet/2
  100. vim=0;
  101. }else if (nextbet==previousbet*2){
  102. lol++;
  103. long=(parseFloat(balance));
  104. }else if ((lol>1) && (Math.fmod(loss,1)==0)) {
  105. nextbet=previousbet*2.1;
  106. }else if ((balance>(long))&&(lol>1)&&(loss>=1)){
  107. xix++;} else if (xix>1) {
  108. nextbet=basebet;
  109. long=more;
  110. lol=0;
  111. }else if (killhighlow()==true){
  112. nextbet=previousbet/4;
  113. lol++;
  114. }else if (nextbet<(longer/120)) {
  115. nextbet=basebet;
  116. }else{
  117. nextbet=previousbet;
  118. }
  119.  
  120. if (balance > target) {
  121. //stop();
  122. $('#notification').html('Relax & Reload');
  123. alert('Relax & Reload');
  124. console.log('Relax & Reload');
  125. return;
  126. }
  127. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  128. $('#BetHighButton').click();}
  129.  
  130. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement