Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. // Script Name: Stable Mable
  2. // Author: BigJerry
  3. // Donations sent to BigJerry
  4.  
  5.  
  6.  
  7. var CrashMax=5; // how many rounds to wait before starting a run based on if below CrashPercentage
  8.  
  9. var DivideByFactor=1000; // determines base bet size, using bank roll divided by this value
  10.  
  11. var DivideByFactorBase=DivideByFactor;
  12.  
  13.  
  14. var LastCrash=0;
  15. var CashoutPercentageBase=1470; // this is 14.70x
  16.  
  17. var CrashPercentage = 1470;
  18.  
  19. var CashoutPercentage=125;
  20. var BitsToBet=0;
  21. var LossCount=0;
  22. var CrashCount=0;
  23. var LossAdjust=0;
  24.  
  25. var CashoutMultiplierBase=1.10; // 1.13 will double your BR 1.10 is safe
  26. var BitsBet =0;
  27. var CashoutMultiplier=CashoutMultiplierBase;
  28. var BitsToBetBase;
  29.  
  30. var RoundCount=0;
  31.  
  32.  
  33. var WinCount=0;
  34. var SaveMe=4;
  35. engine.on('game_starting', function(data) {
  36. DivideByFactor+=10; // Why not make it safer the longer you let it run, will always be reaching to decrease your base bet.
  37.  
  38.  
  39. // Press F12 to see all the stats in debug window (or CTRL-Shift I)
  40. BitsToBetBase=engine.getBalance()/100/DivideByFactor;
  41. if (engine.lastGamePlay() == 'WON' ) {
  42. LossCount=0;
  43. LossAdjust=0;
  44. WinCount++;
  45. SaveMe=4;
  46. BitsBet=0;
  47. BitsToBet=BitsToBetBase;
  48. CashoutMultiplier=CashoutMultiplierBase;
  49.  
  50. } else {
  51. WinCount=0;
  52. }
  53.  
  54. if (CrashCount >= CrashMax) {
  55. if (LossCount==0) {
  56.  
  57. CashoutPercentage=CashoutPercentageBase;
  58. BitsToBet=BitsToBetBase;
  59. CashoutMultiplier=CashoutMultiplierBase;
  60.  
  61. }
  62.  
  63.  
  64.  
  65. LossCount++;
  66.  
  67.  
  68.  
  69.  
  70.  
  71. BitsToBet*=CashoutMultiplier;
  72. BitsBet+=BitsToBet;
  73. if (engine.getBalance()/100 < 35000000) {
  74. engine.stop()
  75. BitsToBet=0;
  76. }
  77.  
  78.  
  79.  
  80. engine.placeBet(Math.floor(BitsToBet)*100 ,Math.floor(CashoutPercentage));
  81.  
  82.  
  83.  
  84.  
  85. }
  86.  
  87. console.log(' ');
  88. console.log('--- Round ' + RoundCount + ' ---');
  89. console.log('Bits Bet: ', BitsToBet);
  90. console.log('Cashout Percentage: ', CashoutPercentage);
  91. console.log('Cashout Multiplier: ', CashoutMultiplier);
  92. console.log('Loss Count: ', LossCount);
  93. console.log('DivideBy: ', DivideByFactor);
  94. console.log('Win Count: ', WinCount);
  95. console.log('Bits Bet: ', BitsBet);
  96. console.log('Early Cashout: ', BitsBet/BitsToBet)
  97. RoundCount++;
  98.  
  99. });
  100. engine.on('game_crash', function(data) {
  101. LastCrash=data.game_crash;
  102. if (data.game_crash <= CrashPercentage-1) {
  103. CrashCount++;
  104.  
  105. } else {
  106.  
  107. CrashCount =0;
  108. LossCount=0;
  109.  
  110. }
  111. console.log('CrashCount: ', CrashCount);
  112. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement