Coinscrash Tricks: Tips 5 Strategy
Coinscrash Tricks: Tips 5 Strategy
Coinscrash Tricks: Tips 5 Strategy
var cashout = 425; //WILL AUTO CASHOUT AT THIS NUMBER IF HASNT DONE ALREADY
var basebet = 75; //FIRST BET WILL BE IN THIS RANGE
var maxbet = 250; //WILL NOT EXEED THIS BET
var divide = 15; //BET IS PREVIOUS GAMES TOTAL BETS DIVIDED BY THIS NUMBER
var lowbetthresh = 50000; //CASHOUT IF TOTAL BETS ARE LOWER THAN THIS AT THE START
var highestplayerpercent = 100; // CASHOUT IF HIGHEST PLAYERS BET IS X PERCENT OF
THE TOTAL
// GAME VARIABLES
var playerbets = [];
var cashedoutbets = 0;
var ingame = 0;
var withdrawn = Number(0);
var remaining = Number(0);
var currentBalance = (engine.getBalance() / 100) - withdrawn;
var firstGame = true;
var withdrawn = Number(0);
var currentBalance = (engine.getBalance() / 100) - withdrawn;
var totalethos = 0;
var highestbet = 0;
var lastmax = 0;
var first = 0;
engine.on('game_starting', function(data) {
if (lastmax >= maxbet) {
basebet = maxbet;
} else {
if (lastmax == 0) {
} else {
basebet = lastmax;
}
}
currentBalance = (engine.getBalance() / 100) - withdrawn;
betlow = Math.round(basebet / lowmultiplyer);
bethigh = Math.round(basebet * highmultiplyer);
bet = Math.floor((Math.random() * bethigh) + betlow);
first = 1;
bet = bet * 100;
currentBalance = (engine.getBalance() / 100) - withdrawn;
console.log("Current Balance :" + currentBalance);
console.log("Withdrawn to " + vault + " :" + withdrawn);
console.log("Bet Amount :" + bet / 100);
firstGame = false;
engine.placeBet(Math.round(bet), cashout, false);
});
engine.on('game_started', function(data) {
highestbet = 0;
remaining = Number(0);
highestbetplayer = '';
ingame = 0;
cashedoutbets = 0;
totalbet = 0;
players = 0;
playerbets = [];
for (var key in data) {
if (data.hasOwnProperty(key)) {
if (data[key].bet / 100 > highestbet) {
highestbet = data[key].bet / 100;
highestbetplayer = key;
}
if (blacklist.includes(key) == false) {
playerbets.push(key, data[key].bet / 100);
totalbet += data[key].bet;
players++;
} else {
console.log(key + " was not included");
}
});
engine.on('cashed_out', function(resp) {
if (blacklist.includes(resp.username) == false) {
//console.log(resp);
//console.log(playerbets);
player = playerbets.indexOf(resp.username);
playerbet = player + 1;
//console.log(playerbet);
//console.log(playerbets[playerbet]);
cashedoutbets += playerbets[playerbet];
} else {
console.log(resp.username + ' cashed out but i dont care');
}
if (ingame == 0) {
console.log("Cashing out");
engine.cashOut();
ingame = 1;
}
} else {
if (ingame == 0) {
remaining = Math.round(target - cashedoutbets);
console.clear();
console.log("Current Balance :" + currentBalance);
console.log("Withdrawn to " + vault + " :" + withdrawn);
console.log("Bet Amount :" + bet / 100);
console.log("Target Cashout :" + Math.round(target));
console.log("Cashout Our So far :" + cashedoutbets);
console.log("Remaining :" + remaining);
}
}
});
engine.on('game_crash', function(data) {
console.log(cashedoutbets);
console.clear();
currentBalance = (engine.getBalance() / 100) - withdrawn;
if (currentBalance > TargetBits) {
excess = currentBalance - TargetBits;
withdrawAmount = Number(0);
withdrawAmount += Number(excess);
withdrawAmount = (withdrawAmount).toFixed(2);
console.log('[Bot] Attempting to withdraw ' + withdrawAmount + ' to ' +
vault);
cors = transferRequest('POST', 'https://www.ethcrash.io/transfer-
request');
withdrawn += Number(withdrawAmount);
currentBalance = (engine.getBalance() / 100) - withdrawn;
}
});
function transferRequest(method, url) {
var xhr = new XMLHttpRequest();
if ("withCredentials" in xhr) {
uuid = uuidv4();
params = 'fakeusernameremembered=&fakepasswordremembered=&amount=' +
withdrawAmount + '&to-user=' + vault + '&password=' + password + '&transfer-id=' +
uuid;
xhr.open(method, url, true);
xhr.setRequestHeader("Content-type", "application/x-www-form-
urlencoded");
xhr.onreadystatechange = function() {
if (xhr.readyState == 4 && xhr.status == 200) {}
}
xhr.send(params);
} else if (typeof XDomainRequest != "undefined") {
xhr = new XDomainRequest();
xhr.open(method, url);
xhr.send();
} else {
xhr = null;
xhr.send();
}
return xhr;
xhr.send();
}
function uuidv4() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
var r = Math.random() * 16 | 0,
v = c == 'x' ? r : (r & 0x3 | 0x8);
return v.toString(16);
});
}