Jump to content

Quiet Earp

Member
  • Posts

    38
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Quiet Earp

  1. Same here, not sure what to do about it. Same with previous posts containing images.
  2. Hm, works for me like it should. Make sure you're selecting "return to base bet" option in the On Win section if you want it to go back to the original values when you win. If it keeps happening post a screenshot of the script settings and the output log so I can look into it more.
  3. This should be what you want, added the same functionality of the bet multiplier for the payout amount. 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 and/or multiplier by (loss multiplier)' }, ] }, lossMultiplier: { label: 'bet loss multiplier ', value: 2, type: 'number' }, lossMultiplier2: { label: 'multiplier loss multiplier', 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 and/or multiplier by (win multiplier)' }, ] }, winMultiplier: { label: 'bet win multiplier', value: 2, type: 'number' }, winMultiplier2: { label: 'multiplier loss multiplier', value: 2, type: 'number' }, } function main () { var currentBet = config.baseBet.value; var currentPayout = config.payout.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.payout.value; } else { currentBet *= config.winMultiplier.value; currentPayout *= config.winMultiplier2.value; } log.success('We won, so next bet will be ' + currentBet + ' ' + currency.currencyName); } else { if (config.onLoss.value === 'reset') { currentBet = config.baseBet.value; currentPayout = config.payout.value; } else { currentBet *= config.lossMultiplier.value; currentPayout *= config.lossMultiplier2.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(); } }) }
  4. Same custom scripting that Crash/Hashdice has on the other games.
  5. Actually any game where you can set on auto would be nice to be able to run our own script.
  6. How about being able to load our own script for Limbo like we can with Crash and some other games? The way it is now the only auto option is the built in martingale.
×
×
  • Create New...