Jump to content

jacksonadams861

Members
  • Posts

    6
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

jacksonadams861's Achievements

Newbie

Newbie (1/10)

1

Reputation

  1. I go like this: boolean GUI_COMPLETE = false; exampleGUI gui = new exampleGUI(); @Override public void onStart() { gui.setVisible(true); } @Override public int onLoop() throws InterruptedException { if (GUI_COMPLETE) { //normal script loop; } return 50; // The amount of time in milliseconds before the loop // starts // over } public class exampleGUI extends JFrame { //gui code with an actionlistener on the start button which sets GUI_COMPLETE to true, and disposes the GUI. }
  2. Okay thank you, and how about making the keyboard type faster. Any ideas?
  3. I know how to write files with java... I just wanted to know if you had to write files to a certain working directory. Or if we can write files to anywhere.
  4. Oh with the other bot I use you have to use Util.getWorkingDirectory().toString() to get the directory to write to. Is that not needed for OSBot? Also anyone know how to make the keyboard write faster :3 Also how can I change the account on a bot without having to add a new one.
  5. Write a file containing my GUI variables and read that file again.
  6. 1. What is the fastest way to make the client type a string? I've read all the previous topics but it looks like the API's changed. 2. How do I write a text file and read it? I'm used to another clients API.
×
×
  • Create New...