Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // CONFIG-X4
- // BETLOW
- function bet_init(balance,minbet,use){
- data = lastBet[use]
- logic_is = "X4"
- basebet = balance * 0.000005
- if(basebet < minbet){basebet = minbet}
- data.prediction = []
- for(var i = 5; i < 100; i+=5){
- data.prediction.push({chance: i,populer: 0})
- }
- config_add = {
- 'chance' : randchance(25, 30),
- 'risk' : 0,
- 'ctrisk' : 0,
- 'basebet' : basebet,
- 'nextbet' : basebet,
- 'bethigh' : false,
- }
- config = {
- 'balance_start': balance,
- 'partialprofit': 0,
- 'minimum_bet' : minbet,
- 'result' : 0,
- 'bets' : 0,
- 'profit' : 0,
- 'currentprofit' : 0,
- 'currentstreak' : 0,
- 'winstreak' : 0,
- 'losestreak' : 0,
- 'previousbet' : basebet,
- 'balance_high' : 0,
- 'drop_value' : 0,
- 'wager' : 0,
- 'balance' : balance,
- 'win' : false,
- 'stopwin' : false,
- 'stopnow' : false,
- 'profitc' : 0,
- 'ctlose' : 0,
- 'maxstreak' : 0,
- 'maxdrop' :30,
- 'maxlose' : 0,
- 'target' : balance*1.20,
- }
- if(lastBet.length > 1){
- $('#balance'+use).html('<span style="color:DodgerBlue;">'+balance.toFixed(8)+'</span>')
- $('#hid_balance'+use).val(balance)
- $('#logic'+use).html(logic_is)
- }
- config = Object.assign(config, config_add)
- data.config = config
- if(balance > 0){data.betroll = true}
- if(data.betroll){get_place_bet(data.coin,data.config.chance,data.config.nextbet,data.config.bethigh,use)}
- }
- function bet_dobet(use){
- data = lastBet[use]
- Object.keys(data.config).forEach(function(key){eval(key+" = "+data.config[key])})
- chance = randchance(75, 80)
- bethigh = randchance(1, 3) % 2 == 0
- if (risk == 2 && win) {
- ctrisk += 1
- if (ctrisk == 3){
- stopnow = true
- }
- }
- if (win){
- nextbet = basebet
- } else {
- nextbet = previousbet
- }
- if (currentstreak <= -1) {
- chance = randchance(10, 25)
- nextbet = previousbet
- }
- if (currentstreak <= -2) {
- chance = randchance(5, 10 )
- nextbet = previousbet
- }
- if (currentstreak <= -3) {
- chance = randchance(20, 35)
- nextbet = previousbet
- }
- if (currentstreak <= -4) {
- chance = randchance(5, 7)
- nextbet = previousbet
- }
- if (currentstreak <= -5) {
- chance = randchance(12, 15)
- nextbet = previousbet
- }
- if (currentstreak <= -6) {
- chance = randchance(25, 35)
- nextbet = previousbet
- }
- if (currentstreak <= -7) {
- chance = randchance(14, 19)
- nextbet = previousbet
- }
- if (currentstreak <= -8) {
- chance = randchance(20, 30)
- nextbet = previousbet *1.8
- }
- if (currentstreak <= -9) {
- chance = randchance(10, 15)
- nextbet = previousbet*1.2
- }
- if (currentstreak <= -10) {
- chance = randchance(17, 25)
- nextbet = previousbet * 2.4
- }
- if (currentstreak <= -11) {
- chance = randchance(26, 32)
- nextbet = previousbet * 1.7
- }
- if (currentstreak <= -12) {
- chance = randchance(6, 15)
- nextbet = previousbet * 1.2
- }
- if (currentstreak <= -13) {
- chance = randchance(8, 10)
- nextbet = previousbet * 1.19
- }
- if (currentstreak <= -14) {
- chance = randchance(5, 25)
- nextbet = previousbet * 2.41
- }
- if (currentstreak <= -15) {
- chance = randchance(5, 26)
- nextbet = previousbet * 1.4
- }
- if (currentstreak <= -16) {
- chance = randchance(30, 35)
- nextbet = previousbet * 1.7
- }
- if (currentstreak <= -17) {
- chance = randchance(10, 12)
- nextbet = previousbet * 0.65
- }
- if (currentstreak <= -18) {
- chance = randchance(5, 7)
- nextbet = previousbet * 1.1
- }
- if (currentstreak <= -19) {
- chance = randchance(10, 17)
- nextbet = previousbet * 1.22
- }
- if (currentstreak <= -20) {
- chance = randchance(20, 24)
- nextbet = previousbet * 2.41
- }
- if (currentstreak <= -21) {
- chance = randchance(22, 25)
- nextbet = previousbet * 1.4
- }
- if (currentstreak <= -22) {
- chance = randchance(23, 26)
- nextbet = previousbet * 1.41
- }
- if (currentstreak <= -23) {
- chance = randchance(7, 10)
- nextbet = previousbet * 0.71
- }
- if (currentstreak <= -24) {
- chance = randchance(14, 16)
- nextbet = previousbet * 2.3
- }
- if (currentstreak <= -25) {
- chance = randchance(17, 19)
- nextbet = previousbet * 1.4
- }
- if (currentstreak <= -26) {
- chance = randchance(5, 7)
- nextbet = previousbet * 0.7
- risk = 2
- }
- if (currentstreak <= -27) {
- chance = randchance(6, 9)
- nextbet = previousbet * 1.2
- risk = 2
- }
- if (currentstreak <= -28) {
- chance = randchance(7, 10 )
- nextbet = previousbet * 1.2
- risk = 2
- }
- if (currentstreak <= -29) {
- chance = randchance(20, 28)
- nextbet = previousbet * 2.4
- risk = 2
- }
- if (currentstreak <= -30) {
- chance = randchance(8, 11)
- nextbet = previousbet * 0.7
- risk = 2
- }
- if (currentstreak <= -31) {
- chance = randchance(9, 12)
- nextbet = previousbet * 1.2
- risk = 2
- }
- if (currentstreak <= -32) {
- chance = randchance(19, 22)
- nextbet = previousbet * 2.448
- risk = 2
- }
- if (currentstreak <= -33) {
- chance = randchance(25,30)
- nextbet = previousbet * 1.4
- risk = 2
- }
- if (nextbet < basebet){nextbet = basebet}
- if (nextbet < minimum_bet) { nextbet = minimum_bet }
- if (ctlose > maxstreak && maxstreak > 0 ){stopwin = true}
- if (balance > target && target > 0) { stopnow = true }
- if (balance < maxlose && maxlose > 0) {
- nextbet = minimum_bet
- stopnow = true
- }
- previousbet = nextbet
- Object.keys(data.config).forEach(function(key){data.config[key] = eval(key)})
- if(data.betroll){get_place_bet(data.coin,data.config.chance,data.config.nextbet,data.config.bethigh,use)}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement