Advertisement
coinwalk

c24

Jul 25th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 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 myseed;
  25. var chance = 24;
  26. var nextbet;
  27. var fraction=999;
  28. var basebet=longer/fraction;
  29. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  30. var target = 350000;
  31. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  32. var win;
  33. var bogus=false;
  34. var lol=0;
  35. var lok=0;
  36. var bbb=0;
  37.  
  38. function dobet(){
  39. var secret=parseFloat($('#LastBetInfoSecret').html());
  40. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  41. var previousbet=document.getElementById('BetSizeInput').value;
  42. document.getElementById('BetChanceInput').value = chance;
  43.  
  44. if (bal<=more){
  45. bbb++;
  46. win=false;}
  47.  
  48. if (bal>more){
  49. win=true;
  50. nextbet=basebet;
  51. bbb=0;
  52. more=(parseFloat(bal));}
  53.  
  54. if (bbb==3){
  55. nextbet=(previousbet*2);
  56. bbb=0;
  57. }
  58. if (nextbet==null){
  59. nextbet= previousbet;}
  60.  
  61. if (bal>good){
  62. console.log('in profit');
  63. }else{
  64. console.log('not in profit');
  65. }
  66.  
  67. if (bal>target) {
  68. //stop();
  69. console.log('target confirmed');
  70. return;
  71. }
  72. if (secret==null){
  73. secret=499500;}
  74. if (secret==NaN){
  75. secret=499500;}
  76.  
  77. if ((win==true)&&(secret>759999)){
  78. lol++;
  79. }else if ((win==true)&&(secret<240000)){
  80. lok++;
  81. }else if ((win==false)&&(secret>759999)){
  82. bogus=true;
  83. }else if ((win==false)&&(secret<240000)){
  84. bogus=false;
  85. }
  86. if (lok==3){
  87. bogus=false;
  88. lok=0;
  89. }
  90. if (lol==3){
  91. bogus=true;
  92. lol=0;
  93. }
  94.  
  95.  
  96. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  97. if (bogus==true){
  98. $('#BetLowButton').click();
  99. }else if (bogus==false){
  100. $('#BetHighButton').click();}}
  101.  
  102.  
  103. function zim(){
  104. var lil= document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML;
  105. return (parseInt(lil,16));
  106. }
  107.  
  108. function go(){
  109. var secy=(parseFloat($('#LastBetInfoSecret').html()));
  110. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  111. onBetComplete = function(e){
  112. myseed = Math.ceil(zim()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secy)));
  113. setTimeout(() => { $(".ManualSeedControls:visible input").val(myseed)}, 50);
  114. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}}
  115. setInterval(() => go(), 51);
  116. setInterval(() => dobet(), 3000);
  117.  
  118.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement