Bitcoin Forum
May 30, 2024, 09:26:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [FREE][EXPERIMENTAL] Bustabit / Ethcrash Nyan-Chaser Script  (Read 303 times)
CryptoDev69 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
December 19, 2017, 10:29:53 AM
Last edit: December 19, 2017, 12:15:23 PM by CryptoDev69
 #1

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.');
   
});





Nastydawg6r
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
September 16, 2018, 05:48:55 PM
 #2

Have you had any success with this script?
pozmu
Hero Member
*****
Offline Offline

Activity: 770
Merit: 504


(っ◔◡◔)っ🍪


View Profile
September 30, 2018, 06:32:03 PM
 #3

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  Sad

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  Cool

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!