coinwalk

snowybot

Jul 22nd, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 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 = 49.95;
  28. var nextbet;
  29. var fraction=50000;
  30. var basebet=longer/fraction;
  31. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  32. var target = 50000;
  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.  
  50. function dobet(){
  51. var secret=parseFloat($('#LastBetInfoSecret').html());
  52. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  53. var previousbet=document.getElementById('BetSizeInput').value;
  54. document.getElementById('BetChanceInput').value = chance;
  55. if (bal>good){
  56. console.log('in profit');
  57. }else{
  58. console.log('not in profit');
  59. }
  60.  
  61. if ((low==true)&&(secret<499500)){
  62. win=true;
  63. bs=true;
  64. }else if ((low==false)&&(secret>500499)) {
  65. win=true;
  66. bs=false;
  67. }else{
  68. win=false;
  69. bs=true;
  70. }
  71. if (win==true){
  72. ddd=true;
  73. }else{
  74. ddd=false;
  75. }
  76. if ((bs==false)&&(ddd==false)) {
  77. low=true;
  78. lower=true;}
  79. else if ((bs==true)&&(ddd==true)) {
  80. low=true;
  81. lower=true;}
  82. else if ((bs==true)&&(ddd==false)){
  83. low=false;
  84. lower=false;
  85. }else if ((bs==false)&&(ddd==true)){
  86. low=true;
  87. lower=true;}
  88.  
  89. if (win==true) {
  90. nextbet=bal/fraction
  91. console.log('green');
  92. }else{
  93. nextbet=previousbet*1.8;
  94. console.log('red');
  95. }
  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 (lower==true){
  106. $('#BetLowButton').click();
  107. low=true;
  108. }
  109. if (lower==false) {
  110. $('#BetHighButton').click();
  111. low=false;
  112. }}
  113.  
  114. function no () {
  115. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  116. return parseInt(vim,16);
  117. }
  118. function go () {
  119. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  120. onBetComplete = function(e){
  121. var secret=parseFloat($('#LastBetInfoSecret').html());
  122. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  123. var now;
  124. var hitlerone=0;
  125. var hitlertwo=0;
  126. var hitlerthree=0;
  127. if ((win==true)&&(secret>499500)){
  128. now = Math.ceil(no()/999999999999999999999999999999999999999999999999999999999999999999999999999/(secret));
  129. }else if ((win==true)&&(secret<499500)){
  130. now = Math.ceil(no()/999999999999999999999999999999999999999999999999999999999999999999999999999/(secret));}
  131. else{
  132. hitlerone++;
  133. hitlertwo++;
  134. hitlerthree++;}
  135. if (hitlerone==1){
  136. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  137. hitlerone=0 } else
  138. if (hitlertwo==2){
  139. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  140. hitlertwo=0 } else
  141. if (hitlerthree==3){
  142. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  143. hitlerthree=0; }
  144. else {
  145. now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);}
  146.  
  147. setTimeout(() => {
  148. $(".ManualSeedControls:visible input").val(now)}, 50);
  149. }
  150. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  151. setInterval(() => go(), 51);
  152.  
  153. setInterval(() => dobet(), 3000);
Add Comment
Please, Sign In to add comment