Advertisement
coinwalk

snowy yay

Jul 20th, 2020
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.57 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 true;
  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. longer=(parseFloat(bal));
  94. }
  95. if (bal<=(longer-(basebet*16))){
  96. nextbet=previousbet*2;
  97. longer=(parseFloat(bal));
  98. }
  99. if (bal>=(long+(basebet*8))) {
  100. nextbet=basebet;
  101. long=(parseFloat(bal));
  102. longer=(parseFloat(bal));
  103. more=(parseFloat(bal));
  104. }
  105. if (nextbet==null) {
  106. nextbet=previousbet;
  107. }
  108. if (bal > target) {
  109. //stop();
  110. $('#notification').html('Relax & Reload');
  111. alert('Relax & Reload');
  112. console.log('Relax & Reload');
  113. return;
  114. }
  115. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  116. if (bethigh()==true) {
  117. $('#BetHighButton').click();}
  118. else if (bethigh()==false) {
  119. $('#BetLowButton').click();}}
  120.  
  121. setInterval(() => dobet(), 3000);
  122.  
  123. function no () {
  124. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  125. return parseInt(vim,16);
  126. }
  127. function go () {
  128. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  129. onBetComplete = function(e){
  130. var secret=parseFloat($('#LastBetInfoSecret').html());
  131. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  132. var now;
  133. var hitlerone=0;
  134. var hitlertwo=0;
  135. var hitlerthree=0;
  136. if ((bethigh()==true)&&(secret>499500)){
  137. now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);
  138. }else if ((bethigh()==false)&&(secret<499500)){
  139. now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);}
  140. else{
  141. hitlerone++;
  142. hitlertwo++;
  143. hitlerthree++;}
  144. if (hitlerone==1){
  145. now = Math.ceil(no()/(99999999999999999999999999999999999999999999999999999999999999999999999*(secret/999999)));
  146. hitlerone=0 } else
  147. if (hitlertwo==2){
  148. now = Math.ceil(no()/(99999999999999999999999999999999999999999999999999999999999999999999999*(secret/99999)));
  149. hitlertwo=0 } else
  150. if (hitlerthree==3){
  151. now = Math.ceil(no()/(99999999999999999999999999999999999999999999999999999999999999999999999*(secret/9999)));
  152. hitlerthree=0; }
  153. else {
  154. now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);}
  155.  
  156. setTimeout(() => {
  157. $(".ManualSeedControls:visible input").val(now)}, 50);
  158. }
  159. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  160. setInterval(() => go(), 51);
  161.  
  162. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement