Advertisement
coinwalk

latest bot

Jun 20th, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 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 loss=0;
  45. var winn=0;
  46. var chance = 49.95;
  47. var nextbet;
  48. midwinn=0;
  49. midloss=0;
  50. var fraction=50000;
  51. var basebet=longer/fraction;
  52. var more = (document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  53. var target = 500;
  54. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  55.  
  56. function dobet(){
  57. var secret=parseFloat($('#LastBetInfoSecret').html());
  58. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  59. var previousbet=document.getElementById('BetSizeInput').value;
  60. document.getElementById('BetChanceInput').value = chance;
  61. basebet=bal/fraction;
  62. if (secret < 500500) {
  63. loss++;
  64. }else{
  65. winn++;
  66. }
  67. if (bal >= more) {
  68. nextbet = basebet;
  69. more = (parseFloat(bal));
  70. }else if (Math.fmod(winn,3)==0){
  71. nextbet = previousbet*2.1;
  72. } else if (Math.fmod(loss,3)==0) {
  73. nextbet = previousbet*2.1;
  74. } else {
  75. nextbet=previousbet;
  76. }
  77.  
  78. if (bal > target) {
  79. //stop();
  80. $('#notification').html('Relax & Reload');
  81. alert('Relax & Reload');
  82. console.log('Relax & Reload');
  83. return;
  84. }
  85. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  86. $('#BetHighButton').click();}
  87.  
  88. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement