Advertisement
coinwalk

snowybot returns

Jul 19th, 2020
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.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(9999,77777)
  25. } else if (xol==2) {
  26. myseed = getR(500009999,777778888);
  27. } else {
  28. myseed = getR(0,999);
  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=0;
  42. var winn=0;
  43. var chance = 49.95;
  44. var nextbet;
  45. var fraction=200;
  46. var basebet=longer/fraction;
  47. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  48. var target = 50000;
  49. var nob=getR(1,2);
  50. var wyn=0;
  51. var bad=0;
  52. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  53. function dobet(){
  54. var secret=parseFloat($('#LastBetInfoSecret').html());
  55. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  56. var previousbet=document.getElementById('BetSizeInput').value;
  57. document.getElementById('BetChanceInput').value = chance;
  58. basebet=bal/fraction;
  59. if (bal>=(more+(basebet*4))) {
  60. nextbet=previousbet*2;
  61. more=(parseFloat(bal));
  62. }
  63. if (bal>=(long+(basebet*8))) {
  64. nextbet=basebet;
  65. long=(parseFloat(bal));
  66. more=(parseFloat(bal));
  67. }
  68. if (nextbet==null) {
  69. nextbet=previousbet;
  70. }
  71. var tossy=0
  72. var lossy=0
  73. var bethigh;
  74. var mosy=0;
  75. var kossy=0;
  76. if (secret<499500){
  77. bethigh=false;
  78. }else{
  79. bethigh=true;
  80. }
  81. if ((secret < 499500)&&(bethigh==true)) {
  82. tossy++;
  83. lossy=0;
  84. mosy=0;
  85. kossy=0;
  86. } else if ((secret < 499500)&&(bethigh==false)) {
  87. lossy++;
  88. mosy=0;
  89. kossy=0;
  90. tossy=0
  91. }else if ((secret > 499500)&&(bethigh==true)) {
  92. mosy++;
  93. kossy=0;
  94. lossy=0;
  95. tossy=0;
  96. }else{
  97. kossy++;
  98. lossy=0;
  99. tossy=0;
  100. mosy=0;
  101. }
  102. if (tossy>=1){
  103. bethigh=true;
  104. tossy = 0;}
  105. if (mosy>=1){
  106. bethigh=true;
  107. mosy = 0;}
  108. if (lossy>=1){
  109. bethigh=false;
  110. lossy = 0;}
  111. if (kossy>=1){
  112. bethigh=false;
  113. kossy = 0;}
  114. if (bal > target) {
  115. //stop();
  116. $('#notification').html('Relax & Reload');
  117. alert('Relax & Reload');
  118. console.log('Relax & Reload');
  119. return;
  120. }
  121. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  122. if (bethigh==true) {
  123. $('#BetHighButton').click();}
  124. else if (bethigh==false) {
  125. $('#BetLowButton').click();}}
  126.  
  127. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement