Jump to content

Toaster kitty (For Crash)


Strictly1

Recommended Posts

Behold, The Toaster Kitty 

Just copy and paste, should work just fine but do let me know if it doesn't. Good luck 

 

 

 

var config = { mainTitle: { label: '***Toaster Kitty ***', type: 'title' }, payout: { label: 'Exit Point Minimum', value: 88, type: 'number' }, increase: {label: 'Increase Payout', value: 0.05, type: 'number' }, losses: {label: 'Minimum Profit on Win', value: 0.01, type: 'number' }, stopTitle: { label: 'Stop When', type: 'title' }, stop: { label: 'Coins Lost >', value: 1, type: 'number' }, wins: { label: 'Wins =', value: 1, type: 'number' }, }; function main() { var IsPlaying = "False"; var GamesPlayed = 0; var CurrentGameID = 0; var LastResult = "Not Played"; var LastCrash = 2; var PrevCashOut = LastCrash; var BaseBet = config.losses.value / config.payout.value; var CurrentBet = BaseBet; var LastBet = CurrentBet; var DidBet = "False"; var GameInfoLogged = "False"; var ScriptHistory = []; var UpdateConsole = "Off"; var CurrentMultiplier = config.payout.value; var LastMultiplier = (config.payout.value - 0.05); var CoinLost = 0; var Wins = 0; var Losses = 0; var SmallBustData = []; var Last100Games = []; var Last10Games = []; engine.on('GAME_STARTING', function() { if (GamesPlayed < 1) { log.info(" Toaster Kitty"); log.info(" by Nubs27"); log.info(" ****************"); BaseBet = config.losses.value / config.payout.value; if (!Number.isInteger(config.wins.value)) { log.info("***** Attention *****"); log.info("Wins = " + config.wins.value + " is NOT valid"); log.info("Integers ONLY"); log.info("I could have the script auto round the number, but you like being funny too :)"); engine.stop(); } } checkforstops(); if (GamesPlayed < 2 || "Won") { CurrentBet = BaseBet; CurrentMultiplier = config.payout.value; IsPlaying = "True"; } if (LastResult == "Lost") { CurrentBet = ((CoinLost + config.losses.value) / (CurrentMultiplier - 1)); CurrentMultiplier = (LastMultiplier + config.increase.value); } if (CurrentBet < currency.minAmount) { CurrentBet = currency.minAmount; } }); function checkforstops() { if (CoinLost > config.stop.value) { log.info("Maximum Coin Loss Reached. Script Stopped"); engine.stop(); } if (Wins == config.wins.value) { log.info("Congratulations"); log.info("Wins goal reached. Script Stopped"); engine.stop(); } } engine.on('GAME_BET', function(player) { CurrentMultiplier = (CurrentMultiplier * 100); CurrentMultiplier = Math.round(CurrentMultiplier); CurrentMultiplier = (CurrentMultiplier / 100); setTimeout(Betting, 500); GamesPlayed++; }); function Betting(player) { if (DidBet == "False") { engine.bet(CurrentBet, (CurrentMultiplier), true); IsPlaying = "True"; DidBet = "True"; log.info(" ***********"); } GameInfoLogged = "False"; } engine.on('GAME_ENDED', function() { var History = engine.getHistory(); var LastGame = History[0]; var LastCrash = (LastGame.crash / 100); CurrentGameID = LastGame.gameId; PrevCashOut = LastCrash; LastBet = CurrentBet; LastMultiplier = CurrentMultiplier; DidBet = "False"; if (GameInfoLogged == "False") { LogAllInfo(); } }); function LogAllInfo () { if (ScriptHistory.push(PrevCashOut) > 999) ScriptHistory.shift(); SmallBustData = Array.prototype.slice.call(ScriptHistory, 1000); Last100Games = Array.prototype.slice.call(ScriptHistory, 100); Last10Games = Array.prototype.slice.call(ScriptHistory, 10); if (IsPlaying == "True" && PrevCashOut >= CurrentMultiplier) { var WonAmount = ((LastBet * CurrentMultiplier) - CoinLost); LastResult = "Won"; Wins++; Losses = 0; CoinLost = config.losses.value; log.info("[Game Won] " + WonAmount + " " + currencyName); } else if (IsPlaying == "True" && PrevCashOut < CurrentMultiplier) { LastResult = "Lost"; Losses++; CoinLost = CoinLost + LastBet; } CurrentGameID = CurrentGameID.toString(); if (CurrentGameID.endsWith('0')) { UpdateConsole = "On"; } if (UpdateConsole == "On") { log.info("Amount Lost in search of this Kitty " + (CoinLost - config.losses.value) + " " + currency.currencyName); UpdateConsole = "Off"; } GameInfoLogged = "True"; } }

Link to comment
Share on other sites

  • 4 weeks later...

Copie el código anterior * El código comienza con "var config" y termina con "True"; }} * luego navega de regreso al casino y ve al juego Crash. Una vez allí, haga clic en la pestaña "Auto" y luego haga clic en "Agregar un script". Habrá escritura en el cuadro principal ... elimine esta escritura y pegue el código de mi actualización de estado. Asigne un nombre al script en el cuadro delgado que se encuentra sobre el cuadro principal y haga clic en guardar. Ahora ejecuta el script y disfruta 👌

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...