This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const WebSocket = require('ws'); | |
const readline = require('readline'); | |
const wss = new WebSocket.Server({ port: 4041 }); | |
wss.on('connection', (ws) => { | |
console.log(getCurrentTime() + 'Connected'); | |
ws.on('close', () => { | |
console.log(getCurrentTime() + 'Disconnected'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const wss = new WebSocket('ws://localhost:4041'); | |
wss.addEventListener('open', () => { | |
console.log(getCurrentTime() + 'Connected'); | |
}); | |
wss.addEventListener('close', () => { | |
console.log(getCurrentTime() + 'Disconnected'); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stop = (() => { | |
let running; | |
function bet() { | |
return cd.bet(cd.amount) | |
} | |
(function() { | |
running = setInterval(bet, 1); | |
})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stop = (() => { | |
let running; | |
function bet() { | |
return prod.bet(prod.amount) | |
} | |
(function() { | |
running = setInterval(bet, 1); | |
})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = { | |
wager: { value: 100, type: 'balance', label: 'Base Bet' }, | |
payout: { value: 2, type: 'multiplier', label: 'Payout' }, | |
} | |
var Profit = 0, Total_Profit = 0, Total_Rolls = 0, Playing = true, baseList = [ 1, 2, 3 ], RolledGames = 0; | |
var PAYOUT = config.payout.value, WAGER = config.wager.value; | |
/* -------------------------------------------------------------- */ | |
if (engine.gameState === "GAME_STARTING") PerformBet() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "" }, | |
} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = { | |
// 261,265,269,273,277,281,285,289,293,297,301,305,309,313,317,321,325,329,333,337,341,345,349,353,357,361,365,369,373,377 | |
list_bet: { | |
value: 'list2', type: 'radio', label: 'Pick Bet List', | |
options: { | |
list1: { value: '10, 5, 20', type: 'text', label: 'Bets 1' }, | |
list2: { value: '1, 1, 2, 3, 5, 9, 16, 31, 59, 117, 233, 477, 1000, 2333', type: 'text', label: 'Bets 2' }, | |
}, | |
}, | |
list_target: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const baseBet = 100 | |
const baseTarget = 2 | |
const maximumBet = 3500 | |
let bet = baseBet | |
let engine = this | |
while(true){ | |
const { multiplier} = await this.bet(bet, baseTarget) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = { | |
baseBet: { value: 300, type: 'balance', label: 'base bet' }, | |
payout: { value: 20, type: 'multiplier' }, | |
stop: { value: 700000, 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: 1.053, type: 'multiplier', label: 'Increase bet by' }, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = { | |
headerCommon: { label: "Common Settings", type: "noop", value: "" }, | |
baseBet: { label: 'Base Bet', type: 'balance', value: 1000 }, | |
minPayout: { label: 'Target Min', type: 'multiplier', value: 1.08 }, | |
maxPayout: { label: 'Target Max', type: 'multiplier', value: 50.00 }, | |
divPayout: { label: 'Target Div', type: 'multiplier', value: 0.80 }, | |
compRate: { label: 'Compound %', type: 'multiplier', value: 0.02 }, | |
compStep: { label: 'Compound At', type: 'multiplier', value: 1.10 }, | |
headerCond: { label: "Conditions Settings", type: "noop", value: "" }, |
NewerOlder