Skip to content

Instantly share code, notes, and snippets.

View ruzli's full-sized avatar

Ruzli ruzli

  • Russian Federation, Moscow
View GitHub Profile
@ruzli
ruzli / Sandbox_script.js
Last active March 1, 2023 10:08
Sandbox_script ver2.15 by Ruzli #0001, If you liked my sandbox and want say big thanks, or want support my team, you can make donation to our team here - [1GAMw83k1KcrZrj2eorEEDdSnCoWEGpnz3]
var config = {
//******************COMMON****************** */
PASTE_CASE: { label: "Paste", type: "text", value: "Paste raw text [see F12]" },
cb_globals: {
label: "Sandbox", type: "radio", value: "SETUP", 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: 20 },
merged: { label: "Run both in sandbox and configuration launch", type: "noop", value: "" },
}
},
@ruzli
ruzli / median_logging.js
Created May 20, 2019 13:52
Median logging in console and log output
Array.prototype.median = function (arr) {
arr.sort((a, b) => a - b);
var pivot = Math.floor(arr.length / 2);
return arr.length % 2 ? arr[ pivot ] : (arr[ pivot - 1 ] + arr[ pivot ]) / 2;
}
class Median{
constructor(context) {
this.context = context
@ruzli
ruzli / sandbox_tier1_result.js
Created May 12, 2019 04:50
sandbox_tier1_results from first run
Rolls: 4979 | Seed: 4979/100000 | last run Strategy 120x at streak 10
15.00x base: 300, multiplier 1.08000, run 3 times. Could catch: 108, streaks: last 0, max 5, PROFIT: 136
23.00x base: 300, multiplier 1.08000, run 8 times. Could catch: 80, streaks: last 0, max 27, PROFIT: 437
29.00x base: 300, multiplier 1.08000, run 6 times. Could catch: 67, streaks: last 1, max 27, PROFIT: 262
33.00x base: 300, multiplier 1.08000, run 6 times. Could catch: 62, streaks: last 27, max 27, PROFIT: -95
55.00x base: 300, multiplier 1.08000, run 15 times. Could catch: 48, streaks: last 27, max 27, PROFIT: -759
80.00x base: 300, multiplier 1.08000, run 22 times. Could catch: 35, streaks: last 27, max 27, PROFIT: -278
120.00x base: 300, multiplier 1.08000, run 24 times. Could catch: 27, streaks: last 10, max 27, PROFIT: 739
170.00x base: 300, multiplier 1.08000, run 26 times. Could catch: 20, streaks: last 27, max 27, PROFIT: -4374
@ruzli
ruzli / instant_bet.js
Last active May 26, 2019 13:31
Instant betting(takes up to 10 seconds to finish place amount of bets you set with flat bets) [Balance: Any]
//******* INSTANT BETTING *******//
var config = {
baseBet: { label: "Bet", type: "balance", value: 100 },
target: { label: "Target", type: "multiplier", value: 100 },
betCount: { label: "Bet count", type: "number", value: 100 },
resetStatistics: { label: "Reset statistics on launch?", type: "checkbox", value: true }
}
if (config.resetStatistics.value) this.resetStatistics()
for (let i = 0; i < config.betCount.value; i++) {
@ruzli
ruzli / good3x.js
Created May 9, 2019 14:53
good_3x
var config = {
RiskHeader: { label: "Common", type: "noop" },
//**************************************************************** */
baseBet: { label: "Base Bet", type: "balance", value: 100 },
tofind: { label: "Target", type: "multiplier", value: 3.0 },
betMultiplier: { label: "Bet Multiplier", type: "multiplier", value: 1.7 },
patternBetMultiplier: { label: "Pattern Multiplier", type: "multiplier", value: 2 },
RETRIES: { label: "Turns to play", type: "number", value: 17 },
find_times: { label: "Start play after find times", type: "number", value: 2 },
target_analyzer: { label: "Analyze target in range", type: "multiplier", value: 3},
@ruzli
ruzli / Safety proto-run 3x.js
Created May 3, 2019 14:51
Safety proto-run 3x [Short-Long term][2000 bits+][Safe enough]
var config = {
RiskHeader: { label: "Common", type: "noop" },
//**************************************************************** */
baseBet: { label: "Base Bet", type: "balance", value: 300 },
tofind: { label: "Target", type: "multiplier", value: 3.0 },
betMultiplier: { label: "Bet Multiplier", type: "multiplier", value: 1.7 },
patternBetMultiplier: { label: "Pattern Multiplier", type: "multiplier", value: 2 },
RETRIES: { label: "Turns to play", type: "number", value: 7 },
find_times: { label: "Start play after find times", type: "number", value: 2 },
target_analyzer: { label: "Analyze target in range", type: "multiplier", value: 2},
@ruzli
ruzli / 10x_fastprofit.js
Last active May 3, 2019 14:48
Fast profit 10x [Short Term][Risky]
var config = {
baseBet: { label: "Base bet", type: "balance", value: 1000 }, // how many satoshis to bet initially
target: { label: "Target", type: "multiplier", value: 10 }, // target multiplier
betMultiplier: { label: "Bet multiplier", type: "multiplier", value: 1.11 } // what to multiply the bet size by when we lose a wager
}
let lossCount = 0
this.log(`Starting martingale with a base bet of ${config.baseBet.value} satoshis.`)
while (true) {
@ruzli
ruzli / super_nations_updated.js
Last active June 24, 2019 19:33
SuperNations_Updated
var config = {
bet_base: { label: "Starting bet", type: "balance", value: 100 },
changeable_basebet: { label: "Change basebet by time", type: "checkbox", value: false },
play_only_good: { label: "Play only on good streaks", type: "checkbox", value: false },
skippable_bits_number: { label: "Random rolls up to", type: "number", value: 5 },
extra_safe_number: { label: "Extra safe up streak to", type: "number", value: 5 },
drop_bet: { label: "Drop bet after hit streak in a row", type: "number", value: 20 },
target_base: { label: "Starting target", type: "multiplier", value: 2 },
@ruzli
ruzli / protorun.js
Last active June 24, 2019 19:33
protorun with GUI
var config = {
baseBet: { label: "Base bet", type: "balance", value: 100 },
target: { label: "Target", type: "multiplier", value: 15 },
betMultiplier: { label: "Bet multiplier", type: "multiplier", value: 1.1 },
baseSTW: { label: "baseSTW", type: "number", value: 15 },
dropBet: { label: "dropBet", type: "number", value: 45 },
maxBetSize: { label: "maxBetSize", type: "balance", value: 4500000 },
minProfit: { label: "minProfit", type: "balance", value: -10000000 },
maxProfit: { label: "maxProfit", type: "balance", value: 30000000 },
stopOnHit: { label: "Stop Script on reach drop bet", type: "checkbox", value: false },
@ruzli
ruzli / gather_streaks.js
Last active April 19, 2019 11:43
Gather information on streaks, and do make little profit while gathering it
var target = 10
var betting = 2500 // Satoshi
const main = async () => {
class Start {
constructor (simulated = false, target = 2, basebet = 100, rolls = 20000, multiplierBet = 2) {
this.multiplier_bet = multiplierBet
this.target_analyze = target
this.simulation = simulated
this.base_bet = basebet