Advertisement
coinwalk

trial

Sep 9th, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 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)}, 300);
  32. }
  33. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  34. setInterval(() => go(), 301);
  35.  
  36. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  37.  
  38. var good=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  39. var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  40. var longest=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  41. var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  42. var longy=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  43. var chance=49.95;
  44. var nextbet;
  45. var fraction=1000;
  46. var basebet=(longer/fraction);
  47. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  48. var target = 500000;
  49. var yo=0
  50. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  51. var biz=0
  52. var zonk=0
  53. var botbuddy=0
  54. var rim=0
  55. var low=true
  56.  
  57. var secret=parseFloat($('#LastBetInfoSecret').html());
  58.  
  59. function dobet(){
  60. var secret=parseFloat($('#LastBetInfoSecret').html());
  61. var bal=(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  62. var previousbet=document.getElementById('BetSizeInput').value;
  63. document.getElementById('BetChanceInput').value = chance;
  64. if (bal>good){
  65. console.log('in profit by');
  66. console.log((bal-good).toFixed(8));
  67. }else{
  68. console.log('not in profit');
  69. console.log((bal-good).toFixed(8));
  70. }
  71. if (long>bal) {
  72. botbuddy++;
  73. }
  74. if (bal>long) {
  75. botbuddy++;
  76. long=parseFloat(bal);
  77. }
  78. if (botbuddy==4) {
  79. nextbet=previousbet*2;
  80. botbuddy=0;
  81. }
  82. if (bal>(longy*1.02)) {
  83. nextbet = basebet
  84. botbuddy = 0
  85. longy=parseFloat(bal)
  86. }
  87. if (nextbet==null){
  88. nextbet=previousbet;
  89. }
  90.  
  91. if (bal > target) {
  92. //stop();
  93. $('#notification').html('Relax & Reload');
  94. alert('Relax & Reload');
  95. console.log('Relax & Reload');
  96. return;
  97. }
  98. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  99. if ((secret<499500)&&(low==true)&&(bal>longest)){
  100. $('#BetLowButton').click();
  101. low=true
  102. longest=parseFloat(bal)
  103. }else
  104. if ((secret>499500)&&(low==false)&&(bal>longest)){
  105. $('#BetHighButton').click();
  106. longest=parseFloat(bal);
  107. low=false;
  108. }else
  109. if ((secret<499500)&&(low==false)&&(bal<longest)){
  110. $('#BetLowButton').click();
  111. longest=parseFloat(bal);
  112. low=true;
  113. }else
  114. if ((secret>499500)&&(low==true)&&(bal<longest)){
  115. $('#BetHighButton').click();
  116. longest=parseFloat(bal);
  117. low=false;
  118. }else{$('#BetLowButton').click();}}
  119.  
  120. setInterval(() => dobet(), 700);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement