0% found this document useful (0 votes)
29 views6 pages

F Wow F

The document contains code for an automated betting script. It initializes variables like the minimum bet rate, number of bets, and bet index. It includes functions to start the game, handle wins/losses, check the bet result, and process the next bet. The script runs on a loop, placing bets at intervals while tracking profits, losses, and bet rates.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views6 pages

F Wow F

The document contains code for an automated betting script. It initializes variables like the minimum bet rate, number of bets, and bet index. It includes functions to start the game, handle wins/losses, check the bet result, and process the next bet. The script runs on a loop, placing bets at intervals while tracking profits, losses, and bet rates.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

var BalanceToBet, BalanceAfterBetting;

// прогоночна¤ ставка
var MinimumRate_ToString = ["0.00000001", "0.00000002", "0.00000003", "0.00000004",
"0.00000005"]; // текстовый формат
var MinimumRate = +MinimumRate_ToString; // числовой формат

// контрольная ставка - для N ставок


var Rate = [];
var N = 15;
var waitstart = 300;

// индекс ставки
var StavkaID = 0;

// показатель последних ставок


var LastBidResult = 0; // если значение отрицательное, то LO иначе HI

// сколько прогоночных ставок делаем


var GoRate = 3;

// сколько всего ставок делать


var exit_go = 9999999;

// инициализаци¤ переменных
function Initialization_Var(){
// заполн¤ем массив контрольных ставок
for(var i = 0; i < N; i++)
Rate.push("/");
var stavim = ["0.00000007", "0.00000021", "0.00000048", "0.00000103",
"0.00000213", "0.00000433", "0.00000873", "0.00001753"];
for(var i = 0; i < 8; i++)
Rate[i] = stavim [i];
}

var startValue = "0.00000001",


stopPercentage = 0.0000001,
maxWait = 777,
startLoss = 3,
losses = 0,
baseMultiply = 0.00000005,
highestProfit = 0;

var $hiButton = $("#double_your_btc_bet_hi_button");

var gameStartTime = Date.now();


var gameDuration = 777; // 6000 seconds

function checkGameDuration() {
var elapsedTime = Date.now() - gameStartTime;
if (elapsedTime >= gameDuration) {
console.log("Game duration reached. Stopping the game.");
stopScript();
} else {
setTimeout(checkGameDuration, 1000); // Check every second
}
}

function stopScript() {
console.log("Script stopped after 6000 seconds.");
// You can add any additional cleanup or stop logic here

// Optional: You can unbind event handlers to stop listening for DOM changes
$("#double_your_btc_bet_lose").unbind();
$("#double_your_btc_bet_win").unbind();

// Optional: You can also set a flag or perform other actions to indicate that
the script has stopped
scriptStopped = true;
}

// Set a timer to check the game duration every second


setTimeout(checkGameDuration, 1000);

// Optional: You can use a flag to check whether the script has stopped in other
parts of the code
var scriptStopped = false;

function multiply() {
var current = parseFloat($("#double_your_btc_stake").val());
var multiply = (current % 2).toFixed(8);
$("#double_your_btc_stake").val(multiply);
}

function getRandomWait() {
var wait = Math.floor(Math.random() * maxWait) + 100;
console.log("Waiting for " + wait + "ms before next bet.");
return wait;
}

function startGame() {
console.log("Game started!");
$hiButton.trigger("click");
}

function handleLoss() {
losses++;
console.log("You LOST! Consecutive losses: " + losses);
if (losses >= startLoss) {
console.log("Multiplying your bet and betting again.");
multiply();
}
setTimeout(function () {
startGame();
}, getRandomWait());
}

function handleWin() {
console.log("You WON!");
var currentProfit = getCurrentProfit();
console.log("Current profit: " + currentProfit);

if (currentProfit > highestProfit) {


highestProfit = currentProfit;
console.log("New highest profit: " + highestProfit);
losses = 0; // Reset losses when a new highest profit is achieved
}
setTimeout(function () {
startGame();
}, getRandomWait());
}

