Bitcoin Forum

Economy => Digital goods => Topic started by: CryptoDev69 on December 19, 2017, 10:29:53 AM



Title: [FREE][EXPERIMENTAL] Bustabit / Ethcrash Nyan-Chaser Script
Post by: CryptoDev69 on December 19, 2017, 10:29:53 AM
Hi all,

Just put this very simple script together this morning, thought i'd share it here.

Please note this is experimental and I would recommend using it only if you can understand the logic.
Basically what it does is bets a small amount and aims for a Nyan result (default 2000x, you can change it). As this is a rare occurrence, the script will keep track of your losses until a value of 400 is lost in your balance, then it will attempt to make it up by calculating the multiplier needed for the current bet to make up your losses. The current bet will increase by 2.5% each loss. Once your balance is made up after recovery, or a nyan result is hit, everything will reset.

Donations accepted in ETH: 0x95d89f2fd17bf93d44db881c3d576b0ffd925b9a
Donations accepted in BTC: 17SHB9JqVx16hLJjR26YsnoeXhZFurEUMQ

The script is below:
//Modify this as your Nyan cash out aim
var multiplierAim = 2000;
//Leave this unless you have lots of cash!
//var baseBetMultiplierPercentage = 2.0;
//Modify this to alter the amount of loss until the script goes into recovery mode for your balance.
var lossToMakeBack = 50;
//Leave this unless you have lots of cash!
var startBet = 5.0;
//Leave this alone.
var currentBet = 0.0;
//Leave this alone.
var startBalance = engine.getBalance();
//Leave this alone - not strictly needed right now.
var makingBack = false;
var startingScript = true;

engine.on('game_starting', function(info) {
    console.log('Game Starting in ' + info.time_till_start);
   
   if(startingScript === true || engine.lastGamePlay() === 'WON')
   {
      currentBet = startBet * 100;
      startBalance = engine.getBalance();
      startingScript = false;
   }
   else
   {
      currentBet += 100;
   }
   
   var currentBalance = engine.getBalance();
   if(startBalance - currentBalance > (lossToMakeBack * 100))
   {
      makingBack = true;
      var multiplierToMakeBack = (startBalance - currentBalance) / currentBet;
      engine.placeBet(currentBet, Math.round(multiplierToMakeBack * 100), false);
   }
   else
   {
      if(makingBack === true){
         currentBet = startBet * 100;
         startBalance = currentBalance;
         makingBack = false;
         }
      engine.placeBet(currentBet, Math.round(multiplierAim * 100), false);
   }
   
});

engine.on('game_started', function(data) {
    console.log('Game Started', data);
});

engine.on('game_crash', function(data) {
    console.log('Game crashed at ', data.game_crash);
});

engine.on('cashed_out', function(resp) {
    console.log('The player ', resp.username, ' cashed out. This could be me.');
   
});







Title: Re: [FREE][EXPERIMENTAL] Bustabit / Ethcrash Nyan-Chaser Script
Post by: Nastydawg6r on September 16, 2018, 05:48:55 PM
Have you had any success with this script?


Title: Re: [FREE][EXPERIMENTAL] Bustabit / Ethcrash Nyan-Chaser Script
Post by: pozmu on September 30, 2018, 06:32:03 PM
Have you had any success with this script?

For me it doesn't work, all I get is error message:

Code:
config must begin with `var config =`

Not sure it's something easy to correct, I feel terrible right now  :(

You can test scripts without any risk as there is "Simulation mode" - just click the PLAY button to run script and you'll have checkbox to enable it.
To be extra safe you can do this in 2nd account with no bits deposited  8)