Advertisement
coinwalk

chicken stuff

Jul 31st, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 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. function go () {
  19. var xol =getR(1,3);
  20. $('#LastBetInfoSecret').unbind('DOMSubtreeModified')
  21. onBetComplete = function(e){
  22. var myseed;
  23. if (xol==1) {
  24. myseed = getR(7777,9999);
  25. } else if (xol==2) {
  26. myseed = getR(50000,77777);
  27. } else {
  28. myseed = getR(50,99);
  29. }
  30. setTimeout(() => {
  31. $(".ManualSeedControls:visible input").val(myseed)}, 50);
  32. }
  33. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  34. setInterval(() => go(), 51);
  35.  
  36. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  37. var good=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  38. var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  39. var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  40. var loss=0;
  41. var bs;
  42. var chance = 49.95;
  43. var nextbet;
  44. var fraction=5000;
  45. var basebet=longer/fraction;
  46. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  47. var target = 50000;
  48. var nob=getR(1,2);
  49. var wyn=0;
  50. var bad=0;
  51. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  52. var bethight=0;
  53. var tossy=0;
  54. var lossy=0;
  55. var fuck;
  56. var low;
  57. var ddd;
  58. var fissy=0;
  59. var god=0;
  60. var win;
  61. var lower=true;
  62. var bem=0;
  63. var botbuddy=0
  64.  
  65. function dobet(){
  66. var secret=parseFloat($('#LastBetInfoSecret').html());
  67. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  68. var previousbet=document.getElementById('BetSizeInput').value;
  69. document.getElementById('BetChanceInput').value = chance;
  70. basebet=bal/fraction
  71. if (bal>good){
  72. console.log('in profit by');
  73. console.log(bal-good);
  74. }else{
  75. console.log('not in profit');
  76. console.log(bal-good);
  77. }
  78.  
  79. if ((low==true)&&(secret<499500)){
  80. win=true;
  81. bs=true;
  82. }else if ((low==false)&&(secret>500499)) {
  83. win=true;
  84. bs=false;
  85. }else if ((low==false)&&(secret<499500)){
  86. win=false;
  87. bs=false;
  88. }else if ((low==true)&&(secret>500499)){
  89. win=false;
  90. bs=true;
  91. }
  92. if ((bs==false)&&(win==false)){
  93. low=true;
  94. lower=true;
  95. }else if ((bs==true)&&(win==true)) {
  96. low=true;
  97. lower=true;}
  98. else if ((bs==true)&&(win==false)){
  99. low=false;
  100. lower=false;
  101. }else if ((bs==false)&&(win==true)){
  102. low=false;
  103. lower=false;}
  104.  
  105. if (bal>more) {
  106. console.log('green');
  107. botbuddy=0;
  108. nextbet=bal/fraction
  109. more=(parseFloat(bal))
  110. }else{
  111. botbuddy++;
  112. console.log('red');
  113. }
  114. if (botbuddy>=1){
  115. nextbet= ((previousbet*1.5)+(basebet*botbuddy));}
  116.  
  117. if (bal > target) {
  118. //stop();
  119. $('#notification').html('Relax & Reload');
  120. alert('Relax & Reload');
  121. console.log('Relax & Reload');
  122. return;
  123. }
  124. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  125. if (lower==true){
  126. $('#BetLowButton').click();
  127. low=true;
  128. }
  129. if (lower==false) {
  130. $('#BetHighButton').click();
  131. low=false;
  132. }}
  133.  
  134. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement