Jump to content

I need a script that make the bets based in a Payout result. I Will Pay


ShuiBacca

Recommended Posts

  • ShuiBacca changed the title to I need a script that make the bets based in a Payout result. I Will Pay
  • 2 weeks later...

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

  • 3 weeks later...
  On 10/6/2022 at 10:32 AM, crazypapy said:

it's super basic but it,s good   for the moment 

 

 

captura script.png

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 );
                }

          } );
     };
}
             

Screenshot_2022-10-06-22-48-23-286_com.android.chrome.png

Link to comment
Share on other sites

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

Archived

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

×
×
  • Create New...