Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
- // Bustabit Intelligent Martingal bot - By Dexon |
- //___________________________________________________________________|
- //
- // Simple bot the bet using the martingal method.
- // Use this: https://jsfiddle.net/9rea8gv9/embedded/result/
- // To help you calculate your options.
- // (Bustabit Martingal calculator)
- //
- // My address: 16gj85L3364SGdcUG5tb2wJkhG8UVF5r6j
- */
- var BaseBet = 1000, // Base bet in bits. 1000 = 1000 bits.
- AutoCashout = 2, // Cashout. 2 means x2.0
- IncreaseOnLoss = 2; // Increase on loss. 2 means +200% bits of the previous loss. (first bet will be 1k, second one 2k)
- secureStreak = 5; // Numbers of red streaks to wait before starting to bet.
- // Edit ^over^ this line --------------------
- var streaks = 0;
- var bet = 0;
- var lastBet = 0;
- engine.on('game_starting', function(info) {
- if(engine.lastGamePlay() == "LOST") bet = lastBet * IncreaseOnLoss;
- else bet = BaseBet;
- if(streaks>=secureStreak) engine.placeBet(Math.round(bet)*100, Math.round(AutoCashout*100), function(){ });
- lastBet = bet;
- });
- engine.on('game_crash', function(data) {
- if(data.game_crash/100>=AutoCashout){
- streaks = 0;
- }else{
- streaks++;
- }
- console.log("Crashed at x"+(data.game_crash/100)+", "+(secureStreak-(streaks>secureStreak?secureStreak:streaks))+" streaks left");
- });
Add Comment
Please, Sign In to add comment