Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //My best strategy so far!
- //-----Use presets-----
- var preset = 1; //1 or 2 (Preset 1 for lower, preset 2 for Higher risk/reward) Set to 0 to disable!
- //DoN't use preset 2! It does not worth it! It is profitable but too risky! I do not recommend it!
- //Note: presets do not affect your base bet neither your stopProfit or stopLoss!
- //----Or use your own settings----
- var baseBet = 1;
- var minBet = 1;
- var maxBet = 1000000;
- var increaseBetOnLoss = 1.003; //Recommended 1.25
- var increaseBetOnWin = 0.001; //Recommended 0.1
- var baseCashOut = 1.37;
- var increaseOnLoss = 1.05; //Recommended 0.15
- var decreaseOnWin = 1000; //Recommended 1
- var maxCashOut = 300; //Recommended 5
- var minCashOut = 1.37; //Recommended 1.5
- var stopProfit = 10000;
- var stopLoss = 50000;
- //---Do not edit below---
- var ourBet = baseBet;
- var currentCashOut = baseCashOut;
- var startingBalance = engine.getBalance();
- var gameNumber = 0;
- var gamesLost = 0;
- var gamesWon = 0;
- var nextCashOut = currentCashOut;
- var nextBet = ourBet;
- if (preset == 1){
- increaseBetOnLoss = 1.003;
- increaseBetOnWin = 0.001;
- baseCashOut = 1.37;
- increaseOnLoss = 1.05;
- decreaseOnWin = 1000;
- maxCashOut = 300;
- minCashOut = 1.37;
- }
- else if (preset == 2){
- increaseBetOnLoss = 1.25;
- increaseBetOnWin = 0.1;
- baseCashOut = 1.5;
- increaseOnLoss = 0.15;
- decreaseOnWin = 1;
- maxCashOut = 5;
- minCashOut = 1.5;
- }
- else {
- }
- var games = 0;
- //On game starting
- engine.on('game_starting', function(info){
- if (engine.lastGamePlay()==="LOST"){
- ourBet=ourBet*increaseBetOnLoss;
- gamesLost = gamesLost + 1;
- currentCashOut = currentCashOut + increaseOnLoss;
- if (ourBet > maxBet){
- ourBet = maxBet;
- }
- if (currentCashOut > maxCashOut){
- currentCashOut = maxCashOut;
- }
- }
- else if (engine.lastGamePlay()==="WON"){
- ourBet=ourBet*increaseBetOnWin;
- currentCashOut = currentCashOut - decreaseOnWin;
- gamesWon = gamesWon + 1;
- if (ourBet < minBet){
- ourBet = minBet;
- }
- if (currentCashOut < minCashOut){
- currentCashOut = minCashOut;
- }
- }
- else { /* didnt play */ }
- console.log("Betting:", ourBet, "Bits - At multiplier:", currentCashOut, "x");
- nextCashOut = Math.round(currentCashOut);
- nextBet = Math.round(ourBet);
- engine.placeBet(Math.round(ourBet)*100, Math.round(currentCashOut*100), 1);
- gameNumber = gameNumber + 1;
- });
- //On game crash
- engine.on('game_crash', function(info){
- games++;
- if (games == 25){
- engine.chat('BEST FREE SCRIPT: skamaker.com/9k3l');
- }
- if (games >= 50){
- games = 0;
- engine.chat('Subscribe to my friend on youtube! https://www.youtube.com/user/batormc');
- }
- console.log("--------Bot--------");
- console.log("Games played:", gameNumber);
- console.log("Games won:", gamesWon);
- console.log("Games lost:", gamesLost);
- console.log("Total profit:", (engine.getBalance() - startingBalance)/100, "Bits");
- if (engine.getBalance() < startingBalance - stopLoss*100){
- engine.stop();
- }
- if (engine.getBalance() > startingBalance + stopProfit*100){
- engine.stop();
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement