Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Script Name: not yet released
- // Author: Landrew 03-31-2017
- // Donations sent to Landrew
- // 1.10 cashout on loss 1.11 cashout
- var BetSizeIsBankrollDividedBy=111;
- var CashoutPercentageWin=108;
- var CashoutPercentageLoss=109;
- var CurrentBalance;
- var CashoutPercentage;
- var BitMultiplierLoss=12;
- var QuitAt=15020;
- var SkipCount=0;
- var BitsToBet;
- var BitsToBetBase;
- var LossCount=0;
- var FirstRun = true;
- var FirstRunBonuse= false;
- var WinCount=0;
- var WinCountMax=25;
- var BigLoss=false;
- var BitsToBetWinMultiplier;
- engine.on('game_starting', function(data) {
- BitsToBetBase=Math.floor((engine.getBalance()/100)/BetSizeIsBankrollDividedBy)+2;
- if (SkipCount ==0 || engine.lastGamePlay() == 'WON' ) {
- if (engine.lastGamePlay() =='WON' || FirstRun) {
- if (WinCount==0) {
- BitsToBetWinMultiplier = 0.94;
- BitsToBet=BitsToBetBase;
- if (BigLoss) BitsToBet*=2;
- } else {
- BitsToBet*=BitsToBetWinMultiplier;
- if (Math.random() > 0.80) BitsToBet*=0.9;
- }
- BitsToBetWinMultiplier-=(0.003+WinCount/500 );
- //BitsToBet+=(Math.sin(WinCount)*10);
- BetSizeIsBankrollDividedBy+=(WinCount/100);
- if (FirstRun) {
- BitsToBet*=5;
- FirstRunBonus=true;
- }
- FirstRun=false;
- CashoutPercentage=CashoutPercentageWin;
- // CashoutPercentage=105+Math.abs(Math.sin(WinCount/10)*Math.PI**2)
- SkipCount=0;
- LossCount=0;
- BigLoss=false;
- WinCount++;
- if (Math.random() > 0.99) SkipCount=Math.floor(Math.random()*50);
- if (BitsToBet < 5) WinCount=0;
- } else if (engine.lastGamePlay() == 'LOST' || LossCount > 0) {
- CashoutPercentage=CashoutPercentageLoss;
- if (LossCount==0) {
- if (FirstRunBonus) {
- CashoutPercentage+=15;
- SkipCount=0;
- BitsToBet=1;
- FirstRunBonus=false;
- } else {
- BitsToBet*=(BitMultiplierLoss);
- SkipCount=Math.floor(Math.random()*5)+5;
- BitsToBet*=1.01;
- }
- } else if (LossCount ==1) {
- engine.placeBet(Math.floor(BitsToBet)*100 ,Math.floor(CashoutPercentage));
- BitsToBet*=(BitMultiplierLoss);
- BitsToBet*=1.02;
- SkipCount=Math.floor(Math.random()*10)+5;;
- } else if (LossCount >=2) {
- engine.placeBet(Math.floor(BitsToBet)*100 ,Math.floor(CashoutPercentage));
- SkipCount=1;
- BitsToBet=BitsToBetBase;
- BigLoss=true;
- }
- LossCount++;
- WinCount=0;
- }
- CurrentBalance=engine.getBalance();
- if (CurrentBalance/100 > QuitAt) {
- console.log('Stopping');
- engine.stop();
- }
- if (SkipCount ==0)
- engine.placeBet(Math.floor(BitsToBet)*100 ,Math.floor(CashoutPercentage));
- } else {
- SkipCount--;
- console.log('SkipCount: ', SkipCount);
- }
- console.log('%cBitsBet: '+ BitsToBet, 'color:green; font-size:16px');
- console.log('LossCount: ', LossCount);
- console.log('WinCount: ', WinCount);
- console.log('BetSizeIsBankrollDividedBy: ', BetSizeIsBankrollDividedBy);
- console.log('BitsToBetWinMultiplier: ', BitsToBetWinMultiplier);
- });
- engine.on('game_crash', function(data) {
- if (data.game_crash>= CashoutPercentage) {
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement