Jump to content

Want to play safe when you bet on crash?


CRAZYYYYBET

Recommended Posts

Best script

how to use.

1.put your base bet

2.put the payout you want.

3. put the limit on your lose steak 'avoid losing too much $coin'.

4.put your on LOSE multiplier  and the payout you want to add on your current payout.

5.(optional)put your on WIN multiplier  and the payout you want to add on your current payout.

*suggestion: click on return to base bet for safe play*😃

 

Hope It helps

var config = {
  baseBet: { label: 'base bet', value: currency.minAmount * 1.2, type: 'number' },
  basePayout: { label: 'base 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 multiplier)' },
	  { value: 'increase', label: 'Increase payout by (loss payout)' }
    ]
  },
  lossMultiplier: { label: 'loss multiplier', value: 2, type: 'number' },
  lossAdd: { label: 'loss payout +/-', value: 1, 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 and payout' },
	  { value: 'increase', label: 'Increase payout by (win payout)' }
    ]
  },
  winMultiplier: { label: 'win multiplier', value: 2, type: 'number' },
  winAdd: { label: 'win payout +/-', value: 1, type: 'number' },
}

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

  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;
		currentPayout = config.basePayout.value;
      } else {
        currentBet *= config.winMultiplier.value;
		currentPayout += config.winAdd.value;
      }
	  
      log.success('We won, so next bet will be ' + currentBet + ' ' + currency.currencyName + ' at payout ' + currentPayout + ' x');
      
	}else{
	  
	  if (config.onLoss.value === 'reset') {
        currentBet = config.baseBet.value;
		currentPayout = config.basePayout.value;
      } else {
        currentBet *= config.lossMultiplier.value;
		currentPayout += config.lossAdd.value;
      }

      log.error('We lost, so next bet will be ' + currentBet + ' ' + currency.currencyName + ' at payout ' + currentPayout + ' x');
    }

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

image.png.7fcd76522aa613d12e83afbe743bdeaa.png

 

Link to comment
Share on other sites

  • 2 months later...
  • 5 months later...

I'm also trying to get an answer to this.  Before, you would use engine.getHistory() which would return an array.  In the latest version of the site they tell you store yourself, but don't tell you how to access the last game without it.  I think they hate people who write their own scripts.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...