paradocks

Untitled

Jan 14th, 2015
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  var flameBot, betspeed, aftermanualtrigger, swaplosscount, swapcount, loop, loopenabled, betData, condition, profit, target, losscount, totalloss, totalwin, currentbet, basebet, mainmult, initmult, result, afterwin, UI = '',
  2.      UI2 = '';
  3.  profit = 0;
  4.  var streakcounter = [];
  5. var balance;
  6.  var winstreak = 0;
  7.  betspeed = 500;
  8.  loopcount = 0;
  9.  betstarted = false;
  10.  loopenabled = false;
  11.  aftermanualtrigger = false;
  12.  afterwin = false;
  13.  var consecutive = 0,
  14.      singlewin = 0;
  15.  swaplosscount = 0;
  16.  var conseclossenabled = false;
  17.  var swapnextwin = false;
  18.  swapcount = 0;
  19.  var firstInit = true;
  20.  if (firstInit == true) {
  21.   balance = Math.floor($('div.hero span.btn__text.select div').text()*1e8);
  22.  }
  23.  flameBot = {
  24.      initialize: {
  25.          init1: function () {
  26.              var lib = '<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/dark-hive/jquery-ui.css" /><script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>';
  27.              $(lib).appendTo('head');
  28.              setTimeout(function () {
  29.                  flameBot.initialize.init2();
  30.              }, 1000);
  31.          },
  32.          init2: function () {
  33.              losscount = 0;
  34.              totalloss = 0;
  35.              totalwin = 0;
  36.              $('.hero__main').empty().css('width', '550px') & $('.hero__main').css("padding", "0") & $(UI).appendTo('.hero__main') &
  37.                  $('#flameBot').tabs() & $('button').button().css('font-size', '13px').css('padding', '5px');
  38.              $('#stats th').css("width", "20%").css("font-size", "14px");
  39.              $('#hilo, #resetorzero').buttonset();
  40.              $('#flameBot li').css('font-size', '15px');
  41.              $('#flameBot #resetorzero').css('font-size', '13px');
  42.              $('#flameBot div[role=tabpanel] td').css('padding', 1);
  43.              $('.hero__main').css('margin-top', '-75px');
  44.              $('#stats2 th').css('width', '6.25%');
  45.              var css = '',
  46.                  backgroundurl = 'http://cdn.wonderfulengineering.com/wp-content/uploads/2014/01/HD-backgrounds-3.jpg';
  47.              css += '<style id="paraDark">';
  48.              css += 'header, .tabs, .slideout__content__inside, .chat__you *, .btn, .hero__main, .rollrow-dark, .rollbox--prominent, .chat__input-holder{background-color:#121212 !important;color:#ccc !important;}';
  49.              css += 'time{color:#ccc !important;}';
  50.              css += 'div.tabs > div > div.live-data-header > div{background-color:#111111;border-top:1px solid #777; border-bottom:1px solid #777;}';
  51.              css += '.btn,.btn--secondary.btn--active,.btn--secondary.btn--selector, .btn--submit:last-child{border:1px solid #777 !important;background-color:#242130 !important;color:#ccc!important;}';
  52.              css += '.btn:hover,.btn--secondary.btn--active:hover,.btn--secondary.btn--selector:hover{border:1px solid #777 !important;background-color:#322E47 !important;color:#ccc!important;}';
  53.              css += '.hero{margin-bottom:0px;background:url("' + backgroundurl + '") no-repeat 50% 50%;}';
  54.              css += '.slideout *{color:#ccc;}';
  55.              css += '.tabs{padding-top:20px;border-top:1px solid #777 !important;}';
  56.              css += 'header{border: 1px solid #777 !important;border-left:none !important;border-right:none !important;}';
  57.              css += '.rollrow-thin, .rollrow-dark .chat__input-holder {background-color:#212121;}';
  58.              css += '.input{background-color:#323232 !important;color:#ccc;}';
  59.              css += '.action-open-slideout{background-color:#121212 !important;}';
  60.              css += 'span.admin{color:red !important}';
  61.  
  62.              css += '</style>';
  63.              $(css).appendTo('head');
  64.              $('#stats2, #stats3').css('margin-left', '10px');
  65.              $('#stats3 th').css('width', '25%').css('text-align', 'center');
  66.              $('#stats3').css('width', '50%').css('text-align', 'center');
  67.              $('<center><button onclick="flameBot.API.bet();" class="btn btn--primary btn--huge btn--limited btn--block text--center" id="spinner2">Roll</button></center>').appendTo('.hero__main');
  68.              $('#resetorzero').css('font-size', '11px');
  69.              $('#lastbet th').css('text-align', 'center');
  70.              $('#lastbet th').css('padding', '3px');
  71.              $('#lastbet tr').css('border-top', '1px solid #fff');
  72.              $('#lastbet3 > tbody > tr').css('background', '#181818', 'important');
  73.              $('#lastbet2 > tbody').css('background', '#181818');
  74.              $('.hero__main').css('border', '1px solid #777');
  75.  
  76.  
  77.              for (i = 0; i < $('#stats2 th').length; i++) {
  78.                  streakcounter.push(0);
  79.              }
  80.              for (i = 0; i < $('#stats2 th').length; i++) {
  81.                  var lol = $('#stats2 th')[i];
  82.                  lol.textContent = (i + 1).toString() + "(" + streakcounter[i] + ")";
  83.              }
  84.              $('#resetstats').click(function () {
  85.                  streakcounter = [];
  86.                  for (i = 0; i < $('#stats2 th').length; i++) {
  87.                      streakcounter.push(0);
  88.                  }
  89.                  for (i = 0; i < $('#stats2 th').length; i++) {
  90.                      var lol = $('#stats2 th')[i];
  91.                      lol.textContent = (i + 1).toString() + "(" + streakcounter[i] + ")";
  92.                  }
  93.                  totalwin = 0;
  94.                  totalloss = 0;
  95.                  profit = 0;
  96.                  consecutive = 0,
  97.                      singlewin = 0;
  98.                  winstreak = 0;
  99.                  losscount = 0;
  100.                  flameBot.API.addRow();
  101.  
  102.              });
  103.              $('#start').click(function () {
  104.  
  105.                  looptimes = 999999999;
  106.                  if (loopenabled === false) {
  107.                      loopenabled = true;
  108.  
  109.                      loop = setInterval(function () {
  110.  
  111.                          if (loopcount >= looptimes) {
  112.                              clearInterval(loop);
  113.                              loopcount = 0;
  114.                              loopenabled = false;
  115.                          } else {
  116.                              if (betstarted === true) {} else {
  117.                                  flameBot.API.bet();
  118.                              }
  119.                          }
  120.                      }, betspeed);
  121.  
  122.                  }
  123.  
  124.              });
  125.              $('#stop').click(function () {
  126.                  clearInterval(loop);
  127.                  loopenabled = false;
  128.                  loopcount = 0;
  129.              });
  130.              $('#setparams').click(function () {
  131.                  flameBot.API.setParams();
  132.              })
  133.          }
  134.      },
  135.      tools: {
  136.          dec2Sat: function (decimal) {
  137.              return (Math.floor(decimal * 1e8));
  138.          },
  139.          token: function () {
  140.              return localStorage.token;
  141.          },
  142.          satToDec: function (satoshi) {
  143.              return ((satoshi / 1e8).toFixed(8));
  144.          },
  145.  
  146.      },
  147.      API: {
  148.          onLoss: function () {
  149.              totalloss++;
  150.              losscount++;
  151.              if (afterwin === true) {
  152.                  afterwin = false;
  153.                  flameBot.API.setParams();
  154.              }
  155.              if (winstreak >= 2) {
  156.                  consecutive++;
  157.                  $('#consecutive').text(consecutive);
  158.                  winstreak = 0;
  159.  
  160.              }
  161.              if (winstreak == 1) {
  162.                  singlewin++;
  163.                  $('#single').text(singlewin);
  164.                  winstreak = 0;
  165.              }
  166.              if ($('#swaplossesenabled').is(':checked') === true) {
  167.                  swaplosscount++;
  168.                  if (swaplosscount >= $('#swaplosses').val()) {
  169.                      swapnextwin = true;
  170.                      swaplosscount = 0;
  171.                  }
  172.              }
  173.              if ($('#afterlossesenabled').is(':checked') === true) {
  174.                  if (losscount >= $('#afterlosses').val()) {
  175.                      if ($('#aftermanualenabled').is(':checked') === true) {
  176.  
  177.                          if (aftermanualtrigger === true) {} else {
  178.                              var r = prompt("Enter '1' to reset to base. Enter '2' to bet 0 until win. Enter '3' to stop.");
  179.                              if (r == 1) {
  180.                                  aftermanualtrigger = false;
  181.                                  currentbet = basebet;
  182.                                  losscount = 0;
  183.                              } else if (r == 2) {
  184.                                  aftermanualtrigger = true;
  185.                                  currentbet = 0;
  186.                              } else {
  187.                                  clearInterval(loop);
  188.                                  aftermanualtrigger = false;
  189.                                  loopenabled = false;
  190.                              }
  191.                          }
  192.  
  193.                      } else {
  194.                          if ($('input:radio[name=resetorzero]:checked').val() == 'orzero') {
  195.                              currentbet = 0;
  196.                          } else if ($('input:radio[name=resetorzero]:checked').val() == 'orstop') {
  197.                              clearInterval(loop);
  198.                              loopenabled = false;
  199.                          } else if ($('input:radio[name=resetorzero]:checked').val() == 'resetor') {
  200.                              losscount = 0;
  201.                              currentbet = basebet;
  202.                          }
  203.                      }
  204.  
  205.                  } else {
  206.                      if (losscount == $('#startlosses').val()) {
  207.                          currentbet = currentbet * $('#initialmultiplier').val();
  208.                      } else if (losscount > $('#startlosses').val()) {
  209.                          currentbet = currentbet * $('#mainmultiplier').val();
  210.                      }
  211.                  }
  212.              } else {
  213.                  if (losscount == $('#startlosses').val()) {
  214.                      currentbet = currentbet * $('#initialmultiplier').val();
  215.                  } else if (losscount > $('#startlosses').val()) {
  216.                      currentbet = currentbet * $('#mainmultiplier').val();
  217.                  }
  218.              }
  219.              flameBot.API.addRow();
  220.          },
  221.          onWin: function () {
  222.           if ($('#betdivisorenabled').is(':checked') === true) {
  223.                basebet = Math.floor(balance/$('#betdivisor').val());
  224.              }
  225.              winstreak++;
  226.              conseclossenabled = false;
  227.              if (swapnextwin === true) {
  228.                  flameBot.API.swap();
  229.                  swapnextwin = false;
  230.              }
  231.              if ($('#afterwinenabled').is(':checked') == true) {
  232.                  if (afterwin === false) {
  233.                      afterwin = true;
  234.                  }
  235.              }
  236.              if (aftermanualtrigger === true) {
  237.                  aftermanualtrigger = false
  238.              }
  239.              totalwin++;
  240.              swaplosscount = 0;
  241.              var streak = losscount;
  242.              if (losscount >= 20) {
  243.                  losscount = 20;
  244.              }
  245.              streakcounter[losscount - 1] ++;
  246.              losscount = 0;
  247.              currentbet = basebet;
  248.              flameBot.API.addRow();
  249.          },
  250.          setParams: function () {
  251.              losscount = 0;
  252.              aftermanualtrigger = false;
  253.              swaplosscount = 0;
  254.              swapcount = 0;
  255.              initmult = $('#initialmultiplier').val();
  256.              mainmult = $('#mainmultiplier').val();
  257.              if ($('#betdivisorenabled').is(':checked') === true) {
  258.                 basebet = Math.floor(balance/$('#betdivisor').val());
  259.                 currentbet = basebet;
  260.              } else {
  261.              basebet = flameBot.tools.dec2Sat($('#basebet').val());
  262.              currentbet = basebet;
  263.            }
  264.              if ($('input:radio[name=hilo]:checked').val() == 'hi') {
  265.                  condition = '>';
  266.                  target = (99.99 - (99 / $('#chance').val())).toFixed(2);
  267.              } else if ($('input:radio[name=hilo]:checked').val() == 'lo') {
  268.                  condition = '<';
  269.                  target = (99 / $('#chance').val()).toFixed(2);
  270.              } else if ($('input:radio[name=hilo]:checked').val() == 'swap') {
  271.                  condition = '<';
  272.                  target = 0 + (99 / $('#chance').val()).toFixed(2);
  273.              }
  274.          },
  275.          addRow: function () {
  276.  
  277.              var bettable = '',
  278.                  bettab = '#lastbet2';
  279.              bettable += '<tr><td>' + flameBot.tools.satToDec(result.bet.amount) + '</td>';
  280.              bettable += '<td>' + result.bet.multiplier + 'x' + '</td>'; /* return bet payout */
  281.              bettable += '<td>' + (result.bet.target).toFixed(2) + '</td>'; /* return target*/
  282.              bettable += '<td>' + result.bet.roll + '</td>'; /* return roll */
  283.              bettable += '<td id="proff">' + flameBot.tools.satToDec(result.bet.profit) + '</td></tr>';
  284.  
  285.              var stattable = '',
  286.                  stattab = '#lastbet3';
  287.              stattable += '<tr><td style="color:green;">' + flameBot.tools.satToDec(result.user.balance) + '</td><td style="color:red;">' + losscount + '</td><td style="color:green;">' + totalwin + '</td><td style="color:red;">' + totalloss + '</td><td id="profit">' + (profit).toFixed(8) + '</td></tr>';
  288.              $(stattab).empty();
  289.              $(stattab).prepend(stattable);
  290.              stattable = '';
  291.              if ($(bettab + ' tbody tr').length >= 30) {
  292.                  $(bettab + ' tr').last().remove();
  293.                  $(bettab).prepend(bettable);
  294.                  bettable = '';
  295.              } else if ($(bettab).length < 30) {
  296.                  $(bettab).prepend(bettable);
  297.                  bettable = '';
  298.              }
  299.              for (i = 0; i < $('#stats2 th').length; i++) {
  300.                  var lol = $('#stats2 th')[i];
  301.                  lol.textContent = (i + 1).toString() + "(" + streakcounter[i] + ")";
  302.              }
  303.              $('#stats2 th:nth-child(19)').text('>' + $('#stats2 th:nth-child(19)').text());
  304.              $('#lastbet2 *, #lastbet3 *, #lastbet *, #proff').css('text-align', 'center');
  305.              $('#lastbet2 *, #lastbet3 *, #lastbet *').css('width', '20%');
  306.              $('#lastbet *').css('padding', '5px');
  307.              $('#lastbet *').css('border-bottom', '1px solid #ccc');
  308.              $('#result-1').css('padding', '5px');
  309.              $('#lastbet2 *, #lastbet3 *, #proff').css('padding', '5px');
  310.              $('#lastbet > tbody > tr > th:nth-child(2)').css('border-top', '1px solid #ddd');
  311.              if (profit >= 0) {
  312.                  $('#profit').css('color', 'green');
  313.              } else {
  314.                  $('#profit').css('color', 'red');
  315.              }
  316.              if (result.bet.win === true) {
  317.                  $('#proff:first').css('color', 'green');
  318.              } else {
  319.                  $('#proff:first').css('color', 'red');
  320.              }
  321.              betstarted = false;
  322.          },
  323.  
  324.          bet: function () {
  325.              betstarted = true;
  326.              if ($('#maxbetenabled').is(':checked') === true) {
  327.                  if ((currentbet / 1e8) >= $('#maxbet').val()) {
  328.                      $('#setparams').click();
  329.                  }
  330.              }
  331.              if ($('#afterwinenabled').is(':checked') === true) {
  332.                  if (afterwin === true) {
  333.                      currentbet = ($('#afterwinamount').val() * 1e8).toFixed(8);
  334.                  }
  335.              }
  336.              if ($('#clossenabled').is(':checked') === true) {
  337.                  if (losscount >= $('#clossafter').val()) {
  338.                      if (conseclossenabled === false) {
  339.                          conseclossenabled = true;
  340.                          currentbet = Math.floor($('#clossbet').val() * 1e8);
  341.                      }
  342.                  }
  343.              }
  344.              var betData = {
  345.                  amount: currentbet,
  346.                  condition: condition,
  347.                  target: target,
  348.              };
  349.              $.ajax({
  350.                  url: 'https://api.primedice.com/api/bet?access_token=' + flameBot.tools.token(),
  351.                  type: 'POST',
  352.                  data: betData,
  353.                  datatype: 'jsonp',
  354.                  success: function (data) {
  355.                      result = data;
  356.                      balance = result.user.balance;
  357.                      profit = parseFloat(profit) + parseFloat(flameBot.tools.satToDec(data.bet.profit));
  358.                      if ($('input:radio[name=hilo]:checked').val() == 'swap') {
  359.                          swapcount++;
  360.                          if (swapcount >= $('#swapevery').val()) {
  361.                              flameBot.API.swap();
  362.                              swapcount = 0;
  363.                          }
  364.                      }
  365.                      if (data.bet.win === true) {
  366.                          $('span.btn__text.select div').text(flameBot.tools.satToDec(result.user.balance)).css('color', 'green');
  367.                          flameBot.API.onWin();
  368.                      } else {
  369.                          $('span.btn__text.select div').text(flameBot.tools.satToDec(result.user.balance)).css('color', 'red');
  370.                          flameBot.API.onLoss();
  371.                      }
  372.                  },
  373.                  error: function (errorThrown) {
  374.                      betstarted = false;
  375.                  }
  376.              });
  377.          },
  378.          seedChange: function () {
  379.              function seedgen() {
  380.                  var seed = '';
  381.                  var seedlength = 10;
  382.                  var charset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()';
  383.                  for (var i = 0; i <= seedlength; i++)
  384.  
  385.                      seed += charset.charAt(Math.floor(Math.random() * charset.length));
  386.  
  387.                  return seed;
  388.              }
  389.              var s = seedgen(),
  390.                  url = 'https://api.primedice.com/api/seed?access_token=' + localStorage.token,
  391.                  sData = {
  392.                      seed: s
  393.                  };
  394.  
  395.              $.ajax({
  396.                  url: url,
  397.                  type: 'POST',
  398.                  data: sData,
  399.                  datatype: 'json',
  400.                  success: function (data, textStatus, jqXHR) {
  401.                      data2 = data;
  402.                      $('#currentseed').val(data2.seeds.client);
  403.  
  404.  
  405.                  },
  406.                  error: function (jqXHR, textStatus, errorThrown) {
  407.                      return false;
  408.                  }
  409.              });
  410.          },
  411.          swap: function () {
  412.              if (condition == '<') {
  413.                  condition = '>';
  414.                  target = (99.99 - (99 / $('#chance').val())).toFixed(2);
  415.              } else if (condition == '>') {
  416.                  condition = '<';
  417.                  target = (99 / $('#chance').val()).toFixed(2);
  418.              }
  419.          },
  420.      }
  421.  }
  422.  
  423.  var UI = '';
  424.  UI += '<table style="margin:0; text-align:center; border-bottom: 1px solid #fff;border-top: 1px solid #fff;"id="stats">';
  425.  UI += '<thead><tr><th style="text-align:center;padding:3px;">Balance</th><th style="text-align:center;padding:3px;">Loss Streak</th><th style="text-align:center;padding:3px;">Total Wins</th><th style="text-align:center;padding:3px;">Total Losses</th><th style="text-align:center;">Total Profit</th></tr></thead><tbody></tbody><table id="lastbet3"></table></table>';
  426.  
  427.  UI += '<table id="lastbet">';
  428.  UI += '<tr><th>Bet</th><th>Payout</th><th>Game</th><th>Roll</th><th>Profit</th></tr></table>';
  429.  UI += '<div style="max-height:390px !important;font-size:11px;overflow-y: scroll;overflow-x: hidden;"><table id="lastbet2"></table></div>';
  430.  UI += '<div id="flameBot" style="width:550px"><ul><li>';
  431.  UI += '<a href="/play#basic">Basic Settings</a></li>';
  432.  UI += '<li><a href="/play#onloss">On Loss</a></li>';
  433.  UI += '<li><a href="/play#onlosstreak">Loss - Adv.</a></li>';
  434.  UI += '<li><a href="/play#onwin">On Win</a></li>';
  435.  //UI += '<li style="margin:8px;font-size:9px;margin-left:15px;text-align:center;"><span>FlameBot - v1.0</span></li>';
  436.  UI += '</ul>';
  437.  UI += '<div id="basic" style="font-size:17.5px;">';
  438.  UI += '<table style="display:table;"><thead><tr><th>Basebet: </th><th>Chance:</th></tr></thead><tbody><tr><td><input id="basebet" placeholder="ex. 0.00001000" type="text"></td><td><input id="chance" placeholder="ex. 10 for 10x, 2 for 2x, etc." type="text"></td></tr></tbody><thead><tr><th>High/Low/Swap:</th><th>Swap Every:</th></tr></thead><tbody><tr><td><div id="hilo"><input type="radio" id="hi" value="hi" name="hilo"><label for="hi">High</label> <input type="radio" id="lo" value="lo" name="hilo" checked="checked"><label for="lo">Low</label> <input type="radio" id="swap" value="swap" name="hilo"><label for="swap">Swap</label> </div></td><td><input id="swapevery" placeholder="# of rolls" type="text"></td></tr></tbody></table></div>';
  439.  UI += '<div id="onloss" style="font-size:17.5px;">';
  440.  UI += '<table style="display:table;"><thead><tr><th>Start Multipling: </th><th>Main Multiplier:</th></tr></thead><tbody><tr><td><input id="startlosses" style="text-align:center;" placeholder="after # of losses"type="text"></td><td><input id="mainmultiplier" style="text-align:center;" placeholder="2, 4, etc."type="text"></td></tr></tbody><thead><tr><th>Initial Multiplier</th><th>Max Bet: <input type="checkbox" id="maxbetenabled"></th></tr></thead><tbody><tr><td><input id="initialmultiplier" style="text-align:center;" placeholder="2, 4, etc."type="text"></td><td><input id="maxbet" style="text-align:center;" placeholder="ex. 0.001" type="text"></td></tr><tr><th>After: <input type="checkbox" id="clossenabled"></th><th>Change Bet To:</th></tr></thead></tr><tbody><tr><td><input id="clossafter" style="text-align:center;" placeholder="# of consecutive loss"type="text"></td><td><input id="clossbet" style="text-align:center;" placeholder="ex. 0.00100000"type="text"></td></tr></tbody></tbody><thead><tr><th>Divisible Basebet:</th><th>Basebet Divisor:</th></tr></thead><tbody><tr><td><input id="betdivisorenabled" style="text-align:center;" type="checkbox"></td><td><input id="betdivisor" style="text-align:center;" placeholder="ex. 0.00100000"type="text"></td></tr></tbody></tbody></table>';
  441.  UI += '</div>';
  442.  UI += '<div id="onlosstreak" style="font-size:17.5px;">';
  443.  UI += '<table style="display:table;"><thead><tr><th>After: <input type="checkbox" id="afterlossesenabled"></th><th>Either: </th></tr></thead><tbody><tr><td><input id="afterlosses" style="text-align:center;" placeholder="# of losses"type="text"></td><td><div id="resetorzero"><input type="radio" id="resetor" value="resetor" name="resetorzero"><label for="resetor">Reset to Base</label><input type="radio" id="orzero" value="orzero" name="resetorzero" checked="checked"><label for="orzero">Roll 0 to Win</label><input type="radio" id="orstop" value="orstop" name="resetorzero" checked="checked"><label for="orstop">Stop</label></div></td></tr></tbody><thead><tr><th>Manualy Choose?</th><th>Swap After: <input id="swaplossesenabled" type="checkbox"></th></tr></thead><tbody><tr><td><input id="aftermanualenabled" type="checkbox"></td><td><input id="swaplosses" style="text-align:center;" placeholder="# of losses" type="text"></td></tr></tbody></table>';
  444.  UI += '</div>';
  445.  UI += '<div style="font-size:17.5px;" id="onwin">';
  446.  UI += '<table style="display:table;"><thead><tr><th>After Win:</th><th>Bet X Until Loss </th></tr></thead><tbody><tr><td><input type="checkbox" id="afterwinenabled"></td><td><input type="text" placeholder="ex. 0.00002000" id="afterwinamount"></td></tr></tbody></table>';
  447.  UI += '</div>';
  448.  UI += '<div id="controlstat">';
  449.  UI += '<center><div id="toolbar" class="ui-widget-header ui-corner-all"><div id="buttonz"><span id="startstop"><button id="start">Start</button><button id="stop">Stop</button></span><span id="set"><button id="setparams">Set Params</button><button id="resetstats">Reset Stats</button><br><button id="save">Save Settings</button><button id="load">Load Settings</button></div></center><br>';
  450.  UI += '<table style="margin:3px;"id="stats2">';
  451.  UI += '<span style="font-weight:bold;">Loss Streaks:</span>';
  452.  UI += '<thead><tr><th>1</th><th>2</th><th>3</th><th>4</th><th>5</th><th>6</th><th>7</th><th>8</th><th>9</th><th>10</th></tr>';
  453.  UI += '<tr><th>11</th><th>12</th><th>13</th><th>14</th><th>15</th><th>16</th><th>17</th><th>18</th><th>19</th><th>20</th></tr></thead></table>';
  454.  UI += '<table style="margin:3px;"id="stats3">';
  455.  UI += '<span style="font-weight:bold;">Wins:</span>';
  456.  UI += '<thead><tr><th>Single:</th><th>Consecutive:</th></tr>';
  457.  UI += '<tr><th id="single">0</th><th id="consecutive">0</th></tr></thead></table>';
  458.  UI += '</div>';
  459.  UI += '</div>';
  460.  flameBot.initialize.init1();
Advertisement
Add Comment
Please, Sign In to add comment