Advertisement
coinwalk

complexity #2 snowybot

Nov 14th, 2023
725
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var originalbal = parseFloat(document.getElementById('pct_balance').value);
  2. var base = Number((originalbal/320).toFixed(8));
  3. var floatingbase = base;
  4. var taget = (originalbal*24000);
  5. var groupedten = (base*10);
  6. var groupedseven = (base*6.5);
  7. var tobetnext = ((floatingbase*1).toFixed(8));
  8. var grind = (base*80)
  9. var bolance = grind;
  10. var over = 6.9;
  11. var under = 2.9;
  12. var freak = 0;
  13. var fryer = 0;
  14. var fart = 1;
  15. var oldthree = ((Math.floor(originalbal/groupedten))*groupedten);
  16. var oldbolance = ((Math.floor(originalbal/groupedten))*groupedten);
  17. var oldtwo = originalbal;
  18.  
  19.  
  20.  function getR(minz, maxz) {
  21.   minz = Math.ceil(minz);
  22.   maxz = Math.floor(maxz);
  23.   return Math.floor(Math.random() * (maxz - minz + 1)) + minz;
  24. }
  25.  
  26.  
  27. function get(){
  28. console.clear();
  29. bolance = document.getElementById('pct_balance').value;
  30. if (bolance>(oldbolance+(floatingbase*over))){
  31.     floatingbase = floatingbase*2;
  32.     over = 4.9;
  33.     under = 4.9
  34.     fryer = fryer+1;
  35.     oldbolance = parseFloat(bolance);
  36. }
  37. if ((fryer>=2)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){
  38.     floatingbase = base;
  39.     over = 6.9;
  40.     under = 2.9;
  41.     fryer = 0;
  42.     freak = 0;
  43.     oldbolance = ((Math.floor(bolance/groupedten))*groupedten);
  44. }
  45. if (bolance<(oldbolance-(floatingbase*under))){
  46.     floatingbase = floatingbase*2;
  47.     over = 4.9;
  48.     under = 4.9;
  49.     freak = freak+1;
  50.     oldbolance = parseFloat(bolance);
  51. }
  52. if ((freak>=1)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){
  53.     floatingbase = base;
  54.     over = 6.9;
  55.     under = 2.9;
  56.     freak = 0;
  57.     fryer = 0;
  58.     oldbolance = ((Math.floor(bolance/groupedten))*groupedten);
  59. }
  60.     if (bolance >= taget) {
  61.         console.log("winner winner chicken dinner");
  62.         return;
  63.     }
  64. tobetnext = ((floatingbase*1).toFixed(8));
  65. $('#pct_chance').val(49.5);
  66. $('#pct_bet').val(tobetnext);
  67. $('#a_lo').click();
  68. var good = ((bolance-originalbal).toFixed(8));
  69. console.log("profit");
  70. console.log(good);
  71. setTimeout(() => get(), 1);
  72. }
  73. get();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement