Advertisement
coinwalk

booboo fixed

Jun 16th, 2020
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 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 vimy=0;
  43. var lol=0;
  44. var winn=0;
  45. var vim=0;
  46. var xix=0;
  47. var chance = 49.95;
  48. var nextbet;
  49. midwinn=0;
  50. midloss=0;
  51. var fraction=10000;
  52. var basebet=longer/fraction;
  53. var more = (document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  54. var target = 500000;
  55. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  56.  
  57. function dobet(){
  58. var secret = parseFloat($('#LastBetInfoSecret').html());
  59. var balance = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  60. var previousbet=document.getElementById('BetSizeInput').value;
  61. document.getElementById('BetChanceInput').value = chance;
  62. if (secret < 500500) {
  63. loss++;
  64. winn=0;
  65. }else {
  66. winn++;
  67. loss=0;
  68. }
  69. if (balance >= (more*1.002)) {
  70. basebet=balance/fraction
  71. nextbet=basebet;
  72. lol=0;
  73. more=(parseFloat(balance));
  74. } else if (winn>=3){
  75. winn=0;
  76. nextbet=previousbet*2.1;
  77. }else if (loss>=3){
  78. nextbet=previousbet*2;
  79. loss=0;
  80. }else if (nextbet==previousbet*2){
  81. lol++;
  82. long=(parseFloat(balance));
  83. nextbet=previousbet/2;
  84. }else if ((balance>(long))&&(lol>=1)) {
  85. nextbet=basebet;
  86. lol=0;
  87. }else if (nextbet<(more/40000)) {
  88. nextbet=basebet;
  89. }else{
  90. nextbet=previousbet;
  91. }
  92.  
  93. if (balance > target) {
  94. //stop();
  95. $('#notification').html('Relax & Reload');
  96. alert('Relax & Reload');
  97. console.log('Relax & Reload');
  98. return;
  99. }
  100. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  101. $('#BetHighButton').click();}
  102.  
  103. setInterval(() => dobet(), 700);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement