Advertisement
dicekode

botmanager_config_x_04

Mar 4th, 2023
543
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // CONFIG-X4
  2. // BETLOW
  3.  
  4. function bet_init(balance,minbet,use){
  5.  
  6.     data     = lastBet[use]
  7.     logic_is = "X4"
  8.     basebet  = balance * 0.000005
  9.     if(basebet < minbet){basebet = minbet}
  10.  
  11.     data.prediction = []
  12.     for(var i = 5; i < 100; i+=5){
  13.         data.prediction.push({chance: i,populer: 0})
  14.     }
  15.  
  16.     config_add = {
  17.         'chance'  : randchance(25, 30),
  18.         'risk'    : 0,
  19.         'ctrisk'  : 0,
  20.         'basebet' : basebet,
  21.         'nextbet' : basebet,
  22.         'bethigh' : false,
  23.     }
  24.  
  25.     config  = {
  26.         'balance_start': balance,
  27.         'partialprofit': 0,
  28.         'minimum_bet' : minbet,
  29.         'result' : 0,
  30.         'bets' : 0,
  31.         'profit' : 0,
  32.         'currentprofit' : 0,
  33.         'currentstreak' : 0,
  34.         'winstreak' : 0,
  35.         'losestreak' : 0,
  36.         'previousbet' : basebet,
  37.         'balance_high' : 0,
  38.         'drop_value' : 0,
  39.         'wager' : 0,
  40.         'balance' : balance,
  41.         'win' : false,
  42.         'stopwin' : false,
  43.         'stopnow' : false,
  44.         'profitc' : 0,
  45.         'ctlose' : 0,
  46.         'maxstreak' : 0,
  47.         'maxdrop' :30,
  48.         'maxlose' : 0,
  49.         'target' : balance*1.20,
  50.     }
  51.     if(lastBet.length > 1){
  52.         $('#balance'+use).html('<span style="color:DodgerBlue;">'+balance.toFixed(8)+'</span>')
  53.         $('#hid_balance'+use).val(balance)
  54.         $('#logic'+use).html(logic_is)
  55.     }
  56.  
  57.     config      = Object.assign(config, config_add)
  58.     data.config = config
  59.  
  60.     if(balance > 0){data.betroll = true}
  61.     if(data.betroll){get_place_bet(data.coin,data.config.chance,data.config.nextbet,data.config.bethigh,use)}
  62. }
  63.  
  64. function bet_dobet(use){
  65.     data = lastBet[use]
  66.     Object.keys(data.config).forEach(function(key){eval(key+" = "+data.config[key])})
  67.  
  68.  
  69.     chance  = randchance(75, 80)
  70.     bethigh = randchance(1, 3) % 2 == 0
  71.     if (risk == 2 && win) {
  72.         ctrisk += 1
  73.         if (ctrisk == 3){
  74.             stopnow = true
  75.         }
  76.     }
  77.     if (win){
  78.         nextbet = basebet
  79.     } else {
  80.         nextbet = previousbet
  81.     }
  82.     if (currentstreak <= -1) {
  83.         chance = randchance(10, 25)
  84.         nextbet = previousbet
  85.     }
  86.     if (currentstreak <= -2) {
  87.         chance = randchance(5, 10 )
  88.         nextbet = previousbet
  89.     }
  90.     if (currentstreak <= -3) {
  91.         chance = randchance(20, 35)
  92.         nextbet = previousbet
  93.     }
  94.     if (currentstreak <= -4) {
  95.         chance = randchance(5, 7)
  96.         nextbet = previousbet
  97.     }
  98.     if (currentstreak <= -5) {
  99.         chance = randchance(12, 15)
  100.         nextbet = previousbet
  101.     }
  102.     if (currentstreak <= -6) {
  103.         chance = randchance(25, 35)
  104.         nextbet = previousbet
  105.     }
  106.     if (currentstreak <= -7) {
  107.         chance = randchance(14, 19)
  108.         nextbet = previousbet
  109.     }
  110.     if (currentstreak <= -8) {
  111.         chance = randchance(20, 30)
  112.         nextbet = previousbet *1.8
  113.     }
  114.     if (currentstreak <= -9) {
  115.         chance = randchance(10, 15)
  116.         nextbet = previousbet*1.2
  117.     }
  118.     if (currentstreak <= -10) {
  119.         chance = randchance(17, 25)
  120.         nextbet = previousbet * 2.4
  121.     }
  122.     if (currentstreak <= -11) {
  123.         chance = randchance(26, 32)
  124.         nextbet = previousbet * 1.7
  125.     }
  126.     if (currentstreak <= -12) {
  127.         chance = randchance(6, 15)
  128.         nextbet = previousbet * 1.2
  129.     }
  130.     if (currentstreak <= -13) {
  131.         chance = randchance(8, 10)
  132.         nextbet = previousbet * 1.19
  133.     }
  134.     if (currentstreak <= -14) {
  135.         chance = randchance(5, 25)
  136.         nextbet = previousbet * 2.41
  137.     }
  138.     if (currentstreak <= -15) {
  139.         chance = randchance(5, 26)
  140.         nextbet = previousbet * 1.4
  141.     }
  142.     if (currentstreak <= -16) {
  143.         chance = randchance(30, 35)
  144.         nextbet = previousbet * 1.7
  145.     }
  146.     if (currentstreak <= -17) {
  147.         chance = randchance(10, 12)
  148.         nextbet = previousbet * 0.65
  149.     }
  150.     if (currentstreak <= -18) {
  151.         chance = randchance(5, 7)
  152.         nextbet = previousbet * 1.1
  153.     }
  154.     if (currentstreak <= -19) {
  155.         chance = randchance(10, 17)
  156.         nextbet = previousbet * 1.22
  157.     }
  158.     if (currentstreak <= -20) {
  159.         chance = randchance(20, 24)
  160.         nextbet = previousbet * 2.41
  161.     }
  162.     if (currentstreak <= -21) {
  163.         chance = randchance(22, 25)
  164.         nextbet = previousbet * 1.4
  165.     }
  166.     if (currentstreak <= -22) {
  167.         chance = randchance(23, 26)
  168.         nextbet = previousbet * 1.41
  169.     }
  170.     if (currentstreak <= -23) {
  171.         chance = randchance(7, 10)
  172.         nextbet = previousbet * 0.71
  173.     }
  174.     if (currentstreak <= -24) {
  175.         chance = randchance(14, 16)
  176.         nextbet = previousbet * 2.3
  177.     }
  178.     if (currentstreak <= -25) {
  179.         chance = randchance(17, 19)
  180.         nextbet = previousbet * 1.4
  181.     }
  182.     if (currentstreak <= -26) {
  183.         chance = randchance(5, 7)
  184.         nextbet = previousbet * 0.7
  185.         risk = 2
  186.     }
  187.     if (currentstreak <= -27) {
  188.         chance = randchance(6, 9)
  189.         nextbet = previousbet * 1.2
  190.         risk = 2
  191.     }
  192.     if (currentstreak <= -28) {
  193.         chance = randchance(7, 10 )
  194.         nextbet = previousbet * 1.2
  195.         risk = 2
  196.     }
  197.     if (currentstreak <= -29) {
  198.         chance = randchance(20, 28)
  199.         nextbet = previousbet * 2.4
  200.         risk = 2
  201.     }
  202.     if (currentstreak <= -30) {
  203.         chance = randchance(8, 11)
  204.         nextbet = previousbet * 0.7
  205.         risk = 2
  206.     }
  207.     if (currentstreak <= -31) {
  208.         chance = randchance(9, 12)
  209.         nextbet = previousbet * 1.2
  210.         risk = 2
  211.     }
  212.     if (currentstreak <= -32) {
  213.         chance = randchance(19, 22)
  214.         nextbet = previousbet * 2.448
  215.         risk = 2
  216.     }
  217.     if (currentstreak <= -33) {
  218.         chance = randchance(25,30)
  219.         nextbet = previousbet * 1.4
  220.         risk = 2
  221.     }
  222.  
  223.     if (nextbet < basebet){nextbet = basebet}
  224.     if (nextbet < minimum_bet) { nextbet = minimum_bet }
  225.  
  226.     if (ctlose > maxstreak && maxstreak > 0 ){stopwin = true}
  227.     if (balance > target && target > 0) { stopnow = true }
  228.     if (balance < maxlose && maxlose > 0) {
  229.         nextbet = minimum_bet
  230.         stopnow = true
  231.     }
  232.  
  233.     previousbet = nextbet
  234.     Object.keys(data.config).forEach(function(key){data.config[key] = eval(key)})
  235.  
  236.     if(data.betroll){get_place_bet(data.coin,data.config.chance,data.config.nextbet,data.config.bethigh,use)}
  237. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement