Advertisement
coinwalk

testing phase 4

Mar 21st, 2021
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 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 chance = 49.95;
  41. var fraction=5000;
  42. var basebet=(longer/5000).toFixed(8);
  43. var base=(longer/5000).toFixed(8);
  44. var nextbet=basebet;
  45. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  46. var target = 64000;
  47. var balan=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  48. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  49. var balanc=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  50. var oldbal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  51. var sic=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  52. var older=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  53. var bal;
  54.  
  55. function dobet(){
  56. var secret=parseFloat($('#LastBetInfoSecret').html());
  57. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  58. var previousbet=document.getElementById('BetSizeInput').value;
  59. document.getElementById('BetChanceInput').value = chance;
  60. if (secret<49950) {
  61. longer=balanc+previousbet;
  62. balanc=longer;
  63. }
  64. if (secret>499500) {
  65. longer=balanc-previousbet;
  66. balanc=longer;
  67. oldbal=(parseFloat(bal)).toFixed(8);
  68. }
  69. if ((secret>499500)&&((bal-previousbet)==longer)) {
  70. bal=parseFloat(bal)-previousbet;
  71. }
  72. if ((secret<499500)&&((bal+previousbet)==longer)) {
  73. bal=parseFloat(bal)+previousbet;
  74. }
  75. if (bal<=(older-(basebet*4))) {
  76. nextbet = previousbet*2;
  77. oldbal = (parseFloat(bal)).toFixed(8);
  78. older = (parseFloat(bal)).toFixed(8);
  79. basebet = nextbet;
  80. }
  81. if (bal>=older) {
  82. older = (parseFloat(bal)).toFixed(8);
  83. }
  84. if (nextbet>=bal/8) {
  85. nextbet = previousbet/2;
  86. basebet = nextbet;
  87. }
  88. if (bal>=(oldbal+(basebet*2))) {
  89. nextbet = previousbet*2;
  90. oldbal = (parseFloat(bal)).toFixed(8);
  91. basebet = nextbet
  92. }
  93. if (nextbet<base) {
  94. nextbet = base;
  95. }
  96. if (bal>=(sic+(basebet*3))) {
  97. nextbet = base;
  98. basebet = base;
  99. sic = (parseFloat(bal)).toFixed(8);
  100. old = (parseFloat(bal)).toFixed(8);
  101. older = (parseFloat(bal)).toFixed(8);
  102. }
  103. if (nextbet==null){
  104. nextbet=previousbet;}
  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. $('#BetLowButton').click();
  114. if (bal>good){
  115. console.log('in profit by');
  116. console.log((bal-good).toFixed(8));
  117. }else{
  118. console.log('not in profit');
  119. console.log((bal-good).toFixed(8));
  120. }
  121. }
  122. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement