coinwalk

snowybot returns again snowflaked

Jul 23rd, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 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. var good=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  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 bs;
  27. var chance = 5;
  28. var nextbet;
  29. var fraction=9999;
  30. var basebet=longer/fraction;
  31. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  32. var target = 350000;
  33. var nob=getR(1,2);
  34. var wyn=0;
  35. var bad=0;
  36. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  37. var secret=parseFloat($('#LastBetInfoSecret').html());
  38. var bethight=0;
  39. var tossy=0;
  40. var lossy=0;
  41. var fuck;
  42. var low;
  43. var ddd;
  44. var fissy=0;
  45. var god=0;
  46. var win;
  47. var lower;
  48. var bem=0;
  49. var botbuddy=0
  50.  
  51. function dobet(){
  52. var secret=parseFloat($('#LastBetInfoSecret').html());
  53. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  54. var previousbet=document.getElementById('BetSizeInput').value;
  55. document.getElementById('BetChanceInput').value = chance;
  56.  
  57. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  58.  
  59. if (bal>good){
  60. console.log('in profit');
  61. }else{
  62. console.log('not in profit');
  63. }
  64. if ((lower==true)&&(secret<050000)){
  65. win=true;
  66. low=false;
  67. }else if ((lower==false)&&(secret>949999)) {
  68. win=true;
  69. low=false;
  70. }else if ((lower==false)&&(secret<949999)){
  71. low=true;
  72. win=false;
  73. }else{
  74. low=false;
  75. win=false;
  76. }
  77.  
  78. if ((lower==true)&&(win==false)){
  79. low=true;
  80. }else
  81. if ((lower==true)&&(win==true)){
  82. low=false;
  83. }else
  84. if ((lower==false)&&(win==false)) {
  85. low=false
  86. }else
  87. if ((lower==false)&&(win==true)) {
  88. low=true;
  89. }
  90.  
  91.  
  92. if (win==0){
  93. console.log('red');
  94. botbuddy++;
  95. }
  96. if (botbuddy==8){
  97. nextbet= (previousbet*2);
  98. botbuddy=0;
  99. }
  100. if (win>0) {
  101. console.log('green');
  102. botbuddy=0;
  103. nextbet=basebet;
  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.  
  116. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  117. if (low==true){
  118. $('#BetLowButton').click();
  119. lower=true;
  120. }else if (low==false) {
  121. $('#BetHighButton').click();
  122. lower=false;}}
  123.  
  124. function no () {
  125. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  126. return parseInt(vim,16);
  127. }
  128. function go () {
  129. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  130. onBetComplete = function(e){
  131. var secret=parseFloat($('#LastBetInfoSecret').html());
  132. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  133. var now;
  134. var hitlerone=0;
  135. var hitlertwo=0;
  136. var hitlerthree=0;
  137. if ((win==true)&&(secret>499500)){
  138. now = Math.ceil(no()/999999999999999999999999999999999999999999999999999999999999999999999999999/(secret));
  139. }else if ((win==true)&&(secret<499500)){
  140. now = Math.ceil(no()/999999999999999999999999999999999999999999999999999999999999999999999999999/(secret));}
  141. else{
  142. hitlerone++;
  143. hitlertwo++;
  144. hitlerthree++;}
  145. if (hitlerone==1){
  146. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  147. hitlerone=0 } else
  148. if (hitlertwo==2){
  149. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  150. hitlertwo=0 } else
  151. if (hitlerthree==3){
  152. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  153. hitlerthree=0; }
  154. else {
  155. now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);}
  156.  
  157. setTimeout(() => {
  158. $(".ManualSeedControls:visible input").val(now)}, 50);
  159. }
  160. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  161. setInterval(() => go(), 51);
  162.  
  163. setInterval(() => dobet(), 3000);
Add Comment
Please, Sign In to add comment