Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Script Name: FatCow
- // Author: Landrew 03-28-2017
- // Donations sent to Landrew
- var BetSizeIsBankrollDividedBy=4515;
- var CashoutPercentage;
- var CashoutWin = 170;
- var CashoutLose = 147;
- var Algorithm=0 ;
- var CashoutTarget = 3;
- var CashoutTargetCounterBase = 2; //CashoutTarget*9;
- var CashoutTargetCounter = 0;
- var CashoutTargetRateBase=1.03;
- var CashoutTargetGrowthRate=0.01;
- var BitsToBet;
- var LossCount=0;
- engine.on('game_starting', function(data) {
- if (engine.lastGamePlay() == 'LOST') {
- if (Algorithm==0) {
- if (LossCount==0 ) {
- BitsToBet=1; //Math.floor((engine.getBalance()/100)/BetSizeIsBankrollDividedBy);
- CashoutPercentage=CashoutLose;
- CashoutPercentage+=35; // Big Profit
- if (Math.random() > 0.8) CashoutPercentage+=15;
- BitsToBet*=16;
- } else if (LossCount ==1) {
- CashoutPercentage-=25; // Break even
- if (Math.random() > 0.8) CashoutPercentage+=15;
- BitsToBet*=2.7;
- } else if (LossCount ==2) {
- CashoutPercentage+=15; // Big profit
- BitsToBet*=2.13;
- } else if (LossCount ==3) {
- CashoutPercentage-=25; // Break even
- BitsToBet*=2.65;
- } else if (LossCount ==4) {
- CashoutPercentage+=15;
- BitsToBet*=2.2;
- } else {
- CashoutPercentage-=5;
- BitsToBet*=2.9;
- }
- LossCount++;
- } else {
- LossCount++;
- CashoutTargetGrowthRate=0.01;
- BitsToBet*=CashoutTargetRateBase+ CashoutTargetGrowthRate;
- CashoutPercentage=CashoutTarget*100;
- }
- } else {
- Algorithm=0;
- BitsToBet=1;
- if (CashoutTargetCounter > CashoutTargetCounterBase && LossCount==0) {
- // Algorithm=1;
- // BitsToBet=5;
- 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