Advertisement
coinwalk

nice

Jun 6th, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  2. function getR(min, max) {
  3. min = Math.ceil(min);
  4. max = Math.floor(max);
  5. return Math.floor(Math.random() * (max - min + 1)) + min;
  6. }
  7. function no () {
  8. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  9. return parseInt(vim,16);
  10. }
  11. function go () {
  12. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  13. onBetComplete = function(e){
  14. var xol= getR(1,3)
  15. var now;
  16. if (xol==1){
  17. now = Math.ceil(no()/(getR(30000000000000000000000000000000000000000000000000000000000000000000000,50000000000000000000000000000000000000000000000000000000000000000000000)));
  18. }else if (xol==2) {
  19. now = Math.ceil(no()/(getR(70000000000000000000000000000000000000000000000000000000000000000000000,80000000000000000000000000000000000000000000000000000000000000000000000)));
  20. }else{
  21. now = Math.ceil(no()/(getR(90000000000000000000000000000000000000000000000000000000000000000000000,100000000000000000000000000000000000000000000000000000000000000000000000)));
  22. }
  23. setTimeout(() => {
  24. $(".ManualSeedControls:visible input").val(now)}, 20);
  25. }
  26. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  27. setInterval(() => go(), 30);
  28.  
  29.  
  30. var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  31. var loss=0;
  32. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  33. var fraction=50000;
  34. var basebet=longer/fraction;
  35. var target = 500;
  36. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  37. function dobet(){
  38. var chance = 49.95;
  39. var secret = parseFloat($('#LastBetInfoSecret').html());
  40. var balance = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  41. var basebet=balance/fraction;
  42. var nextbet;
  43. var previousbet=document.getElementById('BetSizeInput').value;
  44. document.getElementById('BetChanceInput').value = chance;
  45.  
  46. if (secret > 499499) {
  47. loss++;
  48. }
  49. if (balance > more){
  50. nextbet=balance/fraction;
  51. more=(parseFloat(balance));
  52. }else if (Math.fmod(loss,1)==0) {
  53. nextbet=previousbet*((getR(150,250))/100);
  54. }else{
  55. nextbet=previousbet;
  56. }
  57.  
  58. if (balance > target) {
  59. //stop();
  60. $('#notification').html('Relax & Reload');
  61. alert('Relax & Reload');
  62. log('Relax & Reload');
  63. return;
  64. }
  65. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  66. $('#BetLowButton').click();}
  67.  
  68. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement