coinwalk

testing

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