Advertisement
coinwalk

c49.95

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