coinwalk

snowy real work

May 9th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. function getR(min, max) {
  2. min = Math.ceil(min);
  3. max = Math.floor(max);
  4. return Math.floor(Math.random() * (max - min + 1)) + min;
  5. }
  6. function go () {
  7. var x =getR(1,3);
  8. $('#LastBetInfoSecret').unbind('DOMSubtreeModified')
  9. onBetComplete = function(e){
  10. var myseed;
  11. if (x==1) {
  12. myseed = 5555555;
  13. }
  14. else if (x==2)
  15. {
  16. myseed = 65888777;
  17. } else {
  18. myseed = 678910987;
  19. }
  20. setTimeout(() => {
  21. $(".ManualSeedControls:visible input").val(myseed)}, 50);
  22. }
  23. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  24. setInterval(() => go(), 51);
  25.  
  26. var bet;
  27. var fog = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  28. var chance = 49.95;
  29. var target = fog*1.1;
  30. function dobet(){
  31. var lanc = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  32. var secret = parseFloat($('#LastBetInfoSecret').html());
  33. var bog = document.getElementById('BetSizeInput').value;
  34. document.getElementById('BetChanceInput').value = chance;
  35. if ((lanc >= (fog)) && (secret < 499499)) {
  36. bet=lanc/500000;
  37. fog = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  38. } else {
  39. bet=bog*1.5;
  40. }
  41.  
  42. if (lanc > target) {
  43. //stop();
  44. $('#notification').html('Relax & Reload');
  45. alert('Relax & Reload');
  46. log('Relax & Reload');
  47. return;
  48. }
  49. document.getElementById('BetSizeInput').value = (bet).toFixed(8);
  50. $('#BetLowButton').click();}
  51. setInterval(() => dobet(), 3000);
Add Comment
Please, Sign In to add comment