Advertisement
dicekode

botmanager_config_09

Mar 1st, 2023
622
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // CONFIG-09
  2. // LINIER ARRAY
  3.  
  4. function bet_init(balance,minbet,use){
  5.  
  6.     data     = lastBet[use]
  7.     logic_is = "09"
  8.     basebet  = balance * 1e-8
  9.     if(basebet < minbet){basebet = minbet}
  10.  
  11.     config_add = {
  12.         'basebet'   : basebet,
  13.         'chance'    : 21.22,
  14.         'nextbet'   : basebet,
  15.         'bethigh'   : false,
  16.     }
  17.  
  18.     config  = {
  19.         'balance_start': balance,
  20.         'partialprofit': 0,
  21.         'minimum_bet' : minbet,
  22.         'bets' : 0,
  23.         'profit' : 0,
  24.         'currentprofit' : 0,
  25.         'currentstreak' : 0,
  26.         'winstreak' : 0,
  27.         'losestreak' : 0,
  28.         'previousbet' : basebet,
  29.         'balance_high' : 0,
  30.         'drop_value' : 0,
  31.         'wager' : 0,
  32.         'win' : false,
  33.         'balance' : balance,
  34.         'stopwin' : false,
  35.         'stopnow' : false,
  36.         'profitc' : 0,
  37.         'ctlose' : 0,
  38.         'maxstreak' : 0,
  39.         'maxdrop' : 0,
  40.         'maxlose' : 0,
  41.         'target' : balance*1.50,
  42.     }
  43.  
  44.     if(lastBet.length > 1){
  45.         $('#balance'+use).html('<span style="color:DodgerBlue;">'+balance.toFixed(8)+'</span>')
  46.         $('#hid_balance'+use).val(balance)
  47.         $('#logic'+use).html(logic_is)
  48.     }
  49.  
  50.     config      = Object.assign(config, config_add)
  51.     data.config = config
  52.  
  53.     if(balance > 0){data.betroll = true}
  54.     if(data.betroll){get_place_bet(data.coin,data.config.chance,data.config.nextbet,data.config.bethigh,use)}
  55. }
  56.  
  57. function bet_dobet(use){
  58.     data = lastBet[use]
  59.     Object.keys(data.config).forEach(function(key){eval(key+" = "+data.config[key])})
  60.  
  61.     if(win){
  62.         ctlose  = 0
  63.         nextbet = basebet
  64.         chance  = 20
  65.     } else {
  66.         ctlose += 1
  67.         nextbet = nextbet + (nextbet * (55/100))
  68.         chance  = chance + (chance * (1.5/100))
  69.         if(ctlose%8 == 0){
  70.             nextbet = nextbet - (nextbet * (14/100))
  71.             chance  = chance - (chance * (11/100))
  72.         }
  73.     }
  74.  
  75.     if (nextbet < basebet){nextbet = basebet}
  76.     if (nextbet < minimum_bet) { nextbet = minimum_bet }
  77.  
  78.     if (ctlose > maxstreak && maxstreak > 0 ){stopwin = true}
  79.     if (balance > target && target > 0) { stopnow = true }
  80.     if (balance < maxlose && maxlose > 0) {
  81.         nextbet = minimum_bet
  82.         stopnow = true
  83.     }
  84.  
  85.     previousbet = nextbet
  86.     Object.keys(data.config).forEach(function(key){data.config[key] = eval(key)})
  87.  
  88.     if(data.betroll){get_place_bet(data.coin,data.config.chance,data.config.nextbet,data.config.bethigh,use)}
  89. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement