Run from a new project folder:
curl https://gist.githubusercontent.com/eezing/6aa3b59137260916ea7fdd4040faa72a/raw/node-starter.sh | sh
// 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) => { |
/* ---- 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); |
/******** 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 |
const config = { | |
baseBet: { value: 100, type: 'balance', label: 'Base bet' }, | |
payout: { value: 2, type: 'multiplier', label: 'Payout' }, | |
stop: { value: 1e8, type: 'balance', label: 'Stop if bet >' }, | |
loss: { value: 'increase', type: 'radio', label: 'On Loss', options: { | |
base: { type: 'noop', label: 'Return to base bet' }, | |
increase: { value: 2, type: 'multiplier', label: 'Increase bet by' } | |
}}, | |
win: { value: 'base', type: 'radio', label: 'On Win', options: { | |
base: { type: 'noop', label: 'Return to base bet' }, |
var checkInterval = 10; | |
Window.prototype.targetLimiter = function (checkInterval) { | |
setImmediate(() => { | |
window.setInterval(() => { | |
if (window.document.getElementsByName('target')[0].value < 1.5) { | |
window.document.getElementsByName('target')[0].value = 1.5; | |
} | |
}, checkInterval); | |
}); | |
} |
//------ settings --------- | |
const target = ''; // User to follow. Bet amount and target is adjusted/taken from this players bets. | |
const baseBet = 100; // Initial bet to place when target player places a bet. | |
const betMulti = 2; // Multiplies bet by this after each loss. | |
const autoCashout = 20;// Automatically cashout here if target player has cashed yet. | |
const maxBet = 1e8; // Clamps the bet size maximum at this amount (doesn't stop the script, limits bet size only) | |
const minBalance = 0 // Prevents betting if next bet will drop balance below this amount. | |
const betDelay = 4; | |
//------------------------- | |
let locked = false; |
var config = { | |
b: { type: 'balance', label: 'Base Bet', value: 50 }, | |
t: { type: 'multiplier', label: 'Base Payout', value: 5 }, | |
m: { type: 'multiplier', label: 'Bet Multi', value: 1.2 }, | |
p: { type: 'number', label: 'Add Bets', value: 1 }, | |
s: { type: 'number', label: 'Bet Speed', value: 100 } | |
}; | |
const b = config.b.value, t = config.t.value, m = config.m.value; | |
const p = config.p.value, d = config.s.value; | |
const s = (t) => { return new Promise((r) => { setTimeout(r, t); }); } |
var config = { c: { label: 'Base Bet', type: 'balance', value: 500 } }; | |
let c = config.c.value, t = 1.1, b = 1.006, m = 1.005, a = c, d = t, h = 100; | |
engine.on('GAME_ENDED', () => { let r = engine.history.first(); (r.cashedAt) ? (c = a, t = d) : (t += m, c *= b) }); | |
engine.on('GAME_STARTING', () => { engine.bet(Math.round(c / h) * h, t)}); | |
/* Climb V2 (bustabit) */ |
var config = { | |
//******************COMMON****************** */ | |
PASTE_CASE: { label: "Paste", type: "text", value: "Paste raw text [see F12]" }, | |
cb_globals: { | |
label: "Sandbox", type: "radio", value: "sandbox_mode", options: { | |
sandbox_mode: { label: "Sandbox Mode (if you set it to true will trigger below configuration to be used)", type: "noop", value: "" }, | |
SETUP: { label: "Configuration Launch Case", type: "number", value: 0 }, | |
merged: { label: "Run both in sandbox and configuration launch", type: "noop", value: "" }, | |
} |