coinwalk

c5

Jul 23rd, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.36 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 = 5;
  28. var nextbet;
  29. var fraction=9999;
  30. var basebet=longer/fraction;
  31. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  32. var target = 10;
  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. if (bal>good){
  57. console.log('in profit');
  58. }else{
  59. console.log('not in profit');
  60. }
  61.  
  62. if ((low==true)&&(secret<050000)){
  63. win=true;
  64. bs=true;
  65. }else if ((low==false)&&(secret>949999)) {
  66. win=true;
  67. bs=false;
  68. }else{
  69. win=false;
  70. bs=true;
  71. }
  72. if (win==true){
  73. ddd=true;
  74. }else{
  75. ddd=false;
  76. }
  77. if ((bs==false)&&(ddd==false)) {
  78. low=true;
  79. lower=true;}
  80. else if ((bs==true)&&(ddd==true)) {
  81. low=true;
  82. lower=true;}
  83. else if ((bs==true)&&(ddd==false)){
  84. low=false;
  85. lower=false;
  86. }else if ((bs==false)&&(ddd==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. console.log('red');
  96. botbuddy++;
  97. }
  98. if (botbuddy==8){
  99. nextbet= (previousbet*2);
  100. botbuddy=0;
  101. }
  102. if (nextbet==null){
  103. nextbet= previousbet;}
  104.  
  105. if (bal > target) {
  106. //stop();
  107. $('#notification').html('Relax & Reload');
  108. alert('Relax & Reload');
  109. console.log('Relax & Reload');
  110. return;
  111. }
  112. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  113. if (1+1==2){
  114. $('#BetHighButton').click();
  115. low=false;} else { low=true;}
  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);
Add Comment
Please, Sign In to add comment