bhautik_patel Posted July 21, 2023 Share Posted July 21, 2023 How this script works: Start Payout: 2 Increase Payout on every loss: 0.06 Increase Bet Amount on every loss: 40% - With this system, we get more steps with little investment. But in test, I found that if the loss is greater than 18 steps then I need a good system to recover the loss.Help me if you have a good solution. var config = { bet: { label: "bet", value: 1, type: "number" }, // Starting bet amount, you can adjust this value as per your preference. basePayout: { label: "base payout", value: 2, type: "number" }, stop: { value: 100, type: "number", label: "stop if next payout >" }, // Adjust the stop value as needed. onLoseTitle: { label: "On Lose", type: "title" }, onLoss: { label: "", value: "increase", type: "radio", options: [ { value: "increase", label: "Increase payout by 0.06x and bet amount by 50%" }, // Modify to 0.06x increase on loss. ], }, lossAddPayout: { label: "loss payout +", value: 0.06, type: "number" }, // Amount to increase payout on loss. lossAddBet: { label: "loss bet +", value: 0.5, type: "number" }, // Amount to increase the bet amount (50%) on loss. onWinTitle: { label: "On Win", type: "title" }, onWin: { label: "", value: "reset", type: "radio", options: [ { value: "reset", label: "Reset payout and bet amount to base value on win" }, // Reset the payout on win. ], }, }; function main() { var currentPayout = config.basePayout.value; var currentBetAmount = config.bet.value; game.onBet = function () { game.bet(currentBetAmount, currentPayout).then(function (payout) { if (payout > 1) { // We won, so reset the payout and bet amount to the base values. currentPayout = config.basePayout.value; currentBetAmount = config.bet.value; log.success("We won! Resetting the payout and bet amount."); } else { // We lost, so increase the payout and bet amount. currentPayout += config.lossAddPayout.value; currentBetAmount += currentBetAmount * config.lossAddBet.value; // Ensure the bet amount doesn't exceed the maximum investment of 100. if (currentBetAmount > 100) { currentBetAmount = 100; } log.error( "We lost, so increasing the payout to " + currentPayout + "x and adjusting the bet amount to " + currentBetAmount ); } if (currentPayout > config.stop.value) { log.error( "Was about to bet with payout " + currentPayout + " which triggers the stop" ); game.stop(); } }); }; } Link to comment Share on other sites More sharing options...
Millzx Posted July 23, 2023 Share Posted July 23, 2023 What kind of solution do you need? Link to comment Share on other sites More sharing options...
Kalanikila Posted July 25, 2023 Share Posted July 25, 2023 Couldn't you increase payout then at a certain point divide payout by 2 then multiply bet amount by 2. Repete till a hit then reset? So like base bet increase payout by .01 after 500 losses divide by2 multiply base bet by 2 Link to comment Share on other sites More sharing options...
Recommended Posts
You need to be a member in order to leave a comment
Sign up for a new account in our community. It's easy!
Register a new accountAlready have an account? Sign in here.
Sign In Now