Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Script Name: Lobster Larry
- // Author: Jiggles 03-24-2017
- // Donations sent to LobsterLarry
- var BetSizeIsBankrollDividedBy=1555;
- var CashoutPercentage;
- var CashoutWin = 160;
- var CashoutLose = 151;
- var Algorithm=0 ;
- var CashoutTarget = 3;
- var CashoutTargetCounterBase = 2; //CashoutTarget*9;
- var CashoutTargetCounter = 0;
- var BitsToBet;
- var LossCount=0;
- engine.on('game_starting', function(data) {
- if (engine.lastGamePlay() == 'LOST') {
- if (Algorithm==0) {
- if (LossCount==0 ) {
- BitsToBet=Math.floor((engine.getBalance()/100)/BetSizeIsBankrollDividedBy);
- CashoutPercentage=CashoutLose;
- CashoutPercentage+=20;
- BitsToBet*=12;
- } else if (LossCount ==1) {
- CashoutPercentage-=10;
- BitsToBet*=3.4;
- } else if (LossCount ==2) {
- CashoutPercentage+=25;
- BitsToBet*=3.63;
- } else if (LossCount ==3) {
- CashoutPercentage-=35;
- BitsToBet*=3.20;
- } else {
- CashoutPercentage-=10;
- BitsToBet*=2.6;
- }
- LossCount++;
- } else {
- LossCount++;
- BitsToBet*=1.07;
- CashoutPercentage=CashoutTarget*100;
- }
- } else {
- Algorithm=0;
- BitsToBet=Math.floor((engine.getBalance()/100)/BetSizeIsBankrollDividedBy);
- if (CashoutTargetCounter > CashoutTargetCounterBase && LossCount==0) {
- // Algorithm=1;
- // BitsToBet=25;
- CashoutTargetCounter=0;
- // CashoutPercentage=CashoutTarget*100;
- } else {
- if (Math.random() > 0.8) {
- BitsToBet*=1.3;
- console.log('%cBonus 1.3X Bits')
- }
- if (Math.random() > 0.8) { BitsToBet*=1.3;
- console.log('%cBonus 1.3X Bits')
- }
- if (Math.random() > 0.8) {
- BitsToBet*=1.3;
- console.log('%cBonus 1.3X Bits')
- }
- if (Math.random() > 0.8) { BitsToBet*=1.3;
- console.log('%cBonus 1.3X Bits')
- }
- CashoutPercentage=CashoutWin;
- if (Math.random() > 0.8) {
- CashoutPercentage*=1.1;
- console.log('%cBonus 1.1X Cashout')
- }
- if (Math.random() > 0.8) {
- CashoutPercentage*=1.1;
- console.log('%cBonus 1.1X Cashout')
- }
- }
- LossCount=0;
- }
- console.log('Algorithm: ', Algorithm);
- console.log('Cashout: ', CashoutPercentage);
- console.log('Bits Bet: ', BitsToBet);
- console.log('%cLoss Count: ' + LossCount, 'color:red');
- console.log('Target Counter: ', CashoutTargetCounter);
- engine.placeBet(Math.floor(BitsToBet)*100 ,Math.floor(CashoutPercentage));
- });
- engine.on('game_crash', function(data) {
- if (data.game_crash/100 < CashoutTarget ) {
- if (Algorithm==0 && LossCount ==0) CashoutTargetCounter++;
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement