Skip to content

Instantly share code, notes, and snippets.

@BitChop
BitChop / 2_3x1_9m.js
Created August 18, 2019 04:10 — forked from dsetzer/2_3x1_9m.js
bustadice script
/******** SETTINGS ********/
const BET_SPEED = 2000 // time between bets in (ex 500 = 500ms = 0.5s)
const RETRIES = 5 // stops script after retrying this many times.
/**************************/
const baseBet = 100, target = 2.3, betMultiplier = 1.9
const startBal = this.balance
//const maxBet = (startBal > 70000 ? startBal > 5400000 ? 6000 : 700 : 80) * 100
const maxBet = 60 * 100;
let retryCount = 0;
let lossCount = 0
/* ---- SETTINGS ---- */
const baseBet = 100;
const basePayout = 1.5;
const baseMulti = 1.5;
const postBet = 2;
const maxProfit = 100000;
/* ----------------- */
let currBet = baseBet, startBal = this.balance;
let postBal = startBal, prevBal = startBal;
let maxBet = baseBet * Math.pow(baseMulti, 5);
@BitChop
BitChop / seed-gen.js
Created August 18, 2019 04:10 — forked from dsetzer/seed-gen.js
bustadice seed generator
// V1 Original
/*const generateClientSeed = () => {
let text = "";
const possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (let i = 0; i < 16; i++) text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}*/
// V2
const generateClientSeed = (wordNum = 3, wordLen = 12, noNumeric, noRepeat, noReuse, a, b) => {
@BitChop
BitChop / 1_3x-8_6m.js
Created August 18, 2019 04:11 — forked from dsetzer/1_3x-8_6m.js
bustadice script - designed for use with at least 54,000 bits balance. Below this prevents it from fully recovering losses
/******** SETTINGS ********/
const BET_SPEED = 30 // time between bets in (ex 500 = 500ms = 0.5s)
const RETRIES = 5 // stops script after consecutive attempts.
/**************************/
const baseBet = 100, target = 1.3, betMultiplier = 8.6
const startBal = this.balance
const maxBet = (startBal > 70000 ? startBal > 5400000 ? 6000 : 700 : 80) * 100
let retryCount = 0;
let lossCount = 0
@BitChop
BitChop / flat-v1.js
Created August 18, 2019 04:11 — forked from dsetzer/flat-v1.js
bustadice flat betting script
const baseBet = 100;
const basePayout = 1.2;
const baseMulti = 2;
const postBet = 1;
let currentBet = baseBet;
let startBal = this.balance;
let prevBal = this.balance;
while(true){
prevBal = this.balance;
const { multiplier } = await this.bet(currentBet, basePayout)
@BitChop
BitChop / bab-streak-log.js
Created August 18, 2019 04:11 — forked from dsetzer/bab-streak-log.js
bustabit streak logger
var config = {
target: { value: 2, type: 'multiplier', label: 'Target Payout' },
streak: { value: 4, type: 'multiplier', label: 'Min Length' }
};
const history = engine.getState().history;
const busts = [], streaks = [];
let currentStart = null, currentStreak = 0;
for (let i = 0; i < history.length; i++) {
let item = [history[i].gameId, null, history[i].bust];
updateStreaks(item);
@BitChop
BitChop / climb.js
Created August 18, 2019 04:11 — forked from dsetzer/climb.js
bustadice - low bal climb
await (async t => {
let a, i, n = (t, a = 2) => ((t + a) / a - a) / a, s = 100, c = n(t), e = n(n(t));
const o = async t => (a = i && i.multiplier < e ? i.value * c : s, i = await this.bet(Math.round(a / s) * s, e));
for (;;) await o().then(t => setTimeout(o, s))
})(28.72);
@BitChop
BitChop / 5.4.js
Created August 18, 2019 04:11 — forked from dsetzer/5.4.js
var baseBet = 0.8 * 100 // how many satoshis to bet initially
var target = 5.4 // target multiplier
var betMultiplier = 1.2 // what to multiply the bet size by when we lose a wager
const MAX_BET = 10000 * 100 // maximum bet amount to stop script at (satoshis)
const MAX_GAMES = 2000 // maximum number of games to play before stopping (set to -1 for unlimited)
const BET_SPEED = 16 // time between bets in (ex 500 = 500ms = 0.5s)
const CLIENT_SEED = "fortuna"
let running = true
try {
let betCount = 0, totalOut = 0, totalIn = 0;
let queue = new Array(200);
const doResult = async function (context, result) {
totalIn++;
console.log(`Current Bets ${totalIn} IN / ${totalOut} OUT / ${betCount} TOTAL`);
}
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
@BitChop
BitChop / daffie-async-v2.3.js
Created August 18, 2019 04:11 — forked from dsetzer/daffie-async-v2.3.js
bustadice fastbet chase script
/******** SETTINGS ********/
const BASE_WAGER = 100; // Initial lowest possible bet to start with. (Satoshis)
const BASE_TARGET = 200; // Target payout to chase for. (Actual payout format 2.00x = 2.00)
const AUTO_MULTIPLE = false; // Auto calculate and override BET_MULTIPLE for BASE_TARGET.
const BET_MULTIPLE = 1.005; // Multiply bet by this value (1 = no increase) after each loss.
const BET_INCREASE = 0.1; // Increase bet by this flat amount after each loss. (Satoshis)
const TAR_MULTIPLE = 1; // Multiply target by this value (1 = no increase) on each loss.
const TAR_INCREASE = 0; // Increase target by this flat amount after each loss.
const MAX_WAGER = 5000 // Prevents script from placing bets larger than this amount.(Bits)