Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //very basic chasing script, just double the bet every myTarget games and divide by 2 every myTarget attained
- //It will chase myTarget until it reaches securityLevel (at this point, he'll bet myBaseBet^securityLevel) until myTarget is not rare at all (and will then be nicely in profit)
- //!!\\This script has been made to bet up to 32k bits to 10x with the default settings here :
- //Author: @Cannonball
- var myTarget = 10;
- var myBaseBet = 1;
- var securityLevel = 15;
- var myBRinSatoshis = engine.getBalance();
- var myBaseBetInSatoshis = myBaseBet*100;
- var myTargetForPlaceBet = myTarget*100;
- var wasLastGameWon;
- var myNewBetInSatoshis=myBaseBetInSatoshis;
- var lossStreak = 0;
- var gameCount = 0;
- engine.on('game_starting', function(info) {
- if(lossStreak%myTarget==0 && lossStreak != 0 && lossStreak/myTarget <= securityLevel && wasLastGameWon=="no"){
- console.log("%c│We lost " + myTarget + " games in a streak - Doubling the bet!","color:#d8041d");
- myNewBetInSatoshis = myNewBetInSatoshis*2;
- }
- if(wasLastGameWon=="yes" && myNewBetInSatoshis >= 200 && lossStreak/myTarget < securityLevel-1){
- console.log("%c│Yes we won this one! Let's divide the bet by two","color:#33bc01");
- myNewBetInSatoshis = myNewBetInSatoshis/2;
- }
- if(lossStreak/myTarget >= securityLevel){
- console.log("%c│Max level reached !","-webkit-background-clip: text;-webkit-text-fill-color: transparent;background-image: -webkit-gradient(linear, left top, right top, color-stop(0.00, red), color-stop(16%, orange),color-stop(32%, yellow),color-stop(48%, green), color-stop(60%, blue),color-stop(76%, indigo),color-stop(1.00, violet));");
- myNewBetInSatoshis = myBaseBetInSatoshis*securityLevel;
- }
- engine.placeBet(myNewBetInSatoshis, myTargetForPlaceBet,false);
- console.log("└-~ Game #" + gameCount + " -~~- Bet is now : " + Math.floor(myNewBetInSatoshis/100) + " bits on target : " + myTarget + "x -~~- Current level: " + Math.floor(lossStreak/myTarget) + ". " + lossStreak%myTarget +"/" + myTarget + " have been lost for this level. -~~- Max level: " + securityLevel + ". ~- ");
- });
- engine.on('game_crash', function(data) {
- if (data.game_crash>=myTargetForPlaceBet){
- wasLastGameWon="yes";
- if(lossStreak>=myTarget){
- lossStreak=lossStreak-myTarget;
- }else{
- lossStreak=0;
- }
- } else {
- wasLastGameWon="no";
- lossStreak++;
- }
- gameCount++;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement