Advertisement
coinwalk

aka snowybot

Jul 20th, 2020
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.51 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.  
  19.  
  20. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  21.  
  22. var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  23. var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  24. var loss=0;
  25. var winn=0;
  26. var chance = 49.95;
  27. var nextbet;
  28. var fraction=200;
  29. var basebet=longer/fraction;
  30. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  31. var target = 50000;
  32. var nob=getR(1,2);
  33. var wyn=0;
  34. var bad=0;
  35. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  36. function bethigh() {
  37. var secret=parseFloat($('#LastBetInfoSecret').html());
  38. var tossy=0;
  39. var lossy=0;
  40. var bethight;
  41. var mosy=0;
  42. var kossy=0;
  43. if (secret<499500){
  44. bethight=false;
  45. return false;
  46. }else{
  47. bethight=true;
  48. return true;
  49. }
  50. if ((secret < 499500)&&(bethight==true)) {
  51. tossy++;
  52. lossy=0;
  53. mosy=0;
  54. kossy=0;
  55. } else if ((secret < 499500)&&(bethight==false)) {
  56. lossy++;
  57. mosy=0;
  58. kossy=0;
  59. tossy=0
  60. }else if ((secret > 499500)&&(bethight==true)) {
  61. mosy++;
  62. kossy=0;
  63. lossy=0;
  64. tossy=0;
  65. }else{
  66. kossy++;
  67. lossy=0;
  68. tossy=0;
  69. mosy=0;
  70. }
  71. if (tossy>=1){
  72. return true;
  73. tossy = 0;}
  74. if (mosy>=1){
  75. return true;
  76. mosy = 0;}
  77. if (lossy>=1){
  78. return false;
  79. lossy = 0;}
  80. if (kossy>=1){
  81. return false;
  82. kossy = 0;}}
  83.  
  84. function dobet(){
  85. var secret=parseFloat($('#LastBetInfoSecret').html());
  86. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  87. var previousbet=document.getElementById('BetSizeInput').value;
  88. document.getElementById('BetChanceInput').value = chance;
  89. basebet=bal/fraction;
  90. if (bal>=(more+(basebet*4))) {
  91. nextbet=previousbet*2;
  92. more=(parseFloat(bal));
  93. }
  94. if (bal<=(longer-(basebet*16))){
  95. nextbet=previousbet*2;
  96. longer=balance;
  97. }
  98. if (bal>=(long+(basebet*8))) {
  99. nextbet=basebet;
  100. long=(parseFloat(bal));
  101. more=(parseFloat(bal));
  102. }
  103. if (nextbet==null) {
  104. nextbet=previousbet;
  105. }
  106. if (bal > target) {
  107. //stop();
  108. $('#notification').html('Relax & Reload');
  109. alert('Relax & Reload');
  110. console.log('Relax & Reload');
  111. return;
  112. }
  113. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  114. if (bethigh()==true) {
  115. $('#BetHighButton').click();}
  116. else if (bethigh()==false) {
  117. $('#BetLowButton').click();}}
  118.  
  119. setInterval(() => dobet(), 3000);
  120.  
  121. function no () {
  122. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  123. return parseInt(vim,16);
  124. }
  125. function go () {
  126. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  127. onBetComplete = function(e){
  128. var secret=parseFloat($('#LastBetInfoSecret').html());
  129. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  130. var now;
  131. var hitlerone=0;
  132. var hitlertwo=0;
  133. var hitlerthree=0;
  134. if ((bethigh()==true)&&(secret>499500)){
  135. now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);
  136. }else if ((bethigh()==false)&&(secret<499500)){
  137. now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);}
  138. else{
  139. hitlerone++;
  140. hitlertwo++;
  141. hitlerthree++;}
  142. if (hitlerone==1){
  143. now = Math.ceil(no()/(99999999999999999999999999999999999999999999999999999999999999999999999*(secret/1000000)));
  144. hitlerone=0 } else
  145. if (hitlertwo==2){
  146. now = Math.ceil(no()/(99999999999999999999999999999999999999999999999999999999999999999999999*(secret/100000)));
  147. hitlertwo=0 } else
  148. if (hitlerthree==3){
  149. now = Math.ceil(no()/(99999999999999999999999999999999999999999999999999999999999999999999999*(secret/10000)));
  150. hitlerthree=0; }
  151. else {
  152. now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);}
  153.  
  154. setTimeout(() => {
  155. $(".ManualSeedControls:visible input").val(now)}, 50);
  156. }
  157. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  158. setInterval(() => go(), 51);
  159.  
  160. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement