Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // CONFIG-04
- // FAST
- function bet_init(balance,minbet,use){
- data = lastBet[use]
- logic_is = "04"
- basebet = balance/1e6
- if(basebet < minbet){basebet = minbet}
- config_add = {
- 'basebet' : basebet,
- 'chance' : 66,
- 'minc' : 9.46,
- 'maxc' : 12.36,
- 'multi' : 1.12,
- 'multi2' : 1.14,
- 'somu1f1' : 0,
- 'somu2f1' : 1,
- 'somu1f2' : 1.74,
- 'somu2f2' : 1.62,
- 'point1' : 16,
- 'point2' : 10,
- 'f1' : true,
- 'profitf1' : 0,
- 'nx1' : 1,
- 'f1stw' : 0,
- 'f1stl' : 0,
- 'f1x' : true,
- 'f2' : false,
- 'profitf2' : 0,
- 'nx2' : 1,
- 'f2st' : 0,
- 'nextbet' : basebet,
- 'chance' : 66,
- 'bethigh' : false,
- 'ctlose' : 0,
- 'maxstreak' : 0,
- 'maxdrop' : 30,
- 'maxlose' : 0,
- 'target' : balance*1.50,
- }
- config = {
- 'balance_start': balance,
- 'partialprofit': 0,
- 'minimum_bet' : minbet,
- 'bets' : 0,
- 'profit' : 0,
- 'currentprofit' : 0,
- 'currentstreak' : 0,
- 'winstreak' : 0,
- 'losestreak' : 0,
- 'previousbet' : basebet,
- 'balance_high' : 0,
- 'drop_value' : 0,
- 'wager' : 0,
- 'win' : false,
- 'balance' : balance,
- 'stopwin' : false,
- 'stopnow' : false,
- }
- 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])})
- // bethigh = randchance(0,100) > 50
- chance = randchance(minc*100,maxc*100)/100
- if (f1) {
- if (win) {
- f1x = false
- if (f1stw >= 1 || f1stl >= 1) {
- nextbet = minimum_bet
- nx1 = 1
- f1stw = 0
- f1x = true
- } else {
- nx1 += somu1f1
- f1stw += 1
- nextbet = basebet * (multi**nx1)
- }
- f1stl = 0
- } else {
- f1stw = 0
- if (f1stl >= point1) {
- nextbet = minimum_bet
- nx2 = nx1
- f2 = true
- f1stl = 0
- f1stw = 0
- nx1 = 1
- f1 = false
- } else {
- if (f1x) {
- nextbet = minimum_bet
- } else {
- nx1 += somu2f1
- f1stl += 1
- nextbet = basebet * (multi**nx1)
- }
- }
- }
- }
- if (f2) {
- if (win) {
- if (f2st >= 1) {
- f1 = true
- f2 = false
- f1x = true
- nextbet = minimum_bet
- nx2 = 1
- f2st = 0
- } else {
- nx2 += somu1f2
- nextbet = basebet * (multi2**nx2)
- f2st += 1
- }
- } else {
- if (f2st >= 1 && f2st < point2) {
- nx2 += somu2f2
- nextbet = basebet * (multi2**nx2)
- f2st += 1
- } else {
- nextbet = minimum_bet
- f2st = 0
- }
- }
- }
- nextbet = Math.ceil(nextbet*1e8)/1e8
- 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