Advertisement
coinwalk

awesome javascript

Jun 28th, 2021
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 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. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  36. var good=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  37. var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  38. var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  39. var chance = 49.95;
  40. var fraction=5000;
  41. var basebet=(longer/fraction).toFixed(8);
  42. var nextbet=basebet;
  43. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  44. var target = 6400;
  45. var balan=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  46. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  47. var balanc=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  48. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  49. var lol=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  50. var old=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  51. var bal;
  52. var ko=0;
  53. var kill=0;
  54. var last;
  55. var chang;
  56. var d= 320
  57. var y = (longer/d).toFixed(8);
  58. var x = (longer/d).toFixed(8);
  59. var j = 0
  60. var s = 0;
  61. var h = false;
  62. var elf=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  63. var jlf=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  64. var olf=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  65. var k=false;
  66. var bob=j*8;
  67. var nah=0;
  68. var loggy;
  69. var log;
  70. var max=longer*1.2;
  71. var him=0;
  72. var g=0;
  73. var c=0;
  74. var lose=0;
  75. function bet(){
  76. $('#BetLowButton').click();
  77. setTimeout('', 3000); }
  78. function dobet(){
  79. console.clear();
  80. var secret = document.getElementById('LastBetInfoSecret').innerHTML;
  81. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  82. var previousbet=document.getElementById('BetSizeInput').value;
  83. var chang=document.getElementById('BetChanceInput').value
  84. if (secret<499500) {
  85. c = c+1;
  86. g = 0;
  87. lose = lose-previousbet;
  88. }else{
  89. g = g+1;
  90. lose = lose+previousbet;
  91. }
  92. if (lose<0) {
  93. lose = 0;
  94. }
  95. if ((c>=3)&&(g<=2)) {
  96. nextbet = lose;
  97. g = 0;
  98. c = 0;
  99. }else{
  100. if (g>=3) {
  101. c = 0;
  102. g = 0;
  103. }
  104. nextbet = 0
  105. }
  106. if (bal>=old) {
  107. nextbet = y;
  108. lose = 0;
  109. old = parseFloat(bal)
  110. }
  111. if (nextbet==null) {
  112. nextbet=previousbet;
  113. }
  114. if (bal > target) {
  115. //stop();
  116. $('#notification').html('Relax & Reload');
  117. alert('Relax & Reload');
  118. console.log('Relax & Reload');
  119. return;
  120. }
  121. document.getElementById('BetChanceInput').value = chance;
  122. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  123. bet();
  124. log=parseFloat(bal-good);
  125. if (bal>good){
  126. console.log('in profit by');
  127. console.log((bal-good).toFixed(8));
  128. }else{
  129. console.log('not in profit');
  130. console.log((bal-good).toFixed(8));
  131. }
  132. }
  133. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement