Jump to content

Need Help for a new scrypt


findyou

Recommended Posts

Hi Guys ,

 

Is it possible to make a hashdice scrypt with these settings .

 

Basebet 0.001 Doge with payout 21.21 and when it not hit after 10 bets ,then will double the basebet ?! When hit the payout return to basebet ?

 

Thanks for help

Link to comment
Share on other sites

Hello,

so i will answer in english, but we seen us some times at german chat.

I had made for some month such sn script you will have, but i need first made the fields description finished, because at moments only some notes there.

You can setup some more points there: BaseBet ; Payout ; Red streak then double (5 different red streak-setups possible) ; for sure if hit the payout return to BaseBet.

But i need to take a look at my code first before share, if i had a stopOnLose there or maybe it will hold the last doubler until a win is coming.

For example if setup payout 100, after 50 bets double basebet, then after 50 bets again double, then you can set that after next 30 reds double again your betamount, thats individuel setup possible.

That script is at moments only a selfmade prototype, so i need to take a look first before share.

Greetings GTKPos

Link to comment
Share on other sites

  • 2 weeks later...

Try this

 

var config = {
  baseBet: {
    label: "base bet",
    value: (currency.minAmount),
    type: "number"
  },
  payout: {
    label: "payout",
    value: 21.21,
    type: "number"
  },
  stopOnWin: {
    label: 'Stop after wining this much',
    value: ((currency.amount / 200)),
    type: 'number'
  },
};

function main() {
  var currentBet = config.baseBet.value;
  var netWinLose = 0;
  var Losecount = 0;
  var LosecountT = 0;
  game.onBet = function() {
    game.bet(currentBet, config.payout.value).then(function(payout) {
      if (payout > 1) {
        netWinLose += ((currentBet * config.payout.value) - currentBet);
        Losecount = 0;
        LosecountT = 0;
        currentBet = config.baseBet.value;
        log.success("We won");
        if (netWinLose >= 0) {
          log.success((netWinLose.toFixed(8)));
        } else {
          log.error((netWinLose.toFixed(8)));
        }
      } else {
        netWinLose -= currentBet;
        Losecount++;
        LosecountT++;
        if (Losecount >= 10) {
          Losecount = 0;
          currentBet *= 2;
        }
        log.error("We lost " + LosecountT + " times in total " + "Lose steaks = " + Losecount);
        if (netWinLose >= 0) {
          log.success((netWinLose.toFixed(8)));
        } else {
          log.error((netWinLose.toFixed(8)));
        }
      }
      if ((1 * netWinLose) >= config.stopOnWin.value) {
        game.stop();
      }
    });
  };
}

Link to comment
Share on other sites

Can you make this?
For example, I want the base to start from 0.00001 and after each win and loss, the base will increase to the desired amount, for example, after each win and loss, it will increase by 1%.
And then, for example, when it reaches 0.001, everything starts again from the beginning (without stopping).
Link to comment
Share on other sites

31 minutes ago, YAZDIRAN said:
Can you make this?
For example, I want the base to start from 0.00001 and after each win and loss, the base will increase to the desired amount, for example, after each win and loss, it will increase by 1%.
And then, for example, when it reaches 0.001, everything starts again from the beginning (without stopping).

If you like please tips some to me 

var config = {
  baseBet: {
    label: "base bet",
    value: 0.00001,
    type: "number"
  },
  payout: {
    label: "payout",
    value: 1.65,
    type: "number"
  },
  lossMultiplier: {
    label: "loss multiplier",
    value: 1.10,
    type: "number"
  },
  winMultiplier: {
    label: "win multiplier",
    value: 1.05,
    type: "number"
  },
  stopOnWin: {
    label: 'Stop after wining this much',
    value: ((currency.amount / 200)),
    type: 'number'
  },
  maxbetsize: {
    label: 'Reset after bet size this much',
    value: 0.001,
    type: 'number'
  }
};

function main() {
  var currentBet = config.baseBet.value;
  var netWinLose = 0;
  var mxbet = config.maxbetsize.value;
  game.onBet = function() {
    game.bet(currentBet, config.payout.value).then(function(payout) {
      if (payout > 1) {
        netWinLose += ((currentBet * config.payout.value) - currentBet);
        if (currentBet >= mxbet) {
          currentBet = config.baseBet.value;
        } else {
          currentBet *= config.winMultiplier.value;
        }
        log.success(
          "We won"
        );
        if (netWinLose >= 0) {
          log.success((netWinLose.toFixed(8)));
        } else {
          log.error((netWinLose.toFixed(8)));
        }
      } else {
        netWinLose -= currentBet;
        if (currentBet >= mxbet) {
          currentBet = config.baseBet.value;
        } else {
          currentBet *= config.lossMultiplier.value;
        }
        log.error(
          "We lost"
        );
        if (netWinLose >= 0) {
          log.success((netWinLose.toFixed(8)));
        } else {
          log.error((netWinLose.toFixed(8)));
        }
      }
      if ((1 * netWinLose) >= config.stopOnWin.value) {
        game.stop();
      }
    });
  };
}

Link to comment
Share on other sites

Is it possible to start the game from the beginning without stopping after winning the quorum I wanted?
 
image.png.4a0c78f97d1e0c198ca55a621c1ff30f.png
 
I mean I start a bet base 0.0001
And after every win and loss, the percentage of this base should increase and when it reaches a profit of, for example, 0.001, the game should start from the beginning.
Link to comment
Share on other sites

12 hours ago, YAZDIRAN said:
Is it possible to start the game from the beginning without stopping after winning the quorum I wanted?
 
image.png.4a0c78f97d1e0c198ca55a621c1ff30f.png
 
I mean I start a bet base 0.0001
And after every win and loss, the percentage of this base should increase and when it reaches a profit of, for example, 0.001, the game should start from the beginning.

i think you ask to reset after bet size 0.001, becuse you don't say it is profit 0.001

i fixed it now

 

var config = {
  baseBet: {
    label: "base bet",
    value: ((currency.amount / 4000)),
    type: "number"
  },
  payout: {
    label: "payout",
    value: 1.65,
    type: "number"
  },
  lossMultiplier: {
    label: "loss multiplier",
    value: 1.10,
    type: "number"
  },
  winMultiplier: {
    label: "win multiplier",
    value: 1.05,
    type: "number"
  },
  stopOnWin: {
    label: 'Stop after wining this much',
    value: ((currency.amount / 200)),
    type: 'number'
  },
  resetOnWin: {
    label: 'Reset after wining this much',
    value: ((currency.amount / 2000)),
    type: 'number'
  }
};

function main() {
  var currentBet = config.baseBet.value;
  var netWinLose = 0;
  var netWinLoser = 0;
  game.onBet = function() {
    game.bet(currentBet, config.payout.value).then(function(payout) {
      if (payout > 1) {
        netWinLose += ((currentBet * config.payout.value) - currentBet);
        netWinLoser += ((currentBet * config.payout.value) - currentBet);
        if ((1 * netWinLoser) >= config.resetOnWin.value) {
          currentBet = config.baseBet.value;
          netWinLoser = 0;
        } else {
          currentBet *= config.winMultiplier.value;
        }
        log.success(
          "We won"
        );
        if (netWinLose >= 0) {
          log.success((netWinLose.toFixed(8)));
        } else {
          log.error((netWinLose.toFixed(8)));
        }
      } else {
        netWinLose -= currentBet;
        netWinLoser -= currentBet;
        currentBet *= config.lossMultiplier.value;
        log.error(
          "We lost"
        );
        if (netWinLose >= 0) {
          log.success((netWinLose.toFixed(8)));
        } else {
          log.error((netWinLose.toFixed(8)));
        }
      }
      if ((1 * netWinLose) >= config.stopOnWin.value) {
        game.stop();
      }
    });
  };
}

Link to comment
Share on other sites

Thankful
If you have a good script, please share it here
 
image.png.4fdf093d30c5af3714ad6c11a785b634.png
 
Link to comment
Share on other sites

 

I want this script Scrip with at least 5 payout Is it possible to make such a script?

Link to comment
Share on other sites

15 hours ago, YAZDIRAN said:

 

I want this script Scrip with at least 5 payout Is it possible to make such a script?

I don't understand what you mean with 5 payout ?

Link to comment
Share on other sites

Close to 2 like the first condition
If I lose, the next bet will be closed at 1.5, if we lose again, the next bet will be closed at 4 and...

payout 1
payout 2
payout 3

And

.........

Link to comment
Share on other sites

36 minutes ago, YAZDIRAN said:
Close to 2 like the first condition
If I lose, the next bet will be closed at 1.5, if we lose again, the next bet will be closed at 4 and...

Is it payout 1.5% then 4% what you want? Just add me in BC it is easy to use chat then this forum (don't worry i won't begging☺)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...