Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //**SETTINGS**\\
- var baseBet = 1000; //Put at 750 for safer basebet and lower increase on lose. Put 8500 in bail at with this basebet.
- var basecashout = 1.2; //Base Cashout Point (No Shit Captin Obvious)
- var IncreaseCashout = 0.10; //Safer Strategy: 0.05. Your cashout will increase by this increment on a loss.
- var MaxCashout = 2.00; //Safer Strategy: 1.50 or 1.60. Max Cashout Point. Your cashout point won't go higher than this amount.
- var safestreak = 2; //Safer Strategy: 3 or 4. This this the number of times you will have to win to recoup your loss on your current cashout point.
- var bailat = 200000; //Safer Strategy: 200000. The script will stop once you lose this amount.
- //// ^EDIT OVER THIS LINE^ \\\\
- var currentBet = baseBet*100;
- var highscore = engine.getBalance();
- var neededwins = -1;
- var currentcashout = basecashout;
- var worst = 0;
- engine.on('game_starting', function(info) {
- currentcashout = Math.round(currentcashout*100);
- engine.placeBet(currentBet, currentcashout, false);
- currentcashout = currentcashout/100;
- console.log('Placed bet of', currentBet/100, 'at', currentcashout, 'x');
- })
- engine.on('game_crash', function(data) {
- console.log('Game crashed at', data.game_crash/100, 'x');
- if (highscore < engine.getBalance()){
- highscore = engine.getBalance();
- }
- var aim = highscore - engine.getBalance();
- if (data.game_crash < currentcashout*100) {
- neededwins = safestreak;
- currentcashout = currentcashout + IncreaseCashout;
- if (currentcashout > MaxCashout) {
- currentcashout = MaxCashout;
- }
- } else {
- neededwins = neededwins - 1;
- if (neededwins < 1) {
- neededwins = -1;
- currentcashout = basecashout;
- }
- }
- currentBet = 100 * Math.ceil(0.01 * aim / (neededwins*(currentcashout - 1)));
- if (currentBet < baseBet*100) {
- currentBet = baseBet*100;
- }
- if (currentBet > engine.getBalance() || aim > 100 * bailat) {
- console.log('You automatically bailed out.');
- engine.stop();
- }
- if (currentBet + aim > worst) {
- worst = currentBet + aim;
- console.log('You would need ' + worst/100 + ' bits to survive');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment