Advertisement
coinwalk

coolbot+java+seedchanger

Sep 11th, 2020
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 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(50000,99999);
  25. } else if (xol==2) {
  26. myseed = getR(5000,7777);
  27. } else {
  28. myseed = getR(50,99);
  29. }
  30. setTimeout(() => {
  31. $(".ManualSeedControls:visible input").val(myseed)}, 700);
  32. }
  33. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  34. setInterval(() => go(), 701);
  35.  
  36.  
  37. function getR(min, max) {
  38. min = Math.ceil(min);
  39. max = Math.floor(max);
  40. return Math.floor(Math.random() * (max - min + 1)) + min;
  41. }
  42. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  43.  
  44. var good=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  45. var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  46. var longest=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  47. var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  48. var longy=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  49. var chance=12;
  50. var nextbet;
  51. var fraction=25600;
  52. var basebet=((longer/fraction).toFixed(8));
  53. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  54. var target = longer*4;
  55. var yo=0;
  56. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  57. var biz=0;
  58. var zonk=0;
  59. var botbuddy=0;
  60. var rim=0;
  61. var low=true;
  62. var bot=0;
  63. var win=false;
  64. var uwn=0
  65. var bight;
  66.  
  67. var secret=parseFloat($('#LastBetInfoSecret').html());
  68.  
  69. function dobet(){
  70. var secret=parseFloat($('#LastBetInfoSecret').html());
  71. var bal=(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  72. var previousbet=document.getElementById('BetSizeInput').value;
  73. document.getElementById('BetChanceInput').value = chance;
  74. if (bal>good){
  75. console.log('in profit by');
  76. console.log((bal-good).toFixed(8));
  77. }else{
  78. console.log('not in profit');
  79. console.log((bal-good).toFixed(8));
  80. }
  81. if ((secret<120000)&&(low==true)&&(bal>longest)){
  82. bight=true
  83. low=false
  84. win=true
  85. longest=parseFloat(bal)
  86. }else if ((secret>879999)&&(low==false)&&(bal>longest)){
  87. bight=false
  88. longest=parseFloat(bal);
  89. low=true;
  90. win=true
  91. }else if ((secret<879999)&&(low==false)&&(bal<longest)){
  92. bight=true
  93. longest=parseFloat(bal);
  94. low=false;
  95. win=false
  96. }else if ((secret>120000)&&(low==true)&&(bal<longest)){
  97. bight=false
  98. longest=parseFloat(bal);
  99. win=false
  100. low=true;}
  101.  
  102. if (win==true) {
  103. uwn++;
  104. bot=0;
  105. }else if (win==false){
  106. bot++;
  107. uwn = 0
  108. }
  109. if (uwn==1) {
  110. nextbet=previousbet*1.2;
  111. }
  112. if (uwn==2) {
  113. nextbet=previousbet*1.5;
  114. }
  115. if (uwn==3) {
  116. nextbet=previousbet*2;
  117. }
  118. if (bot==2) {
  119. nextbet=previousbet*1.3;
  120. }
  121. if (bot==6) {
  122. nextbet=previousbet*1.5;
  123. }
  124. if (bot==16) {
  125. nextbet=previousbet*2;
  126. bot=0;
  127. }
  128. if (uwn==4) {
  129. uwn=0;
  130. }
  131. if (bal>longy) {
  132. nextbet=basebet;
  133. bot=0;
  134. uwn=0;
  135. longy=parseFloat(bal);
  136. }
  137. if (nextbet==null){
  138. nextbet=previousbet;
  139. }
  140.  
  141. if (bal > target) {
  142. //stop();
  143. $('#notification').html('Relax & Reload');
  144. alert('Relax & Reload');
  145. console.log('Relax & Reload');
  146. return;
  147. }
  148. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  149. if (bight==true) {
  150. $('#BetHighButton').click();
  151. }else if (bight==false){
  152. $('#BetLowButton').click();
  153. }else{$('#BetLowButton').click();}}
  154.  
  155. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement