Advertisement
coinwalk

512 coins

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