Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 31st, 2012  |  syntax: None  |  size: 18.95 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. import org.rsbot.script.ScriptManifest;
  2. import org.rsbot.script.Script;
  3. import org.rsbot.script.ScriptManifest;
  4. import org.rsbot.script.Script;
  5. import org.rsbot.script.methods.Skills;
  6. import org.rsbot.script.wrappers.*;
  7. import org.rsbot.event.listeners.PaintListener;
  8. import java.awt.*;
  9. import javax.imageio.ImageIO;
  10. import java.io.IOException;
  11. import java.net.URL;
  12. import org.rsbot.event.events.MessageEvent;
  13. import org.rsbot.event.listeners.MessageListener;
  14. import java.awt.*;
  15. import java.awt.event.*;
  16.  
  17. import javax.swing.*;
  18. import javax.swing.event.*;
  19.  
  20. import org.rsbot.event.listeners.PaintListener;
  21. import org.rsbot.script.*;
  22. import org.rsbot.script.methods.Game;
  23. import org.rsbot.script.util.Timer;
  24.  
  25. @ScriptManifest(authors = { "DGAccounts" }, keywords = { "Willow_cutter" }, name = "PowerWillow", version = 1.0, description = "Universal willow power cutter")
  26. public class PowerWillow extends Script {
  27.        
  28. private int willowLogID = 1519;
  29. private int willowTree[] = {5551, 5552, 5553, 1308,  8481, 8482, 8483, 8484, 8485, 8486, 8487, 8488, 38627, 38616, 38627, 2210, 142, 2372, 139};
  30. private int hatchets[] = {1349, 1351, 1353, 1355, 1357, 1359, 1361, 6739, 13470};      
  31.  
  32.     public boolean onStart(){
  33.         AB.setVisible(true);
  34.                 while(AB.isVisible()){
  35.                         sleep(200);
  36.                 }
  37.                 return true;
  38.     }
  39.    
  40.     public void chop() {
  41.     if (getMyPlayer().getAnimation() == -1) {
  42.         RSObject tree = objects.getNearest(willowTree);
  43.         if (tree != null) {
  44.                 tree.doAction("Chop Down Willow");
  45.                 sleep(random(2000, 3000));
  46.         }
  47.  
  48.     public int loop(){
  49.         AB.antiBanMethod();
  50.                 if (AB.AFKTimer.isRunning()){return 200;}
  51.     mouse.setSpeed(random(2, 10));
  52.    
  53.     if (walking.getEnergy()> (random(40, 100))){
  54.         walking.setRun(true);
  55.         sleep(random(700, 800));
  56.     }
  57.    
  58.     if(inventory.isFull ()){
  59.         inventory.dropAllExcept(hatchets);
  60.        
  61.     }else{
  62.        
  63.     chop();
  64.     }
  65.                 return random(100, 200);
  66.     }
  67.    
  68.     public void onFinish(){
  69.     log("Thank you for using a script made by DGAccounts!");   
  70.                
  71.     }
  72.     public  AntiBan AB = new AntiBan();
  73.         class AntiBan extends JFrame {
  74.  
  75.         /*
  76.         @Author                 Joe Titus
  77.         @Date           5/8/2011
  78.         */
  79.                 public Timer antiBanTimer = new Timer(0);
  80.                 public  boolean customAB, AFK, Mouse, Camera, Tabs, LogOut, ABOn;
  81.                 public  int ABFreq;
  82.                
  83.                 public double ABFreqTime;
  84.                 Timer AFKTimer = new Timer (0);
  85.                 public void antiBanMethod(){
  86.                         if (ABOn){
  87.                                 if (!antiBanTimer.isRunning() && !AFKTimer.isRunning()){
  88.                                         antiBan();
  89.                                         antiBanTimer.setEndIn((int)random(ABFreqTime * .33, ABFreqTime * 1.66));
  90.                                 }
  91.                         }
  92.                 }
  93.  
  94.  
  95.  
  96.  
  97.                 public void antiBan(){
  98.                         int t = 0;
  99.                         if (Camera){t++;};
  100.                         if (Tabs){t++;};
  101.                         if (AFK){t++;};
  102.                         if (Mouse){t++;};
  103.                         t += 0;
  104.                         switch(random(1, t)){
  105.                         case 1:
  106.                                 if (Camera){
  107.                                         camera.turnTo(getMyPlayer().getLocation().randomize(5, 5), 5);
  108.                                         sleep(random(500, 750));
  109.                                         return;
  110.                                 }
  111.                         case 2:
  112.                                 if (Tabs){
  113.                                         switch(random(1, 4)){
  114.                                                 case 1:
  115.                                                 game.openTab(Game.TAB_FRIENDS);
  116.                                                 mouse.move((585+random(-35, 35)),  (330+random(-90, 90)));
  117.                                                 sleep(750, 3000);
  118.                                                 game.openTab(Game.TAB_INVENTORY);
  119.                                                 sleep(random(500, 750));
  120.                                                 return;
  121.                                                
  122.                                                 case 2:
  123.                                                 game.openTab(Game.TAB_CLAN);
  124.                                                 mouse.move((585+random(-35, 35)),  (330+random(-90, 90)));
  125.                                                 sleep(750, 1500);
  126.                                                 game.openTab(Game.TAB_INVENTORY);
  127.                                                 sleep(random(500, 750));
  128.                                                 return;
  129.  
  130.                                                 default:
  131.                                                 game.openTab(game.TAB_STATS);
  132.                                                 mouse.moveRandomly(random(1, 300));
  133.                                                 sleep(750, 1500);      
  134.                                                 game.openTab(Game.TAB_INVENTORY);
  135.                                                 sleep(random(500, 750));       
  136.                                                 return;
  137.                                         }
  138.                                 }
  139.                         case 3:                
  140.                                 if (AFK){
  141.                                         int r = random(1, 100);
  142.                                         if (r < 75){
  143.                                                 AFKTimer.setEndIn(random(3000, 5000));
  144.                                         } else if (r >= 70 && r < 90){
  145.                                                 AFKTimer.setEndIn(random(5000, 15000));
  146.                                         } else {
  147.                                                 AFKTimer.setEndIn(random(10000, 30000));
  148.                                         }
  149.                                         return;
  150.                                 }
  151.                         case 4:
  152.                                 if (Mouse){
  153.                                         int s = random(1, 4);
  154.                                         switch(s){
  155.                                         case 1:
  156.                                                 mouse.moveOffScreen();
  157.                                                 sleep(750, 1500);
  158.                                                 return;
  159.                                         case 2:
  160.                                                 mouse.moveSlightly();
  161.                                                 sleep(500, 1000);
  162.                                                 return;
  163.                                         case 3:
  164.                                                 mouse.moveRandomly(random(1, 300));
  165.                                                 sleep(750, 1500);
  166.                                                 return;
  167.                                         default:
  168.                                                 return;
  169.                                         }
  170.  
  171.                                 }
  172.                         default:
  173.                                 return;
  174.                         }
  175.                 }
  176.                 public void setEnabled(boolean a, boolean b, boolean c, boolean d,
  177.                                 boolean e, boolean f, boolean g, boolean h,
  178.                                 boolean i, boolean j, boolean k, boolean l){
  179.  
  180.                         ABFreqSlider.setEnabled(a);
  181.                         ABOnOff.setEnabled(b);
  182.                         customAntiBanButton.setEnabled(c);
  183.                         ABLevelOptions.setEnabled(d);
  184.                         separator1.setEnabled(e);
  185.                         ABFreqLabel.setEnabled(f);
  186.                         AFKCheck.setEnabled(g);
  187.                         mouseMoveCheck.setEnabled(h);
  188.                         camMoveCheck.setEnabled(i);
  189.                         logOutCheck.setEnabled(j);
  190.                         openTabsCheck.setEnabled(k);
  191.                         ABLevelLabel.setEnabled(l);
  192.  
  193.                 }
  194.  
  195.                 public void getSettings(){
  196.                         if (!ABOnOff.isSelected()){
  197.                                 ABOn = true;
  198.                                 if (customAntiBanButton.isSelected()){
  199.                                         customAB = true;
  200.                                         ABFreq = ABFreqSlider.getValue();
  201.                                         AFK = AFKCheck.isSelected();
  202.                                         Mouse = mouseMoveCheck.isSelected();
  203.                                         Camera = camMoveCheck.isSelected();
  204.                                         Tabs = openTabsCheck.isSelected();
  205.                                         LogOut = logOutCheck.isSelected();
  206.                                 } else {
  207.                                         customAB = false;
  208.                                         if (ABLevelOptions.getSelectedItem().toString().contains("Low")) {
  209.                                                 ABFreq = 20;
  210.                                                 LogOut = true;
  211.                                                 Camera = true;
  212.                                                 Mouse = true;
  213.  
  214.                                         } else if (ABLevelOptions.getSelectedItem().toString().contains("Medium")) {
  215.                                                 ABFreq = 40;
  216.                                                 Mouse = true;
  217.                                                 LogOut = true;
  218.                                                 Camera = true;
  219.                                                 AFK = true;
  220.  
  221.                                         } else if (ABLevelOptions.getSelectedItem().toString().contains("High")) {
  222.                                                 ABFreq = 60;
  223.                                                 LogOut = true;
  224.                                                 Camera = true;
  225.                                                 Tabs = true;
  226.                                                 AFK = true;
  227.                                                 Mouse = true;
  228.                                         }
  229.                                 }
  230.                                 log("AntiBan on");
  231.                                 ABFreqTime = ((double)(240 / ABFreq) * 15000);
  232.                                 antiBanTimer = new Timer ((int)random(ABFreqTime * .5, ABFreqTime * 1.5));
  233.                         } else {
  234.                                 log("AntiBan off");
  235.                                 ABOn = false;
  236.                         }
  237.  
  238.                 }
  239.                 public void ABToggle(){
  240.                         if ((ABOnOff.isSelected())){
  241.                                 setEnabled(false, true, false, false, false, false, false, false, false, false, false, false);
  242.                         } else {
  243.                                 if (customAntiBanButton.isSelected()){
  244.                                         setEnabled(true, true, true, false, true, true, true, true, true, false, true, false);
  245.                                 } else {
  246.                                         setEnabled(false, true, true, true, true, false, false, false, false, false, false, true);
  247.                                 }
  248.                         }
  249.                 }
  250.                 public void cantCont(){
  251.                         if ((customAntiBanButton.isSelected() && !AFKCheck.isSelected() && !mouseMoveCheck.isSelected()
  252.                                         && !camMoveCheck.isSelected() && !openTabsCheck.isSelected()) || ABFreqSlider.getValue() == 0){
  253.                                 contButton.setEnabled(false);
  254.                         } else {
  255.                                 contButton.setEnabled(true);
  256.                         }
  257.                 }
  258.  
  259.                 public AntiBan() {
  260.                         initComponents();
  261.                 }
  262.  
  263.                 private void ABFreqSliderStateChanged(ChangeEvent e) {
  264.                         cantCont();
  265.                 }
  266.  
  267.                 private void ABOnOffStateChanged(ChangeEvent e) {
  268.                         ABOnOff.setToolTipText("The AntiBan is currently: " + content());
  269.                         ABOnOff.setText("Turn AntiBan " + OPcontent());
  270.                         ABToggle();
  271.                         cantCont();
  272.                 }
  273.  
  274.                 private void customAntiBanButtonStateChanged(ChangeEvent e) {
  275.                         ABToggle();
  276.                         cantCont();
  277.                 }
  278.  
  279.                 private void AFKCheckStateChanged(ChangeEvent e) {
  280.                         cantCont();
  281.                 }
  282.  
  283.                 private void mouseMoveCheckStateChanged(ChangeEvent e) {
  284.                         cantCont();
  285.                 }
  286.  
  287.                 private void camMoveCheckStateChanged(ChangeEvent e) {
  288.                         cantCont();
  289.                 }
  290.  
  291.                 private void logOutCheckStateChanged(ChangeEvent e) {
  292.                         cantCont();
  293.                 }
  294.  
  295.                 private void openTabsCheckStateChanged(ChangeEvent e) {
  296.                         cantCont();
  297.                 }
  298.  
  299.                 private void contButtonActionPerformed(ActionEvent e) {
  300.                         getSettings();
  301.                         setVisible(false);
  302.                 }
  303.  
  304.  
  305.                 String content(){
  306.                         if (ABOnOff.isSelected()){
  307.                                 return "OFF";
  308.                         } else {
  309.                                 return "ON";
  310.                         }
  311.                 }
  312.                 String OPcontent(){
  313.                         if (!ABOnOff.isSelected()){
  314.                                 return "OFF";
  315.                         } else {
  316.                                 return "ON";
  317.                         }
  318.                 }
  319.                 private void initComponents() {
  320.                         ABFreqSlider = new JSlider();
  321.                         ABOnOff = new JToggleButton();
  322.                         customAntiBanButton = new JRadioButton();
  323.                         ABLevelOptions = new JComboBox();
  324.                         separator1 = new JSeparator();
  325.                         ABFreqLabel = new JLabel();
  326.                         AFKCheck = new JRadioButton();
  327.                         mouseMoveCheck = new JRadioButton();
  328.                         camMoveCheck = new JRadioButton();
  329.                         logOutCheck = new JRadioButton();
  330.                         openTabsCheck = new JRadioButton();
  331.                         ABLevelLabel = new JLabel();
  332.                         contButton = new JButton();
  333.  
  334.                         addWindowListener(new WindowAdapter() {
  335.                                 public void windowClosing(WindowEvent e) {
  336.                                         stopScript();
  337.                                 }
  338.                         });
  339.                         //======== this ========
  340.                         setTitle("AntiBan");
  341.                         Container contentPane = getContentPane();
  342.                         //---- ABFreqSlider ----
  343.                         ABFreqSlider.setMajorTickSpacing(40);
  344.                         ABFreqSlider.setSnapToTicks(true);
  345.                         ABFreqSlider.setPaintTicks(true);
  346.                         ABFreqSlider.setBackground(new Color(238, 238, 238));
  347.                         ABFreqSlider.setEnabled(false);
  348.                         ABFreqSlider.setPaintLabels(true);
  349.                         ABFreqSlider.setMinorTickSpacing(8);
  350.                         ABFreqSlider.setMaximum(240);
  351.                         ABFreqSlider.setValue(60);
  352.                         ABFreqSlider.setToolTipText("Allows you to select the average amount of AntiBans per hour");
  353.                         ABFreqSlider.addChangeListener(new ChangeListener() {
  354.                                 @Override
  355.                                 public void stateChanged(ChangeEvent e) {
  356.                                         ABFreqSliderStateChanged(e);
  357.                                 }
  358.                         });
  359.  
  360.                         //---- ABOnOff ----
  361.                         ABOnOff.setText("Turn AntiBan Off");
  362.  
  363.                         ABOnOff.setToolTipText("The AntiBan is currently: ON");
  364.                         ABOnOff.addChangeListener(new ChangeListener() {
  365.                                 @Override
  366.                                 public void stateChanged(ChangeEvent e) {
  367.                                         ABOnOffStateChanged(e);
  368.                                 }
  369.                         });
  370.  
  371.                         //---- customAntiBanButton ----
  372.                         customAntiBanButton.setText("Custumized AntiBan");
  373.                         customAntiBanButton.setToolTipText("Enables you to customize your AntiBan");
  374.                         customAntiBanButton.addChangeListener(new ChangeListener() {
  375.                                 @Override
  376.                                 public void stateChanged(ChangeEvent e) {
  377.                                         customAntiBanButtonStateChanged(e);
  378.                                 }
  379.                         });
  380.  
  381.                         //---- ABLevelOptions ----
  382.                         ABLevelOptions.setModel(new DefaultComboBoxModel(new String[] {
  383.                                         "Low",
  384.                                         "Medium",
  385.                                         "High"
  386.                         }));
  387.                         ABLevelOptions.setSelectedIndex(2);
  388.                         ABLevelOptions.setToolTipText("Selects the level of AntiBan");
  389.                         //---- separator1 ----
  390.                         separator1.setForeground(new Color(100, 100, 100));
  391.                         //---- ABFreqLabel ----
  392.                         ABFreqLabel.setText("Avg. AntiBans P/H");
  393.                         ABFreqLabel.setToolTipText("Average. AntiBans per hour");
  394.                         ABFreqLabel.setEnabled(false);
  395.  
  396.                         //---- AFKCheck ----
  397.                         AFKCheck.setText("AFK's");
  398.                         AFKCheck.setEnabled(false);
  399.                         AFKCheck.setToolTipText("If checked, the AntiBan will perform AFK's");
  400.                         AFKCheck.addChangeListener(new ChangeListener() {
  401.                                 @Override
  402.                                 public void stateChanged(ChangeEvent e) {
  403.                                         AFKCheckStateChanged(e);
  404.                                 }
  405.                         });
  406.  
  407.                         //---- mouseMoveCheck ----
  408.                         mouseMoveCheck.setText("Mouse MoveMents");
  409.                         mouseMoveCheck.setEnabled(false);
  410.                         mouseMoveCheck.setToolTipText("If checked, the AntiBan will move the mouse");
  411.                         mouseMoveCheck.addChangeListener(new ChangeListener() {
  412.                                 @Override
  413.                                 public void stateChanged(ChangeEvent e) {
  414.                                         mouseMoveCheckStateChanged(e);
  415.                                 }
  416.                         });
  417.  
  418.                         //---- camMoveCheck ----
  419.                         camMoveCheck.setText("Camera Movements");
  420.                         camMoveCheck.setEnabled(false);
  421.                         camMoveCheck.setToolTipText("If checked, the AntiBan will move the camera");
  422.                         camMoveCheck.addChangeListener(new ChangeListener() {
  423.                                 @Override
  424.                                 public void stateChanged(ChangeEvent e) {
  425.                                         camMoveCheckStateChanged(e);
  426.                                 }
  427.                         });
  428.  
  429.                         //---- logOutCheck ----
  430.                         logOutCheck.setText("Log Out if Innactive");
  431.                         logOutCheck.setEnabled(false);
  432.                         logOutCheck.setVisible(false);
  433.                         logOutCheck.setToolTipText("Currently under construction");
  434.                         logOutCheck.addChangeListener(new ChangeListener() {
  435.                                 @Override
  436.                                 public void stateChanged(ChangeEvent e) {
  437.                                         logOutCheckStateChanged(e);
  438.                                 }
  439.                         });
  440.  
  441.                         //---- openTabsCheck ----
  442.                         openTabsCheck.setText("Open Tabs");
  443.                         openTabsCheck.setEnabled(false);
  444.                         openTabsCheck.setToolTipText("If checked, the AntiBan will open your friends list tab");
  445.                         openTabsCheck.addChangeListener(new ChangeListener() {
  446.                                 @Override
  447.                                 public void stateChanged(ChangeEvent e) {
  448.                                         openTabsCheckStateChanged(e);
  449.                                 }
  450.                         });
  451.  
  452.                         //---- ABLevelLabel ----
  453.                         ABLevelLabel.setText("AntiBan Level");
  454.                         ABLevelLabel.setToolTipText("AntiBan Level");
  455.  
  456.                         //---- contButton ----
  457.                         contButton.setText("Continue");
  458.                         contButton.setToolTipText("Starts the Script");
  459.                         contButton.addActionListener(new ActionListener() {
  460.                                 @Override
  461.                                 public void actionPerformed(ActionEvent e) {
  462.                                         contButtonActionPerformed(e);
  463.                                 }
  464.                         });
  465.  
  466.                         GroupLayout contentPaneLayout = new GroupLayout(contentPane);
  467.                         contentPane.setLayout(contentPaneLayout);
  468.                         contentPaneLayout.setHorizontalGroup(
  469.                                         contentPaneLayout.createParallelGroup()
  470.                                         .addGroup(contentPaneLayout.createSequentialGroup()
  471.                                                         .addGroup(contentPaneLayout.createParallelGroup()
  472.                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  473.                                                                                         .addGap(102, 102, 102)
  474.                                                                                         .addComponent(ABOnOff, GroupLayout.PREFERRED_SIZE, 182, GroupLayout.PREFERRED_SIZE))
  475.                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  476.                                                                                                         .addContainerGap()
  477.                                                                                                         .addGroup(contentPaneLayout.createParallelGroup()
  478.                                                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  479.                                                                                                                                         .addComponent(ABFreqLabel)
  480.                                                                                                                                         .addGap(12, 12, 12)
  481.                                                                                                                                         .addComponent(ABFreqSlider, GroupLayout.PREFERRED_SIZE, 260, GroupLayout.PREFERRED_SIZE))
  482.                                                                                                                                         .addGroup(GroupLayout.Alignment.TRAILING, contentPaneLayout.createSequentialGroup()
  483.                                                                                                                                                         .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)
  484.                                                                                                                                                                         .addComponent(ABLevelLabel)
  485.                                                                                                                                                                         .addComponent(customAntiBanButton, GroupLayout.PREFERRED_SIZE, 159, GroupLayout.PREFERRED_SIZE))
  486.                                                                                                                                                                         .addGroup(contentPaneLayout.createParallelGroup()
  487.                                                                                                                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  488.                                                                                                                                                                                                         .addGap(18, 18, 18)
  489.                                                                                                                                                                                                         .addComponent(separator1, GroupLayout.PREFERRED_SIZE, 164, GroupLayout.PREFERRED_SIZE))
  490.                                                                                                                                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  491.                                                                                                                                                                                                                         .addGap(27, 27, 27)
  492.                                                                                                                                                                                                                         .addComponent(ABLevelOptions, GroupLayout.PREFERRED_SIZE, 140, GroupLayout.PREFERRED_SIZE)))
  493.                                                                                                                                                                                                                         .addGap(96, 96, 96))))
  494.                                                                                                                                                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  495.                                                                                                                                                                                                                                         .addGap(20, 20, 20)
  496.                                                                                                                                                                                                                                         .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.TRAILING, false)
  497.                                                                                                                                                                                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  498.                                                                                                                                                                                                                                                                         .addComponent(mouseMoveCheck)
  499.                                                                                                                                                                                                                                                                         .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
  500.                                                                                                                                                                                                                                                                         .addComponent(logOutCheck))
  501.                                                                                                                                                                                                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  502.                                                                                                                                                                                                                                                                                         .addComponent(openTabsCheck)
  503.                                                                                                                                                                                                                                                                                         .addGap(18, 18, 18)
  504.                                                                                                                                                                                                                                                                                         .addComponent(AFKCheck)
  505.                                                                                                                                                                                                                                                                                         .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
  506.                                                                                                                                                                                                                                                                                         .addComponent(camMoveCheck))))
  507.                                                                                                                                                                                                                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  508.                                                                                                                                                                                                                                                                                                         .addGap(109, 109, 109)
  509.                                                                                                                                                                                                                                                                                                         .addComponent(contButton, GroupLayout.PREFERRED_SIZE, 167, GroupLayout.PREFERRED_SIZE)))
  510.                                                                                                                                                                                                                                                                                                         .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
  511.                         );
  512.                         contentPaneLayout.setVerticalGroup(
  513.                                         contentPaneLayout.createParallelGroup()
  514.                                         .addGroup(contentPaneLayout.createSequentialGroup()
  515.                                                         .addGap(10, 10, 10)
  516.                                                         .addComponent(ABOnOff)
  517.                                                         .addGap(18, 18, 18)
  518.                                                         .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
  519.                                                                         .addComponent(ABLevelLabel)
  520.                                                                         .addComponent(ABLevelOptions, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
  521.                                                                         .addGroup(contentPaneLayout.createParallelGroup()
  522.                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  523.                                                                                                         .addGap(18, 18, 18)
  524.                                                                                                         .addComponent(customAntiBanButton, GroupLayout.PREFERRED_SIZE, 44, GroupLayout.PREFERRED_SIZE))
  525.                                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  526.                                                                                                                         .addGap(35, 35, 35)
  527.                                                                                                                         .addComponent(separator1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))
  528.                                                                                                                         .addGroup(contentPaneLayout.createParallelGroup()
  529.                                                                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  530.                                                                                                                                                         .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
  531.                                                                                                                                                         .addComponent(ABFreqSlider, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
  532.                                                                                                                                                         .addGroup(contentPaneLayout.createSequentialGroup()
  533.                                                                                                                                                                         .addGap(26, 26, 26)
  534.                                                                                                                                                                         .addComponent(ABFreqLabel)))
  535.                                                                                                                                                                         .addGap(15, 15, 15)
  536.                                                                                                                                                                         .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
  537.                                                                                                                                                                                         .addComponent(openTabsCheck)
  538.                                                                                                                                                                                         .addComponent(AFKCheck)
  539.                                                                                                                                                                                         .addComponent(camMoveCheck))
  540.                                                                                                                                                                                         .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
  541.                                                                                                                                                                                         .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
  542.                                                                                                                                                                                                         .addComponent(logOutCheck)
  543.                                                                                                                                                                                                         .addComponent(mouseMoveCheck))
  544.                                                                                                                                                                                                         .addGap(18, 18, 18)
  545.                                                                                                                                                                                                         .addComponent(contButton)
  546.                                                                                                                                                                                                         .addContainerGap(12, Short.MAX_VALUE))
  547.                         );
  548.                         pack();
  549.                         setLocationRelativeTo(getOwner());
  550.                         // JFormDesigner - End of component initialization  //GEN-END:initComponents
  551.                 }
  552.  
  553.                 // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
  554.                 // Generated using JFormDesigner Evaluation license - Joe Titus
  555.                 private JSlider ABFreqSlider;
  556.                 private JToggleButton ABOnOff;
  557.                 private JRadioButton customAntiBanButton;
  558.                 private JComboBox ABLevelOptions;
  559.                 private JSeparator separator1;
  560.                 private JLabel ABFreqLabel;
  561.                 private JRadioButton AFKCheck;
  562.                 private JRadioButton mouseMoveCheck;
  563.                 private JRadioButton camMoveCheck;
  564.                 private JRadioButton logOutCheck;
  565.                 private JRadioButton openTabsCheck;
  566.                 private JLabel ABLevelLabel;
  567.                 private JButton contButton;
  568.                 // JFormDesigner - End of variables declaration  //GEN-END:variables
  569.         }