Jump to content

Creating GUI/Form


palindrome

Recommended Posts

I am planning on making a simple mining bot and have been looking around for information. I can't find much on making a GUI to take user input before starting the script, such as what rocks to mine etc. Do you just create a normal GUI as you would normally in Java? Or is there some specific thing you need to do for OSBot?

Link to comment
Share on other sites

Just create a GUI as you would normally do in Java, then take whatever input inside the textfield, and assign it to a variable, which then you can use to determine which rock to mine etc.

 

However, AFAIK rocks don't have a name, which means you'll either need to use IDs (Not recommend) or Colours.

Edited by Viston
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...