Advertisement
coinwalk

chicken update

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