function getCurrentProfit() {
var balance = parseFloat($("#balance").text());
var current = parseFloat($("#double_your_btc_stake").val());
return (current + 2) - startValue + 2;
}

$("#double_your_btc_bet_lose").unbind();
$("#double_your_btc_bet_win").unbind();

$("#double_your_btc_bet_lose").bind("DOMSubtreeModified", function (event) {


if (!scriptStopped && $(event.currentTarget).is(':contains("lose")')) {
handleLoss();
}
});

$("#double_your_btc_bet_win").bind("DOMSubtreeModified", function (event) {


if (!scriptStopped && $(event.currentTarget).is(':contains("win")')) {
handleWin();
}
});

// Start the game


startGame();

// начинаем делать ставки


function Start() {
// записываем баланс до ставки
BalanceToBet = +$('#balance')[0].innerHTML;
if(LastBidResult > GoRate || LastBidResult < -GoRate)
waitstart = 5000;
else
waitstart = 300;
setTimeout(function () {
// устанавливаем сумму ставки
if(LastBidResult > GoRate || LastBidResult < -GoRate)
{
$('#double_your_btc_stake')[0].value = Rate[StavkaID];
}
else
{
$('#double_your_btc_stake')[0].value = MinimumRate_ToString;
}
// контрольная ставка
if(LastBidResult < -GoRate)
{
document.querySelector("#double_your_btc_bet_hi_button").click();
}
else{
if(LastBidResult > GoRate)
{

document.querySelector("#double_your_btc_bet_lo_button").click();
}
else
{

document.querySelector("#double_your_btc_bet_hi_button").click();
}
}
CheckBet_WaitOne();
}, waitstart);
}

// проверка ставки
function CheckBet() {
BalanceAfterBetting = +$('#balance')[0].innerHTML;
// если результат еще не известен, то ждем
if(BalanceToBet == BalanceAfterBetting)
{
setTimeout(function () {
CheckBet();
}, 300);
}
else
{
// если делали прогоночную ставку
if(LastBidResult <= GoRate && LastBidResult >= -GoRate)
CheckBet_Last();
else{
if(LastBidResult > GoRate)
CheckBet_LO();
else{
if(LastBidResult < GoRate)
CheckBet_HI();
}
}
if(exit_go > 0 && StavkaID <= 3)
{
Start();
}
else
{
soundProigraly();
console.log("завершили");
setTimeout(function () {
Start();
}, 2000);
}
exit_go--;
}
}

// обработка результата прогоночной ставки


function CheckBet_Last(){
console.log("прогоночная ставка");
if(BalanceToBet > BalanceAfterBetting)
{
if(LastBidResult > 0)
{
LastBidResult = 0;
}
LastBidResult--;
}
else{
if(LastBidResult < 0)
LastBidResult = 0;
LastBidResult++;
}
}

// обработка результата контрольной ставки HI


function CheckBet_HI(){
console.log("контрольная ставка HI");
if(BalanceToBet > BalanceAfterBetting){
console.log("проиграли ", StavkaID);
StavkaID++;
LastBidResult--;
}
else{
soundPobeda();
console.log("ѕобеда");
StavkaID = 0;
LastBidResult = 0;
}
}

// обработка результата контрольной ставки LO


function CheckBet_LO(){
console.log("контрольная ставка LO");
if(BalanceToBet > BalanceAfterBetting){
console.log("проиграли ", StavkaID);
StavkaID++;
LastBidResult++;
}
else{
soundPobeda();
console.log("победа");
StavkaID = 0;
LastBidResult = 0;
}
}

// первый этап ожидания после ставки


function CheckBet_WaitOne() {
setTimeout(function () {
CheckBet();
}, 400);
}

function main(){
Initialization_Var();
console.log("—тартуем");
Start();
}

function soundPobeda() {
var audio = new Audio();
audio.src = 'http://simple-work.ru/data/mario-zvuk-pobedy.mp3';
audio.autoplay = true; // јвтоматически запускаем
}

function soundProigraly() {
var audio = new Audio();
audio.src = 'http://simple-work.ru/data/proigraly.mp3';
audio.autoplay = true;
}

main();

You might also like