Вы находитесь на странице: 1из 22

$('#body').

css('background', 'linear-gradient(45deg, #111111 0%, #111111 50%,


#111111 100%)');
$('#main').css('min-width', '100%');
$('#header').css('display', 'none');
$('#news').css('display', 'none');
$('#content').css('background', 'none');
// ЛОГОТИП
$('#gameContainer').html('<div style="text-align: center!important; margin-top:
30px; "><img src="https://luckygamesbot.com/images/cube-3-u1890.png?crc=322734336"
style="float: left; padding-left: 120px; padding-top: 30px; width:78px;
height:83px; "><img src="https://luckygamesbot.com/images/cube-2-u1897.png?
crc=4117642629" style="float: left; padding-left: 2px; padding-top: 10px;
width:122px; height:133px; "><a href="https://luckygamesbot.com" target="_blank"
><img src="https://luckygamesbot.com/images/logo%d1%87%d0%b5%d1%80%d0%bd%d1%8b
%d0%b9.png?crc=4125839837" style="position: relative; padding: 20px 0px;
width:404px; height:63px; "><span style="position: absolute; padding-top: 41px;
font-size: 19px; color: #65655e; " >V-1</span></a><span id="notification"
style="float: right; padding-right: 20px; padding-top: 40px; width: 400px; font-
size: 19px; color: #65655e ">...</span></div><br><br> ' +
'<span style="float: left; margin-left: 15px; "> ' +
'<span style="padding-left: 28px; padding-right: 28px; color: #ffffff; font-
size: 16px;" >Base Bet</span><span style="padding-left: 18px; padding-right: 28px;
color: #ffffff; font-size: 16px;" >Target Balance</span><span style="padding-left:
4px; padding-right: 18px; color: #ffffff; font-size: 16px;" >Stop
Balance</span><span style="padding-left: 5px; padding-right: 1px; color: #ffffff;
font-size: 16px;" >Profit Strategy %</span></span> '+
'<span style="float: right; margin-right: 20px; "> ' +
'<span id="notification_profit" style="font-family: Garamond, serif; line-
height: 20px; color: #008000; font-weight:bold; font-size: 40px; text-align:center;
text-shadow:0px 0px 0 rgb(-53,75,-53),1px 1px 0 rgb(-80,48,-80),2px 2px 0 rgb(-
107,21,-107), 3px 3px 0 rgb(-134,-6,-134),4px 4px 3px rgba(0,0,0,0.85),4px 4px 1px
rgba(0,0,0,0.5),0px 0px 3px rgba(0,0,0,.2);">...</span></span><br><br> ' +

// настройка баланса
'<div><span style="float: left; margin-left: 15px; "> ' +
'<input id="basebetAmount" value="0.00000001" style="width: 120px;
background: none;border-radius: 3px; text-align: center; color: #d6223b; border:
1px solid #307DAC; line-height: 40px; font-size: 16px; "
placeholder="basebetAmount" autocomplete="off"> ' +
'<input id="overBalance" value="0.00000000" style="width: 120px; background:
none;border-radius: 3px; text-align: center; color: #307DAC; border: 1px solid
#307DAC; line-height: 40px; font-size: 16px; " placeholder="overBalance"
autocomplete="off"> ' +
'<input id="underBalance" value="0.00000000" style="width: 120px; background:
none;border-radius: 3px; text-align: center; color: #307DAC; border: 1px solid
#307DAC; line-height: 40px; font-size: 16px; " placeholder="underBalance"
autocomplete="off"> ' +
'<input id="profitChange" value="0.002" style="width: 120px; background:
none;border-radius: 3px; text-align: center; color: #307DAC; border: 1px solid
#307DAC; line-height: 40px; font-size: 16px; " placeholder="profitChange"
autocomplete="off"></span>&nbsp; ' +
'<span id="notif_profit" style="background: none; text-align: center; font-
family: Garamond, serif; line-height: 40px; color: #f1ba6c; font-weight:bold; font-
size: 25px; text-align:center; text-shadow:0px 0px 0 rgb(-53,75,-53),1px 1px 0
rgb(-80,48,-80),2px 2px 0 rgb(-107,21,-107), 3px 3px 0 rgb(-134,-6,-134),4px 4px
3px rgba(0,0,0,0.85),4px 4px 1px rgba(0,0,0,0.5),0px 0px 3px
rgba(0,0,0,.2);">...</span> ' +
// НАВИГАЦИЯ
'<span style="float: right; margin-right: 5px; "> ' +
'<button id="min" onclick="min();" style="background: #307DAC; border-radius:
3px; border: 0px; padding: 0 20px; text-align: center; color: #ffffff; line-height:
40px; font-size: 16px;">Min</button> ' +
'<button id="play" style="background: #D6223B; border-radius: 3px; border:
0px; padding: 0 20px; text-align: center; color: #ffffff; line-height: 40px; font-
size: 16px;">Start</button> ' +
'<button id="reset" onclick="reset();" style="background: #2EAB5B; border-
radius: 3px; border: 0px; padding: 0 20px; text-align: center; color: #ffffff;
line-height: 40px; font-size: 16px;">Reset</button> ' +
'<button id="showChart" style="background: #222222; border-radius: 3px;
border: 0px; padding: 0 20px; text-align: center; color: #ffffff; line-height:
40px; font-size: 16px;">Show Chart</button> ' +
'<button id="showStatic" style="background: #2C3E50; border-radius: 3px;
border: 0px; padding: 0 20px; text-align: center; color: #ffffff; line-height:
40px; font-size: 16px;">Show Static</button> ' +
'<button id="showLog" style="background: #9B59B6; border-radius: 3px; border:
0px; padding: 0 20px; text-align: center; color: #ffffff; line-height: 40px; font-
size: 16px;">Show Log</button></span></div><br><br> ' +

// Strategy

'<div style="padding: 0 20px;" ><span id="notification_strategy1"


style="float: left; padding-left: 155px; font-family: Garamond, serif; line-height:
20px; color: #674f2e; font-weight:bold; font-size: 32px; text-align:center; text-
shadow:0px 0px 0 rgb(-53,75,-53),1px 1px 0 rgb(-80,48,-80),2px 2px 0 rgb(-107,21,-
107), 3px 3px 0 rgb(-134,-6,-134),4px 4px 3px rgba(0,0,0,0.85),4px 4px 1px
rgba(0,0,0,0.5),0px 0px 3px rgba(0,0,0,.2);" >...</span><span
id="notification_strategy2" style="position: absolute; left: 47%; font-family:
Garamond, serif; line-height: 20px; color: #674f2e; font-weight:bold; font-size:
32px; text-align:center; text-shadow:0px 0px 0 rgb(-53,75,-53),1px 1px 0 rgb(-
80,48,-80),2px 2px 0 rgb(-107,21,-107), 3px 3px 0 rgb(-134,-6,-134),4px 4px 3px
rgba(0,0,0,0.85),4px 4px 1px rgba(0,0,0,0.5),0px 0px 3px rgba(0,0,0,.2);"
>...</span><span id="notification_strategy3" style="float: right; padding-right:
155px; font-family: Garamond, serif; line-height: 20px; color: #674f2e; font-
weight:bold; font-size: 32px; text-align:center; text-shadow:0px 0px 0 rgb(-53,75,-
53),1px 1px 0 rgb(-80,48,-80),2px 2px 0 rgb(-107,21,-107), 3px 3px 0 rgb(-134,-6,-
134),4px 4px 3px rgba(0,0,0,0.85),4px 4px 1px rgba(0,0,0,0.5),0px 0px 3px
rgba(0,0,0,.2); " >...</span></div><br><br> ' +

//Strategy1

'<div style="padding: 0 20px; height: 132px;" > ' +


'<span style="float: left; padding-left: 15px; width: 400px;
"><span id="notif_min_chance1" style="color: #FFF; font-size: 18px;" >...</span> '
+
'<input id="minChance1" value="1" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="minChance" autocomplete="off"> ' +
'<span id="notif_max_chance1" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="maxChance1" value="20" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="maxChance" autocomplete="off"> ' +
'<span id="notif_min_chance2" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="minChance2" value="20" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="minChance" autocomplete="off"> ' +
'<span id="notif_max_chance2" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="maxChance2" value="40" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="maxChance" autocomplete="off"> ' +
'<span id="notif_min_chance3" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="minChance3" value="40" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="minChance" autocomplete="off"> ' +
'<span id="notif_max_chance3" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="maxChance3" value="60" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="maxChance" autocomplete="off"> </span>' +

//Strategy2

'<span style="position: absolute; left: 37%; width: 400px; "><span


id="notif_min_chance4" style="color: #FFF; font-size: 18px;" >...</span> ' +
'<input id="minChance4" value="1" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="minChance" autocomplete="off"> ' +
'<span id="notif_max_chance4" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="maxChance4" value="20" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="maxChance" autocomplete="off"> ' +
'<span id="notif_min_chance5" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="minChance5" value="20" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="minChance" autocomplete="off"> ' +
'<span id="notif_max_chance5" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="maxChance5" value="40" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="maxChance" autocomplete="off"> ' +
'<span id="notif_min_chance6" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="minChance6" value="40" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="minChance" autocomplete="off"> ' +
'<span id="notif_max_chance6" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="maxChance6" value="60" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="maxChance" autocomplete="off"></span> ' +

//Strategy3

'<span style="float: right; width: 400px;"><span id="notif_min_chance7"


style="color: #FFF; font-size: 18px;" >...</span> ' +
'<input id="minChance7" value="1" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="minChance" autocomplete="off"> ' +
'<span id="notif_max_chance7" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="maxChance7" value="20" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="maxChance" autocomplete="off"><br> ' +
'<span id="notif_min_chance8" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="minChance8" value="20" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="minChance" autocomplete="off"> ' +
'<span id="notif_max_chance8" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="maxChance8" value="40" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="maxChance" autocomplete="off"><br> ' +
'<span id="notif_min_chance9" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="minChance9" value="40" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="minChance" autocomplete="off"> ' +
'<span id="notif_max_chance9" style="color: #FFF; font-size: 18px;"
>...</span> ' +
'<input id="maxChance9" value="60" style="width: 70px; background:
none;border-radius: 3px; margin: 5px 10px; text-align: center; color: #307DAC;
border: 1px solid #2C3E50; line-height: 30px; font-size: 16px; "
placeholder="maxChance" autocomplete="off"></span></div><br><br><br> ' +

'<div id="static" style="text-align: center; padding: 0 20px; "


>...</div><br> ' +
'<div style="float: left;" id="chart" style="height: 320px;"></div> ' +
'<div style="float: right;" id="log"></div><br>');

$('#gameContainer').css('width', '90%');
$('#gameContainer').css('height', '100%');
$('#gameContainer').css('color', '#fff');
$('#gameContainer').css('font-size', '16px');
$('#gameContainer').css('margin', 'auto');
$('#gameContainer').css('padding', '0px');
$('#notification').html('БОТ ЗАПУЩЕН !');
$('#notif_min_chance1').html('Min Chance');
$('#notif_max_chance1').html('Max Chance');
$('#notif_min_chance2').html('Min Chance');
$('#notif_max_chance2').html('Max Chance');
$('#notif_min_chance3').html('Min Chance');
$('#notif_max_chance3').html('Max Chance');
$('#notif_min_chance4').html('Min Chance');
$('#notif_max_chance4').html('Max Chance');
$('#notif_min_chance5').html('Min Chance');
$('#notif_max_chance5').html('Max Chance');
$('#notif_min_chance6').html('Min Chance');
$('#notif_max_chance6').html('Max Chance');
$('#notif_min_chance7').html('Min Chance');
$('#notif_max_chance7').html('Max Chance');
$('#notif_min_chance8').html('Min Chance');
$('#notif_max_chance8').html('Max Chance');
$('#notif_min_chance9').html('Min Chance');
$('#notif_max_chance9').html('Max Chance');
$('#static').css('text-align', 'center');
$('#controlContainer').css('display', 'none');
$('#listContainer').css('display', 'none');
$('#frontText').css('display', 'none');
$('#footer').css('display', 'none');
$('#notification').html('НАСТРОЙ БОТ И ЗАПУСТИ !');
$('#notif_profit').html('0.000');
$('#notification_strategy1').html('Strategy 1');
$('#notification_strategy2').html('Strategy 2');
$('#notification_strategy3').html('Strategy 3');
$('#notification_profit').html('0.00000000');
$('#static').html('...');
$('#log').css('background', '#1C1C1C');
$('#log').css('overflow', 'auto');
$('#log').css('width', '35%');
$('#log').css('height', '390px');
//$('#log').css('text-align', 'center');
$('#log').css('float', 'right');
$('#log').css('color', '#fff');
//$('#log').css('margin-top', '20px');
$('#log').css('padding', '5px');
$('#log').css('font-size', '14px');
$('#log').css('border', '1px solid grey');
$('#log').css('border-top-left-radius', '3px');
$('#log').css('border-bottom-left-radius', '3px');
$('#chart').width('63.7%');
log('BOT has applied!');
$('.inputBox input')['css']('background', 'none');
$('.inputBox input')['css']('border', '1px solid green');
$('.inputBox input')['css']('-webkit-box-shadow', 'none');
document.getElementById('chart').hidden = true;
document.getElementById('static').hidden = true;
document.getElementById('log').hidden = true;
randomizeSeed();
console.clear();
var run = false;
hideChart = true;
hideStatic = true;
hideLog = true;
startrandomchance = true;
sbalance = parseFloat(document.getElementById('balance').value);
bbalance = parseFloat(document.getElementById('balance').value);
basebetAmount = 0;
betAmount = 0;
maxbetAmount = 0;
prediction = 0;
direction = '';
rd = 0;
chance = 0;
minChance = 0;
maxChance = 0;
minChance_1 = 0;
maxChance_1 = 0;
minChance_2 = 0;
maxChance_2 = 0;
minChance_3 = 0;
maxChance_3 = 0;
minChance_4 = 0;
maxChance_4 = 0;
minChance_5 = 0;
maxChance_5 = 0;
minChance_6 = 0;
maxChance_6 = 0;
minChance_7 = 0;
maxChance_7 = 0;
minChance_8 = 0;
maxChance_8 = 0;
minChance_9 = 0;
maxChance_9 = 0;
payout = 0;
casino = 1;
sensM = true;
chanceM = 0;
rdstrategy = 0;
balance = 0;
largestBalance = 0;
overBalance = 0;
underBalance = 0;
profitChange = 0;
bet = 0;
win = 0;
lose = 0;
winStreak = 0;
loseStreak = 0;
maxWinStreak = 0;
maxLoseStreak = 0;
lossAmount = 0;
loseAmount = 0;
maxloseAmount = 0;
wagered = 0;
profitWagered = 0;
profit = 0;
profitBets = 0;
profitt = 0;
profittt = 0;
profitttt = 0;
largestProfit = 0;
startTime = new Date();
onTime = 0;
playTime = 0;
playDay = 0;
playHour = 0;
playMinute = 0;
playSecond = 0;
speed = 0;
round = 0;
roundd = 0;
seed = 111;
runseed = 0;
changeseed = Math.floor(10);
ii = 0;
startbalancebalance = parseFloat(document.getElementById('balance').value);
balancebalance = parseFloat(document.getElementById('balance').value);
//largBalance = 0;
profitprofit = 0;
profitHour = 0;
profittHour = 0;
profitDay = 0;
profittDay = 0;
dps = [];
chart = '';
color = '';
runLog = 0;
n = Math.floor(6);
$.getScript('https://canvasjs.com/assets/script/canvasjs.min.js').done(function
(script, textStatus) {
dps = [{
x: 0,
y: 0
}
];
chart = new CanvasJS.Chart('chart', {
//backgroundColor: "#F5DEB3",
backgroundColor: "#1C1C1C",
//backgroundColor: "transparent",
theme: 'light1',
zoomEnabled: true,
axisX: {
//title: 'Bet',
includeZero: false,
},
axisY: {
//title: 'Profit',
includeZero: false,
},
title: {
//text: 'Dice Vip Ultimate - Exclusive Edition',
fontColor: 'green',
fontSize: 2e1,
padding: 2e1
},
data: [{
type: 'area',
dataPoints: dps
}
]
});
chart.render();
});
function updateChart(bet, profit, color) {
dps.push({
x: bet,
y: profit,
color: color
});
if (dps[dps.length - 2]) {
dps[dps.length - 2].lineColor = color;
}
if (dps.length > 1e3) {
dps.shift();
}
chart.render();
}
function min() {
$('#basebetAmount').val((0.00000001).toFixed(8));
}
function randomChance() {
var rdchance = Math.floor((Math.random() * (9 - 1 + 1)) + 1);
if (rdchance == 1) {
rdstrategy = 1;
minChance = minChance_1;
maxChance = maxChance_1;
$('#notif_min_chance1').css('color', 'red');
$('#notif_max_chance1').css('color', 'red');
$('#notif_min_chance2').css('color', 'white');
$('#notif_max_chance2').css('color', 'white');
$('#notif_min_chance4').css('color', 'white');
$('#notif_max_chance4').css('color', 'white');
$('#notif_min_chance3').css('color', 'white');
$('#notif_max_chance3').css('color', 'white');
$('#notif_min_chance6').css('color', 'white');
$('#notif_max_chance6').css('color', 'white');
$('#notif_min_chance5').css('color', 'white');
$('#notif_max_chance5').css('color', 'white');
$('#notif_min_chance7').css('color', 'white');
$('#notif_max_chance7').css('color', 'white');
$('#notif_min_chance8').css('color', 'white');
$('#notif_max_chance8').css('color', 'white');
$('#notif_min_chance9').css('color', 'white');
$('#notif_max_chance9').css('color', 'white');
} else if (rdchance == 2) {
rdstrategy = 1;
minChance = minChance_2;
maxChance = maxChance_2;
$('#notif_min_chance2').css('color', 'red');
$('#notif_max_chance2').css('color', 'red');
$('#notif_min_chance4').css('color', 'white');
$('#notif_max_chance4').css('color', 'white');
$('#notif_min_chance1').css('color', 'white');
$('#notif_max_chance1').css('color', 'white');
$('#notif_min_chance3').css('color', 'white');
$('#notif_max_chance3').css('color', 'white');
$('#notif_min_chance6').css('color', 'white');
$('#notif_max_chance6').css('color', 'white');
$('#notif_min_chance5').css('color', 'white');
$('#notif_max_chance5').css('color', 'white');
$('#notif_min_chance7').css('color', 'white');
$('#notif_max_chance7').css('color', 'white');
$('#notif_min_chance8').css('color', 'white');
$('#notif_max_chance8').css('color', 'white');
$('#notif_min_chance9').css('color', 'white');
$('#notif_max_chance9').css('color', 'white');
} else if (rdchance == 3) {
rdstrategy = 1;
minChance = minChance_3;
maxChance = maxChance_3;
$('#notif_min_chance3').css('color', 'red');
$('#notif_max_chance3').css('color', 'red');
$('#notif_min_chance2').css('color', 'white');
$('#notif_max_chance2').css('color', 'white');
$('#notif_min_chance1').css('color', 'white');
$('#notif_max_chance1').css('color', 'white');
$('#notif_min_chance4').css('color', 'white');
$('#notif_max_chance4').css('color', 'white');
$('#notif_min_chance6').css('color', 'white');
$('#notif_max_chance6').css('color', 'white');
$('#notif_min_chance5').css('color', 'white');
$('#notif_max_chance5').css('color', 'white');
$('#notif_min_chance7').css('color', 'white');
$('#notif_max_chance7').css('color', 'white');
$('#notif_min_chance8').css('color', 'white');
$('#notif_max_chance8').css('color', 'white');
$('#notif_min_chance9').css('color', 'white');
$('#notif_max_chance9').css('color', 'white');
} else if (rdchance == 4) {
rdstrategy = 2;
minChance = minChance_4;
maxChance = maxChance_4;
$('#notif_min_chance4').css('color', 'red');
$('#notif_max_chance4').css('color', 'red');
$('#notif_min_chance2').css('color', 'white');
$('#notif_max_chance2').css('color', 'white');
$('#notif_min_chance1').css('color', 'white');
$('#notif_max_chance1').css('color', 'white');
$('#notif_min_chance3').css('color', 'white');
$('#notif_max_chance3').css('color', 'white');
$('#notif_min_chance6').css('color', 'white');
$('#notif_max_chance6').css('color', 'white');
$('#notif_min_chance5').css('color', 'white');
$('#notif_max_chance5').css('color', 'white');
$('#notif_min_chance7').css('color', 'white');
$('#notif_max_chance7').css('color', 'white');
$('#notif_min_chance8').css('color', 'white');
$('#notif_max_chance8').css('color', 'white');
$('#notif_min_chance9').css('color', 'white');
$('#notif_max_chance9').css('color', 'white');
} else if (rdchance == 5) {
rdstrategy = 2;
minChance = minChance_5;
maxChance = maxChance_5;
$('#notif_min_chance5').css('color', 'red');
$('#notif_max_chance5').css('color', 'red');
$('#notif_min_chance2').css('color', 'white');
$('#notif_max_chance2').css('color', 'white');
$('#notif_min_chance1').css('color', 'white');
$('#notif_max_chance1').css('color', 'white');
$('#notif_min_chance3').css('color', 'white');
$('#notif_max_chance3').css('color', 'white');
$('#notif_min_chance4').css('color', 'white');
$('#notif_max_chance4').css('color', 'white');
$('#notif_min_chance6').css('color', 'white');
$('#notif_max_chance6').css('color', 'white');
$('#notif_min_chance7').css('color', 'white');
$('#notif_max_chance7').css('color', 'white');
$('#notif_min_chance8').css('color', 'white');
$('#notif_max_chance8').css('color', 'white');
$('#notif_min_chance9').css('color', 'white');
$('#notif_max_chance9').css('color', 'white');
} else if (rdchance == 6) {
rdstrategy = 2;
minChance = minChance_6;
maxChance = maxChance_6;
$('#notif_min_chance6').css('color', 'red');
$('#notif_max_chance6').css('color', 'red');
$('#notif_min_chance2').css('color', 'white');
$('#notif_max_chance2').css('color', 'white');
$('#notif_min_chance1').css('color', 'white');
$('#notif_max_chance1').css('color', 'white');
$('#notif_min_chance3').css('color', 'white');
$('#notif_max_chance3').css('color', 'white');
$('#notif_min_chance4').css('color', 'white');
$('#notif_max_chance4').css('color', 'white');
$('#notif_min_chance5').css('color', 'white');
$('#notif_max_chance5').css('color', 'white');
$('#notif_min_chance7').css('color', 'white');
$('#notif_max_chance7').css('color', 'white');
$('#notif_min_chance8').css('color', 'white');
$('#notif_max_chance8').css('color', 'white');
$('#notif_min_chance9').css('color', 'white');
$('#notif_max_chance9').css('color', 'white');
} else if (rdchance == 7) {
rdstrategy = 3;
minChance = minChance_7;
maxChance = maxChance_7;
$('#notif_min_chance7').css('color', 'red');
$('#notif_max_chance7').css('color', 'red');
$('#notif_min_chance2').css('color', 'white');
$('#notif_max_chance2').css('color', 'white');
$('#notif_min_chance1').css('color', 'white');
$('#notif_max_chance1').css('color', 'white');
$('#notif_min_chance3').css('color', 'white');
$('#notif_max_chance3').css('color', 'white');
$('#notif_min_chance4').css('color', 'white');
$('#notif_max_chance4').css('color', 'white');
$('#notif_min_chance5').css('color', 'white');
$('#notif_max_chance5').css('color', 'white');
$('#notif_min_chance6').css('color', 'white');
$('#notif_max_chance6').css('color', 'white');
$('#notif_min_chance8').css('color', 'white');
$('#notif_max_chance8').css('color', 'white');
$('#notif_min_chance9').css('color', 'white');
$('#notif_max_chance9').css('color', 'white');
} else if (rdchance == 8) {
rdstrategy = 3;
minChance = minChance_8;
maxChance = maxChance_8;
$('#notif_min_chance8').css('color', 'red');
$('#notif_max_chance8').css('color', 'red');
$('#notif_min_chance2').css('color', 'white');
$('#notif_max_chance2').css('color', 'white');
$('#notif_min_chance1').css('color', 'white');
$('#notif_max_chance1').css('color', 'white');
$('#notif_min_chance3').css('color', 'white');
$('#notif_max_chance3').css('color', 'white');
$('#notif_min_chance4').css('color', 'white');
$('#notif_max_chance4').css('color', 'white');
$('#notif_min_chance5').css('color', 'white');
$('#notif_max_chance5').css('color', 'white');
$('#notif_min_chance6').css('color', 'white');
$('#notif_max_chance6').css('color', 'white');
$('#notif_min_chance7').css('color', 'white');
$('#notif_max_chance7').css('color', 'white');
$('#notif_min_chance9').css('color', 'white');
$('#notif_max_chance9').css('color', 'white');
} else if (rdchance == 9) {
rdstrategy = 3;
minChance = minChance_9;
maxChance = maxChance_9;
$('#notif_min_chance9').css('color', 'red');
$('#notif_max_chance9').css('color', 'red');
$('#notif_min_chance2').css('color', 'white');
$('#notif_max_chance2').css('color', 'white');
$('#notif_min_chance1').css('color', 'white');
$('#notif_max_chance1').css('color', 'white');
$('#notif_min_chance3').css('color', 'white');
$('#notif_max_chance3').css('color', 'white');
$('#notif_min_chance4').css('color', 'white');
$('#notif_max_chance4').css('color', 'white');
$('#notif_min_chance5').css('color', 'white');
$('#notif_max_chance5').css('color', 'white');
$('#notif_min_chance6').css('color', 'white');
$('#notif_max_chance6').css('color', 'white');
$('#notif_min_chance7').css('color', 'white');
$('#notif_max_chance7').css('color', 'white');
$('#notif_min_chance8').css('color', 'white');
$('#notif_max_chance8').css('color', 'white');
}
}

$('#play').on('click', function () {
run == true ? play(this, "Start", false, false) : play(this, "Stop", true,
true);
basebetAmount = parseFloat($('#basebetAmount').val());
overBalance = parseFloat($('#overBalance').val());
underBalance = parseFloat($('#underBalance').val());
profitChange = parseFloat($('#profitChange').val());

minChance_1 = parseFloat($('#minChance1').val());
maxChance_1 = parseFloat($('#maxChance1').val());
minChance_2 = parseFloat($('#minChance2').val());
maxChance_2 = parseFloat($('#maxChance2').val());
minChance_3 = parseFloat($('#minChance3').val());
maxChance_3 = parseFloat($('#maxChance3').val());
minChance_4 = parseFloat($('#minChance4').val());
maxChance_4 = parseFloat($('#maxChance4').val());
minChance_5 = parseFloat($('#minChance5').val());
maxChance_5 = parseFloat($('#maxChance5').val());
minChance_6 = parseFloat($('#minChance6').val());
maxChance_6 = parseFloat($('#maxChance6').val());
minChance_7 = parseFloat($('#minChance7').val());
maxChance_7 = parseFloat($('#maxChance7').val());
minChance_8 = parseFloat($('#minChance8').val());
maxChance_8 = parseFloat($('#maxChance8').val());
minChance_9 = parseFloat($('#minChance9').val());
maxChance_9 = parseFloat($('#maxChance9').val());

betAmount = basebetAmount;
if(startrandomchance == true){
randomChance();
startrandomchance = false;
}
prediction = Math.floor((Math.random() * (maxChance - minChance + 1)) +
minChance);
direction = 'under';
chance = prediction;
chanceM = maxChance;
sensM = true;
$('#basebetAmount').val(basebetAmount.toFixed(8));
$('#overBalance').val(overBalance.toFixed(8));
$('#underBalance').val(underBalance.toFixed(8));
$('#profitChange').val(profitChange.toFixed(3));

$('#minChance1').val(Math.floor(minChance_1));
$('#maxChance1').val(Math.floor(maxChance_1));
$('#minChance2').val(Math.floor(minChance_2));
$('#maxChance2').val(Math.floor(maxChance_2));
$('#minChance3').val(Math.floor(minChance_3));
$('#maxChance3').val(Math.floor(maxChance_3));
$('#minChance4').val(Math.floor(minChance_4));
$('#maxChance4').val(Math.floor(maxChance_4));
$('#minChance5').val(Math.floor(minChance_5));
$('#maxChance5').val(Math.floor(maxChance_5));
$('#minChance6').val(Math.floor(minChance_6));
$('#maxChance6').val(Math.floor(maxChance_6));
$('#minChance7').val(Math.floor(minChance_7));
$('#maxChance7').val(Math.floor(maxChance_7));
$('#minChance8').val(Math.floor(minChance_8));
$('#maxChance8').val(Math.floor(maxChance_8));
$('#minChance9').val(Math.floor(minChance_9));
$('#maxChance9').val(Math.floor(maxChance_9));

doBet();
});
function play(e, d, v) {
$(e).html(d);
run = v;
$('#basebetAmount').prop('disabled', v);
$('#overBalance').prop('disabled', v);
$('#underBalance').prop('disabled', v);
$('#profitChange').prop('disabled', v);

$('#minChance1').prop('disabled', v);
$('#maxChance1').prop('disabled', v);
$('#minChance2').prop('disabled', v);
$('#maxChance2').prop('disabled', v);
$('#minChance3').prop('disabled', v);
$('#maxChance3').prop('disabled', v);
$('#minChance4').prop('disabled', v);
$('#maxChance4').prop('disabled', v);
$('#minChance5').prop('disabled', v);
$('#maxChance5').prop('disabled', v);
$('#minChance6').prop('disabled', v);
$('#maxChance6').prop('disabled', v);
$('#minChance7').prop('disabled', v);
$('#maxChance7').prop('disabled', v);
$('#minChance8').prop('disabled', v);
$('#maxChance8').prop('disabled', v);
$('#minChance9').prop('disabled', v);
$('#maxChance9').prop('disabled', v);

$('#min').prop('disabled', v);
$('#reset').prop('disabled', v);
}
$('#showChart').on('click', function () {
hideChart == true ? showChart(this, "Hide Chart", false) : showChart(this,
"Show Chart", true);
});
function showChart(e, d, v) {
$(e).html(d);
hideChart = v;
document.getElementById('chart').hidden = v;
}
$('#showStatic').on('click', function () {
hideStatic == true ? showStatic(this, "Hide Static", false) :
showStatic(this, "Show Static", true);
});
function showStatic(e, d, v) {
$(e).html(d);
hideStatic = v;
document.getElementById('static').hidden = v;
}
$('#showLog').on('click', function () {
hideLog == true ? showLog(this, "Hide Log", false) : showLog(this, "Show
Log", true);
});
function showLog(e, d, v) {
$(e).html(d);
hideLog = v;
document.getElementById('log').hidden = v;
}

function log(string) {
$('<p style="margin: 0px;">' + string + '</p>').appendTo('#log');
}
function reset() {
randomizeSeed();
startrandomchance = true;
sbalance = parseFloat(document.getElementById('balance').value);
bbalance = parseFloat(document.getElementById('balance').value);
basebetAmount = 0;
betAmount = 0;
maxbetAmount = 0;
prediction = 0;
direction = '';
chance = 0;
rd = 0;
minChance = 0;
maxChance = 0;
minChance_1 = 0;
maxChance_1 = 0;
minChance_2 = 0;
maxChance_2 = 0;
minChance_3 = 0;
maxChance_3 = 0;
minChance_4 = 0;
maxChance_4 = 0;
minChance_5 = 0;
maxChance_5 = 0;
minChance_6 = 0;
maxChance_6 = 0;
minChance_7 = 0;
maxChance_7 = 0;
minChance_8 = 0;
maxChance_8 = 0;
minChance_9 = 0;
maxChance_9 = 0;
payout = 0;
casino = 1;
sensM = true;
chanceM = 0;
rdstrategy = 0;
balance = 0;
largestBalance = 0;
overBalance = 0;
underBalance = 0;
profitChange = 0;
bet = 0;
win = 0;
lose = 0;
winStreak = 0;
loseStreak = 0;
maxWinStreak = 0;
maxLoseStreak = 0;
lossAmount = 0;
loseAmount = 0;
maxloseAmount = 0;
wagered = 0;
profitWagered = 0;
profit = 0;
profitBets = 0;
profitt = 0;
profittt = 0;
profitttt = 0;
largestProfit = 0;
startTime = new Date();
onTime = 0;
playTime = 0;
playDay = 0;
playHour = 0;
playMinute = 0;
playSecond = 0;
speed = 0;
round = 0;
roundd = 0;
ii = 0;
startbalancebalance = parseFloat(document.getElementById('balance').value);
balancebalance = parseFloat(document.getElementById('balance').value);
//largBalance = 0;
profitprofit = 0;
profitHour = 0;
profittHour = 0;
profitDay = 0;
profittDay = 0;
dps = [];
chart = '';
color = '';
n = Math.floor(6);
runLog = 0;
$('#log p').remove();

$.getScript('https://canvasjs.com/assets/script/canvasjs.min.js').done(function
(script, textStatus) {
dps = [{
x: 0,
y: 0
}
];
chart = new CanvasJS.Chart('chart', {
//backgroundColor: "#F5DEB3",
backgroundColor: "#1C1C1C",
//backgroundColor: "transparent",
theme: 'light1',
zoomEnabled: true,
axisX: {
//title: 'Bet',
includeZero: false,
},
axisY: {
//title: 'Profit',
includeZero: false,
},
title: {
//text: 'Dice Vip Ultimate - Exclusive Edition',
fontColor: 'green',
fontSize: 2e1,
padding: 2e1
},
data: [{
type: 'area',
dataPoints: dps
}
]
});
chart.render();
});
$('#notification').html('БОТ ПЕРЕЗАГРУЖЕН !');
$('#notif_profit').html('0.000');
$('#notification_profit').html('0.00000000');
$('#notif_min_chance3').css('color', 'white');
$('#notif_max_chance3').css('color', 'white');
$('#notif_min_chance2').css('color', 'white');
$('#notif_max_chance2').css('color', 'white');
$('#notif_min_chance1').css('color', 'white');
$('#notif_max_chance1').css('color', 'white');
$('#notif_min_chance4').css('color', 'white');
$('#notif_max_chance4').css('color', 'white');
$('#notif_min_chance5').css('color', 'white');
$('#notif_max_chance5').css('color', 'white');
$('#notif_min_chance6').css('color', 'white');
$('#notif_max_chance6').css('color', 'white');
$('#notif_min_chance7').css('color', 'white');
$('#notif_max_chance7').css('color', 'white');
$('#notif_min_chance8').css('color', 'white');
$('#notif_max_chance8').css('color', 'white');
$('#notif_min_chance9').css('color', 'white');
$('#notif_max_chance9').css('color', 'white');
$('#static').html('...');
log('BOT has reset!');
return;
}
function doBet() {
if (run === true) {
jQuery.ajax({
url: "https://"+user.domain+"/play/",
type: "POST",
dataType: "html",
timeout: 6e4,
data: {
game: "dice",
coin: $('#coin').val(),
betAmount: betAmount,
prediction: prediction,
direction: direction,
clientSeed: $('#clientSeed').val(),
serverSeedHash: $('#serverSeedHash').html(),
session: getCookie("SESSION"),
//action: "playBet",
hash: user.hash
},
success: function (data) {
var data = JSON.parse(data);
if (data.result === true) {
bet++;
onTime = new Date().getTime();
playTime = onTime - startTime;
playDay = Math.floor(playTime / (1e3 * 6e1 * 6e1 *
24));
playHour = Math.floor((playTime % (1e3 * 6e1 * 6e1 *
24)) / (1e3 * 6e1 * 6e1));
playMinute = Math.floor((playTime % (1e3 * 6e1 *
6e1)) / (1e3 * 6e1));
playSecond = Math.floor((playTime % (1e3 * 6e1)) /
1e3);
speed = parseFloat((bet / playTime) * 1000);
balance = parseFloat(data.balance);
wagered += parseFloat(betAmount);
profit += parseFloat(data.profit);
profitBets += parseFloat(data.profit);
profitWagered = (wagered * 0.1) / 1e2;
profitt = 100*(balance-sbalance)/sbalance;
profittt += parseFloat(data.profit);
profitttt = (profittt/bbalance)*100;
if (profit >= largestProfit) {
largestProfit = profit;
}
if (balance >= largestBalance) {
largestBalance = balance;
}
if (data.gameResult === 'win') {
win++;
winStreak++;
loseStreak = 0;
color = 'green';
} else {
lose++;
loseStreak++;
winStreak = 0;
color = 'red';
}
if (winStreak >= maxWinStreak) {
maxWinStreak = winStreak;
}
if (loseStreak >= maxLoseStreak) {
maxLoseStreak = loseStreak;
}
if (betAmount >= maxbetAmount) {
maxbetAmount = betAmount;
}
loseAmount = largestProfit - profit;
if (loseAmount >= maxloseAmount) {
maxloseAmount = loseAmount;
}
ii = (playDay*86400) + (playHour*3600) +
(playMinute*60) + (playSecond);
//profitprofit = balancebalance -
startbalancebalance;
profitHour = (profit/ii)*3600;
profittHour = (profitHour/startbalancebalance)*100;
profitDay = (profit/ii)*86400;
profittDay = (profitDay/startbalancebalance)*100;
runLog++;
if (runLog > 1e2) {
runLog = 0;
$('#log p').remove();
}
log('<font style="color: ' + color + ';">' +
betAmount.toFixed(8) + ' ' + direction + ' ' + prediction + ' -> ' +
data.resultNumber + ' ' + data.gameResult + ' ' +
parseFloat(data.profit).toFixed(8) + '</font>');
$('#log').stop().animate({ scrollTop: $
('#log')[0].scrollHeight });

$('#serverSeedHash').html(data.serverSeedHash);
//$('#notification').html('Bot on running: ' +
prediction + ' : ' + direction);
$('#notif_profit').html('<span style="float:
center;">' + profitttt.toFixed(3) + '</span>');
$('#notification_profit').html('<span style="float:
center;">' + profit.toFixed(8) + '</span>');
$('#notification').html('БОТ ЗАПУЩЕН !');
$('#static').html('<span style="float: left;">Game =
dice</span> <span style="float: center;">Bet Amount : Prediction : Direction = ' +
betAmount.toFixed(8) + ' : ' + prediction + ' : ' + direction + '</span> <span
style="float: right;">Coin = ' + $('#coin').val() + '</span><br> <span
style="float: left;">Time = ' + playDay + 'd:' + playHour + 'h:' + playMinute +
'm:' + playSecond + 's</span> <span style="float: center;">Roll = ' +
data.resultNumber + ' : ' + data.gameResult + '</span> <span style="float:
right;">Speed = ' + speed.toFixed(2) + '</span><br> <span style="float:
left;">Balance = ' + balance.toFixed(8) + '</span> <span style="float: center;">Bet
= ' + bet + ' : Win = ' + win + ' : Lose = ' + lose + '</span> <span style="float:
right;">Wagered = ' + wagered.toFixed(8) + '</span><br> <span style="float:
left;">Profit = ' + profit.toFixed(8) + ' (' + profitt.toFixed(3) + '%)</span>
<span style="float: center;">Profit Per Hour = ' + profitHour.toFixed(8) + ' :
Profit Per Day = ' + profitDay.toFixed(8) + '</span> <span style="float:
right;">Profit Wagered = ' + profitWagered.toFixed(8) + '</span><br> <span
style="float: left;">Win Streak = ' + winStreak + '</span> <span style="float:
center;">Loss Amount = ' + loseAmount.toFixed(8) + ' : Max Loss Amount = ' +
maxloseAmount.toFixed(8) + '</span> <span style="float: right;">Lose Streak = ' +
loseStreak + '</span><br> <span style="float: left;">Max Win Streak = ' +
maxWinStreak + '</span> <span style="float: center;">Max Bet Amount = ' +
maxbetAmount.toFixed(8) + '</span> <span style="float: right;">Max Lose Streak = '
+ maxLoseStreak + '</span>');
updateChart(bet, profit, color);
if (betAmount >= balance) {
stop();
$('#notification').html('Lose');
alert('Lose');
log('Lose!');
return;
} else {
if (overBalance != 0 && balance >= overBalance)
{
stop();
$('#notification').html('Over balance -
Target Balance achieved');
alert('Over balance - Target Balance
achieved');
log('Over balance!');
return;
} else if (underBalance != 0 && balance <=
underBalance) {
stop();
$('#notification').html('Under balance -
balance under Stop Lost Balance');
alert('Under balance - balance under Stop
Lost Balance');
log('Under balance!');
return;
} else {
/*
rd = Math.floor((Math.random() * (2
- 1 + 1)) + 1);
if (rd == 1) {
prediction =
Math.floor((Math.random() * (maxChance - minChance + 1)) + minChance);
direction = 'under';
chance = prediction;
} else {
prediction = Math.floor(99 -
Math.floor((Math.random() * (maxChance - minChance + 1)) + minChance));
direction = 'over';
chance = 99 - prediction;
}
*/
if (profit >= largestProfit) {
//if (data.gameResult === 'win') {
var rdseedd = Math.floor(Math.random() * (2 - 0
+ 1)) + 0;
switch(rdseedd) {
case 0:
$
('#clientSeed').val(generateClientSeed());
break;
case 1:
$
('#clientSeed').val((Math['random']() * (1000000000000000000000 - 1) +
1).toFixed(0));
break;
case 2:
$
('#clientSeed').val((Math['random']() * (100 - 1) + 1).toFixed(0));
break;
default:
}
rd = Math.floor((Math.random() * (2
- 1 + 1)) + 1);
if (rd == 1) {
prediction =
Math.floor((Math.random() * (maxChance - minChance + 1)) + minChance);
direction = 'under';
chance = prediction;
} else {
prediction =
Math.floor(99 - Math.floor((Math.random() * (maxChance - minChance + 1)) +
minChance));
direction = 'over';
chance = 99 -
prediction;
}
if(profitttt >= profitChange){
profittt = 0;
profitttt = 0;
bbalance = largestBalance;
randomChance();
}
var rd_chance =
Math.floor((Math.random() * (2 - 1 + 1)) + 1);
if (rd_chance == 1) {
chanceM = minChance;
sensM = false;
} else {
chanceM = maxChance;
sensM = true;
}
//round = 0;
//lossAmount = 0;
profitBets = 0;
//n = Math.floor((Math.random() *
(6 - 4 + 1)) + 4);
betAmount = basebetAmount;
} else {
if (rdstrategy == 1) {
rd =
Math.floor((Math.random() * (2 - 1 + 1)) + 1);
if (rd == 1) {
prediction =
Math.floor((Math.random() * (maxChance - minChance + 1)) + minChance);
direction = 'under';
chance = prediction;
} else {
prediction =
Math.floor(99 - Math.floor((Math.random() * (maxChance - minChance + 1)) +
minChance));
direction = 'over';
chance = 99 -
prediction;
}
//lossAmount = largestProfit
- profit;
//betAmount =
lossAmount/(99/chance-1);
payout = (100-casino)/chance;
betAmount = (-
profitBets+basebetAmount)/(payout-1);
if (betAmount <
basebetAmount) {
betAmount = basebetAmount;
}
} else if (rdstrategy == 2) {
rd =
Math.floor((Math.random() * (2 - 1 + 1)) + 1);
if (rd == 1) {
prediction =
Math.floor((Math.random() * (maxChance - minChance + 1)) + minChance);
direction = 'under';
chance = prediction;
} else {
prediction =
Math.floor(99 - Math.floor((Math.random() * (maxChance - minChance + 1)) +
minChance));
direction = 'over';
chance = 99 -
prediction;
}
payout = ((100-
casino)*Math.log(maxChance)-(100-casino)*Math.log(minChance))/(maxChance-
minChance);
betAmount = (-
profitBets+basebetAmount)/(payout-1);
if (betAmount <
basebetAmount) {
betAmount = basebetAmount;
}
} else if (rdstrategy == 3) {
if (sensM==true) {
chanceM -=
Math.floor((Math.random() * (1 - 0 + 1)) + 0);
} else {
chanceM +=
Math.floor((Math.random() * (1 - 0 + 1)) + 0);
}
if (chanceM >= maxChance) {
chanceM = maxChance;
sensM=true;
}
if (chanceM <= minChance) {
chanceM = minChance;
sensM=false;
}
if (direction == 'under') {
prediction =
Math.floor(chanceM);
} else {
prediction =
Math.floor(99-chanceM);
}
payout = (100-
casino)/chanceM;
betAmount = (-
profitBets+basebetAmount)/(payout-1);
if (betAmount <
basebetAmount) {
betAmount = basebetAmount;
}
}
}
}
}
doBet();
} else {
randomizeSeed();
setInterval(doBet(), 5000);
}
},
error: function (xhr, ajaxOptions, throwagerednError) {
randomizeSeed();
setInterval(doBet(), 5000);
},
timeout: function (xhr, ajaxOptions, throwagerednError) {
randomizeSeed();
setInterval(doBet(), 5000);
},
abetort: function (xhr, ajaxOptions, throwagerednError) {
randomizeSeed();
setInterval(doBet(), 5000);
}
});
} else {
$('#notification').html('БОТ ОСТАНОВЛЕН !');
log('BOT has stopped!');
return;
}
}
function generateSeed(length) {
let seed = '';
const charset = 'abcdef0123456789';
const array = new Uint32Array(length);
window.crypto.getRandomValues(array);
for (const val of array) {
seed += charset.charAt(val % 11);
}
return seed;
}
function generateClientSeed() {
return generateSeed(32);
}

Оценить