coinwalk

snowy returns

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