SHARE
TWEET

Untitled

a guest May 19th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var config = {};
  2.  
  3. var waitXgames = 2;
  4. var bets =  [1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30];
  5. var games = [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5];
  6. var cashOut = 10;
  7. var maxProfit = 1000;
  8. var maxLosses = 1000;
  9.  
  10. // Do no change anything below this line.
  11. //-----------------------------------------------------------------------------
  12. var x = 0;
  13. var currentBet = bets[x];
  14. var gtp = games[x];
  15. var mia = 0;
  16. var lc = 0;
  17. var beton = false;
  18. var startBR = userInfo.balance;
  19. var currentBR = startBR;
  20. var sessionBR = startBR;
  21. console.log('Starting to skip.');
  22. //-----------------------------------------------------------------------------
  23. engine.on('GAME_STARTING', () => {
  24.     if (beton){
  25.         console.log(`Betting ${Math.round(currentBet)} bits @ ${Math.round(cashOut*100)/100}x`);
  26.         engine.bet(Math.round(currentBet)*100, cashOut);
  27.     }
  28. });
  29. engine.on('GAME_ENDED', () => {
  30.     console.clear();
  31.     currentBR = userInfo.balance;  
  32.     let lastGame = engine.history.first();
  33.     let lastCrash = lastGame.bust;
  34.     if (lastCrash < cashOut){
  35.         mia++;
  36.     }else{
  37.         mia = 0;
  38.         console.log('Last game was our target.');
  39.         console.log('Resetting the skip.');
  40.     }
  41.     if (mia >= waitXgames){
  42.         beton = true;
  43.     }
  44.  
  45.     console.log('Current profit+/losses-:', (currentBR-startBR)/100);
  46.     console.log('Session profit+/losses-:', (currentBR-sessionBR)/100);
  47.     console.log(' ');
  48.     if (mia <= waitXgames){
  49.         console.log('Skipped', mia, 'of', waitXgames, 'games.');
  50.     }  
  51.     if (!lastGame.wager) return;   
  52.     //-----------------------------------------------
  53.     if (lastGame.cashedAt) {
  54.         x = 0;
  55.         lc = 0;
  56.         beton = false;
  57.         mia = 0;
  58.         console.log('Starting to skip again.');
  59.     } else {
  60.         lc++;
  61.         if (lc >= gtp){
  62.             lc = 0;
  63.             x++;
  64.         }
  65.     }
  66.     currentBet = bets[x];
  67.     gtp = games[x];
  68.  
  69.     if (currentBR >= startBR){startBR = currentBR;}
  70.     if ((startBR-currentBR)/100 >= maxLosses){
  71.         stop('We have lost maxLosses amount.');
  72.     }  
  73.     if ((currentBR-sessionBR)/100 >= maxProfit){
  74.         stop('We have won maxProfit amount.');
  75.     }
  76. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top