ShuiBacca Posted September 5, 2022 Share Posted September 5, 2022 Hi everyone. I am new in BC Game and development skills. I want to create a script that make the bets based on the last result. For exemple: When the last round result is between 7 - 9x , make the bet at 2x. Using until 3 Martingales. It could star betting after last loss too. Anyone can help me? Link to comment Share on other sites More sharing options...
Mariana_ Posted September 14, 2022 Share Posted September 14, 2022 Please explain your requirement clearly Link to comment Share on other sites More sharing options...
KuroSana Posted September 20, 2022 Share Posted September 20, 2022 I can make this for you... I think I get it, you're testing a theory that large payouts are followed by something 2x or more. I think I've noticed that too. 0.1 eth is my pricr Link to comment Share on other sites More sharing options...
crazypapy Posted October 5, 2022 Share Posted October 5, 2022 hi, i make one payout script if you want i show you how configurated. text me in whatssapp +34 652094838 Link to comment Share on other sites More sharing options...
FoxLion Posted October 6, 2022 Share Posted October 6, 2022 Hi, I can make for you the script as you want. let's have chat on telegram https://t.me/sm_software_engineer Link to comment Share on other sites More sharing options...
crazypapy Posted October 6, 2022 Share Posted October 6, 2022 it's super basic but it,s good for the moment Link to comment Share on other sites More sharing options...
Btxyjyiljwb Posted October 6, 2022 Share Posted October 6, 2022 On 10/6/2022 at 10:32 AM, crazypapy said: it's super basic but it,s good for the moment Expand Can you fix the problem with this script? var config = { bet : { label : "bet" , value: currency.minAmount, type: "number" }, payout : { label : "payout initial" , value: 2, type: "number" }, stop : { value: 10, type: "number" , label : "stop if next payout > " }, onLoseTitle : { label : "PERDER" , type: "title" }, lossAdd : { label : "AUMENTAMOS EL MULTIPLO EN +" , value: 1, type: "number" }, onWinTitle : { label : "GANAR " , type: "title" }, winAdd : { label : "AUMENTAMOS EL PAYOUT" , value: 0, type: "number" }, }; function main() { game.onBet = ( config.bet.value , config.payout.value ).then ( function ( payout ) { if ( payout > 1 ) { config.bet.value = currency.minAmount; config.payout.value = 2 ; config.payout.value += config.winAdd.value; log.success( " WINN , EL PROXIMO MULTIPLICADOR SERA " + config.payout.value + " x"); } else if ( config.payout.value > config.stop.value ) { config.bet.value = config.bet.value * 11 ; config.payout.value = 2 ; log.error( "loss , EL PROXIMO MULTIPLICADOR ES " + config.payout.value + " y apostamos " + config.bet.value ); } else { config.payout.value += config.lossAdd.value; log.error( " loss , EL PROXIMO MULTIPLICADOR ES " + config.payout.value + " y apostamos " + config.bet.value ); } } ); }; } Link to comment Share on other sites More sharing options...
Btxyjyiljwb Posted October 9, 2022 Share Posted October 9, 2022 verbor gen: Sorry friends, can this script be fixed?? var config = { baseBet: { label: "base bet", value:currency.minAmount, type: "number" }, basepayout: { label: "base payout", value: 2, type: "number" }, NewPayout: { label: "new payout", value: 1, type:"number" }, stop: { label: "stop if bet >", value: 1e8, type: "number" }, balanceRisk: { label: "balance risk %", value: 100, type:"number" }, targetProfit: {label: "Target-Profit-Stop", value: 1000, type: "number"}, targetBalance: {label: "Target-Balance-Stop", value: 1000, type: "number"}, onLoseTitle: {label: "On Lose", type: "title" }, onLoss: { labels: "", value: "reset", type:"radio", options: [ { value: "reset", label: "Return to base bet" }, { value: "increase", label: "lncrease bet by (loss multiplier)" }, ], }, lossMultiplier: { label: "loss multiplier", value: 2, type: "number" }, onWinTitle: { label: "On Win", type: "title" }, onWin: { labels: "", value: "reset", type: "radio", options: [ { value: "reset", label: "Return to base bet" }, { value: "increase", label: "increase bet by (winmultiplier)" }, ], }, winMultiplier: { label: "win multiplier", value: 2, type:"number" }, }; var run = false; //var bet = currency.amount/config.divider.value; var bet = config.basePayout.value; var basebet = bet; var startTime = new Date(); var timestring = ""; var roundWins = 0; var roundLosses = 0; var chance = config.NewPayout.value; var currentProfitt = 0; var currentProfittt = 0; var curProf = 0; var profitTotal = 0; var balance = currency.amount; var lastbalance = balance; function main(){ run = true; var currentBet = config.basePayout.value; game.onBet = function() { chance = config.NewPayout.value; game.bet(currentBet, (45/chance).toFixed(4)).then(function (payout) { if (payout > 1) { balance += currentBet*45/chance-currentBet; profitTotal += currentBet*45/chance-currentBet; }else { balance -= currentBet; profitTotal -= currentBet; } if(balance >= lastbalance) { last balance = balance; } if (payout > 1) { curProf = currentBet*45/chance-currentBet; roundWins++; if (config.onWin.value === "increase") { currentBet = config.baseBet.value; } else { currentBet *= config.winMultiplier.value; } } log.success("We won, so next bet will be " + currentBet + " " + currency.currencyName); } else { curProf = -currentBet; roundLosses++; if (config.onLoss.value === "increase") { currentBet = config.basePayout.value; } else { currentBet *= config.lossMuliplier.value; currentPayout = config.newPayout.value; } } log.error("We lost, so next bet will be " + currentBet + " " + currency.currencyName); } currentProfitt += curProf; if (currentProfitt >= currentProfittt) { currentProfitt = currentProfitt; currentBet = config.baseBet.value; roundWins = 0; roundLosses = 0; } if (currentBet < config.baseBet.value) { currentBet = config.baseBet.value } var stoplevel = (100-config.balanceRisk.value)*lastbalance/100; if(balance - currentBet < stoplevel) { log.error("Balance Risk " + currentBet + "Stop"); game.stop(); } if (currentBet > config.stop.value) { log.error("Was about to bet " + currentBet + " which triggers the stop"); game.stop(); } if (currentBet > balance) { log.error("Loss " + balance + "which triggers the stop"); game.stop(); } if (profitTotal >= config.targetProfit.value) { log.success('Target Profit ' +(profitTotal).toFixed(8) + ' ' + currency.currencyName); game.stop(); } if (balance >= config.targetBalance.value) { log.success('Target Balance ' + balance + ' ' + currency.currencyName); game.stop(); } }); } } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.