Jump to content

Add Bet


Heisenberg

Recommended Posts

This script will get you a few more bangs out of your buck basically martingale,but instead of multiplying its self and getting too big real fast this will just increase the bet after loosing by adding to bet  in the add bet box put in the number to add I usually put the base bet

 

 

 

var config = {
  baseBet: { label: 'base bet', value: currency.minAmount * 1.2, type: 'number' },
  payout: { label: 'payout', value: 2, type: 'number' },
  stop: { label: 'stop if bet >', value: 1e8, type: 'number' },
  onLoseTitle: { label: 'On Lose', type: 'title' },
  onLoss: { 
    label: '', value: 'increase', type: 'radio',
    options: [
      { value: 'reset', label: 'Return to base bet' },
      { value: 'increase', label: 'Increase bet by (loss Add)' }
    ]
  },
  lossAdd: { label: 'loss add', value: 2, type: 'number' },
  onWinTitle: { label: 'On Win', type: 'title' },
  onWin: { 
    label: '', value: 'reset', type: 'radio',
    options: [
      { value: 'reset', label: 'Return to base bet' },
      { value: 'increase', label: 'Increase bet by (win Add)' }
    ]
  },
  winAdd: { label: 'win Add', value: 2, type: 'number' },
}

function main () {
  var currentBet = config.baseBet.value;
  engine.on('GAME_STARTING', function () {
    engine.bet(currentBet, config.payout.value);
  })

  engine.on('GAME_ENDED', function () {
    var history = engine.getHistory()
    var lastGame = history[0]
    // If we wagered, it means we played
    if (!lastGame.wager) {
      return;
    }

    // we won..
    if (lastGame.cashedAt) {
      if (config.onWin.value === 'reset') {
        currentBet = config.baseBet.value;
      } else {
        currentBet += config.winAdd.value;
      }
      log.success('We won, so next bet will be ' + currentBet + ' ' + currency.currencyName);
    } else {
      if (config.onLoss.value === 'reset') {
        currentBet = config.baseBet.value;
      } else {
        currentBet += config.lossAdd.value;
      }
      log.error('We lost, so next bet will be ' + currentBet + ' ' + currency.currencyName);
    }

    if (currentBet > config.stop.value) {
      log.error('Was about to bet' + currentBet + 'which triggers the stop');
      engine.stop();
    }
  })
}

Link to comment
Share on other sites

  • 1 month later...

i used it with hashdice but dice are not fair in my opinion its only good for large bets manual not auto, but the script above should work with hashdice

Link to comment
Share on other sites

Not sure whats wrong there i just tried it and mine still works havent tried eos before but i suggest putting a lower number in ths stop if bet box or it will take all your coin

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 1 year later...

the whole point of the martingale script and the multiplier though is so you can set it up to always be in the black after it eventually wins.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...