Advertisement
coinwalk

snowbot chicken

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