coinwalk

chicken

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