Advertisement
coinwalk

crazybot

Oct 14th, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 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)}, 50);
  32. }
  33. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  34. setInterval(() => go(), 51);
  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 james=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  49. var chance=49.95;
  50. var nextbet;
  51. var fraction=10000;
  52. var basebet=((longer/fraction).toFixed(8));
  53. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  54. var target = 500000;
  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 bin=0;
  64. var bix=0;
  65. var win=false;
  66. var uwn=0
  67. var bight;
  68.  
  69. var secret=parseFloat($('#LastBetInfoSecret').html());
  70.  
  71. function dobet(){
  72. var secret=parseFloat($('#LastBetInfoSecret').html());
  73. var bal=(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  74. var balance=(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  75. var previousbet=document.getElementById('BetSizeInput').value;
  76. document.getElementById('BetChanceInput').value = chance;
  77. if ((secret<499500)&&(low==true)&&(bal>longest)){
  78. bight=false;
  79. low=true;
  80. win=true;
  81. longest=parseFloat(bal)
  82. }else if ((secret>500499)&&(low==false)&&(bal>longest)){
  83. bight=true;
  84. longest=parseFloat(bal);
  85. low=false;
  86. win=true;
  87. }else if ((secret<500499)&&(low==false)&&(bal<longest)){
  88. bight=false;
  89. longest=parseFloat(bal);
  90. low=true;
  91. win=false;
  92. }else if ((secret>499500)&&(low==true)&&(bal<longest)){
  93. bight=true;
  94. longest=parseFloat(bal);
  95. win=false;
  96. low=false;}
  97.  
  98.  
  99. if (win==false) {
  100. bot++;
  101. nextbet = previousbet*2;
  102. bix++;
  103. }else if (win==true){
  104. bin++;
  105. bix = 0;
  106. bot = 0;
  107. }
  108. if (bix>=2) {
  109. nextbet = previousbet;
  110. bot = 0;
  111. }
  112. if ((bin>=2)&&(bot==0)) {
  113. nextbet = previousbet*2;
  114. bix = 0;
  115. bin = 0;
  116. bot = 0;
  117. }
  118. if (nextbet>=(basebet*9)) {
  119. nextbet=balance/fraction;
  120. }
  121. if (balance>james) {
  122. nextbet = balance/fraction;
  123. bix = 0;
  124. bot = 0;
  125. bin = 0;
  126. james = balance;
  127. }
  128. if (nextbet==null){
  129. nextbet=previousbet;
  130. }
  131.  
  132. if (bal > target) {
  133. //stop();
  134. $('#notification').html('Relax & Reload');
  135. alert('Relax & Reload');
  136. console.log('Relax & Reload');
  137. return;
  138. }
  139. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  140. if (bight==true) {
  141. $('#BetHighButton').click();
  142. }else if (bight==false){
  143. $('#BetLowButton').click();
  144. }else{$('#BetLowButton').click();}
  145. if (bal>good){
  146. console.log('in profit by');
  147. console.log((bal-good).toFixed(8));
  148. }else{
  149. console.log('not in profit');
  150. console.log((bal-good).toFixed(8));
  151. }}
  152.  
  153. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement