Advertisement
coinwalk

trial bot again

Jun 18th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 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 no () {
  19. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  20. return parseInt(vim,16);
  21. }
  22. function go () {
  23. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  24. onBetComplete = function(e){
  25. var xol= getR(1,3)
  26. var now;
  27. if (xol==1){
  28. now = Math.ceil(no()/(getR(30000000000000000000000000000000000000000000000000000000000000000000000,50000000000000000000000000000000000000000000000000000000000000000000000)));
  29. }else if (xol==2) {
  30. now = Math.ceil(no()/(getR(70000000000000000000000000000000000000000000000000000000000000000000000,80000000000000000000000000000000000000000000000000000000000000000000000)));
  31. }else{
  32. now = Math.ceil(no()/(getR(90000000000000000000000000000000000000000000000000000000000000000000000,100000000000000000000000000000000000000000000000000000000000000000000000)));
  33. }
  34. setTimeout(() => {
  35. $(".ManualSeedControls:visible input").val(now)}, 20);
  36. }
  37. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  38. setInterval(() => go(), 30);
  39.  
  40.  
  41. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  42.  
  43. var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  44. var long = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  45. var loss=2;
  46. var vimy=0;
  47. var lol=0;
  48. var winn=0;
  49. var vim=0;
  50. var xix=0;
  51. var chance = 49.95;
  52. var nextbet;
  53. midwinn=0;
  54. midloss=0;
  55. var fraction=100000;
  56. var basebet=longer/fraction;
  57. var more = ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText)*1.002);
  58. var target = 13000;
  59. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  60.  
  61. function dobet(){
  62. var secret = parseFloat($('#LastBetInfoSecret').html());
  63. var balance = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  64. var previousbet=document.getElementById('BetSizeInput').value;
  65. document.getElementById('BetChanceInput').value = chance;
  66. if (secret < 500500) {
  67. loss++;
  68. winn=0;
  69. }else {
  70. winn++;
  71. loss=0;
  72. }
  73. if (balance > more) {
  74. nextbet=basebet;
  75. lol=0;
  76. more=((parseFloat(balance))*1.002);
  77. } else if (winn>=3){
  78. winn=0;
  79. nextbet=previousbet*2.1;
  80. }else if (loss>=3){
  81. nextbet=previousbet/2;
  82. loss=0;
  83. }else if (nextbet==previousbet/2){
  84. lol++;
  85. long=(parseFloat(balance));
  86. nextbet=previousbet*2;
  87. }else if ((balance>(long))&&(lol>=1)) {
  88. nextbet=basebet;
  89. lol=0;
  90. }else if (nextbet<(longer/400000)) {
  91. nextbet=basebet;
  92. }else{
  93. nextbet=previousbet;
  94. }
  95.  
  96. if (balance > target) {
  97. //stop();
  98. $('#notification').html('Relax & Reload');
  99. alert('Relax & Reload');
  100. console.log('Relax & Reload');
  101. return;
  102. }
  103. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  104. $('#BetHighButton').click();}
  105.  
  106. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement