Jump to content

Search the Community

Showing results for tags 'tutorial'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OSBot
    • News & Announcements
    • Community Discussion
    • Bot Manager
    • Support Section
    • Mirror Client VIP
    • Script Factory
  • Scripts
    • Official OSBot Scripts
    • Script Factory
    • Unofficial Scripts & Applications
    • Script Requests
  • Market
    • OSBot Official Voucher Shop
    • Currency
    • Accounts
    • Services
    • Other & Membership Codes
    • Disputes
  • Graphics
    • Graphics
  • Archive

Product Groups

  • Premium Scripts
    • Combat & Slayer
    • Money Making
    • Minigames
    • Others
    • Plugins
    • Agility
    • Mining & Smithing
    • Woodcutting & Firemaking
    • Fishing & Cooking
    • Fletching & Crafting
    • Farming & Herblore
    • Magic & Prayer
    • Hunter
    • Thieving
    • Construction
    • Runecrafting
  • Donations
  • OSBot Membership
  • Backup

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location:


Interests

Found 23 results

  1. [Selling] tut island done accounts - rested 30+ days -have over 1k+ of these in stock -made before jagex account mandate -ready to bot -rested 30+ days PM or add me on discord for price discord: methodz8506 The A/W (Auto-win) for your account: negotiable The methods of payment you are accepting: osgp Your trading conditions: you go first Original/previous owners AND Original Email Address (See below for more details): Created by me & rested 30+ days
  2. 1. open OSB.jar then select "Game client patcher" seen below. After clicking on the game client patcher select "runelite" as the client you'd like to patch. (seen below) then select "Patch game client" after all your options are selected. You can now use your favorite 3pc with a jagex account, enjoy. -sanc
  3. Below is just a tiny selection of our accounts available, join our discord for more account types Tutorial accounts Price: $0.20 500+ TTL trade unlocked accounts $5 each (Bulk discounts available) OSBOT forum guidelines Price are listed above Accounts will have no black marks/offences unless stated otherwise before sale Every account is sold with the expectation of coming with no membership We accept Crypto, OSRS GP, Skrill & PayPal as payment methods Accounts are fully rested and non-refundable unless you have been given the incorrect account type i.e. FSW instead of HCIM etc, we do not use middlemen for account sales however there is not a minimum purchase requirement It's recommended you register an email and change the password on all purchases All accounts are unregistered with no previous owner Send us a message on OSBOT to order or Add owner on discord HelloPeeps#2364 UID: 804781446886719489
  4. All Accounts Have: Unregistered emails Cheap Price Original owner of all accounts 100% Manual Randomized Appearance Made on "US Proxy"(You can do a custom order for desired country proxy) Real Human Name Based Note: (We accept Every Type of Custom Order, DM me @7star#3559 on  Discord) "Tutorial Accounts" "55-MAGIC(High Alch Accounts)" TO ORDER VISIT MY SHOP DISCORD: 7star#3559 PAYMENT: Skrill, Payoneer, OSRS GP, Visa Card, Binance, Crypto
  5. ROADMAP TO Learning JAVA and Becoming an OSBot Scripter (ABSOLUTE BEGINNERS) INTRO As I’m writing this guide, I’m a total noob to scripting and probably will be for many years to come. Also English is not my first language so please be kind =] I love this community and I feel that the road from absolute zero experience in Java to becoming a scripter that can produce high quality scripts and use them for advancing his account or setting up farms, is something I always wanted to master. There are great guides to be found written by helpful people that contribute to our forum, discord and beyond. I certainly learned a lot from these posts but I’ve always had a hard time piecing the information together when it comes to making a clear study plan without prior programing knowledge. I feel there is a vast number of people like myself that would love to have one roadmap that tells you where to start and how to move forward. If you follow this roadmap from beginning to end, you will have a basic understanding of the basic tools you need, the basis of Java language and how you can start to practice with your own simple scripts within OSBot. I’ve been botting many accounts since OSRS came back after EOC. through many platforms in the past, I’ve maxed out my main and run several relatively small scale gold farms that did pretty well. Using VPS’s, socks5 proxies and accounts/bonds bought through multiple discord servers. However my costs were always a bit high due to the fact that I had to buy everything I could not make or script myself. Requirements OSbot of course https://osbot.org/mvc/get Download JDK8 NOTE: Windows x86 version or Windows x64 Tools Now its time for you to choose which IDE program to use and finally try to write your first scripts. Both are great but ill start with the most popular one. Download Eclipse IDE, you will use this program to write your scripts. Download: https://eclipseide.org/ Setup: https://osbot.org/forum/topic/131666-setting-up-eclipse/ Setup creator profile: https://osbot.org/forum/profile/23977-liverare/ Look into another very popular IDE program called IntelliJ IDEA. But before you do that you need to download and install Java SE Development Kit 8: Download IntelliJ IDEA: https://osbot.org/forum/topic/154399-script-development-setup/ Setup creator profile: Token NOTE: I did not create the tutorials above to set up those tools. Massive thanks to Liverare and Token. Please make sure to visit the profile link above and drop him a like and massive shoutout! LEARNING THE JAVA BASICS Step 1. The official Oracle Learning the Java Language *NOTE: The lessons are categorized into “trails”. Go through the trail “covering the basics”. I hope some experienced scripter will read this and add the trails that would be beneficial as well. I can imagine the trail “ creating Graphical user Interfaces” would be great too for your scripts. https://docs.oracle.com/javase/tutorial/index.html Step 2. Learning the basics by completing codecademy https://www.codecademy.com/catalog/language/java Step 2.1 Import some open source scripts from OSBOT into the IDE and get a feel for how they are written and try to change some stuff to see if it still works. .(always on a socks5 proxy as to not compromise your home IP.) Step 3. W3Schools.com https://www.w3schools.com/java/default.asp Step 4. Head first Java, 2nd Edition (OPTIONAL IMO but will greatly expand your understanding) https://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208 Step 5. The really big index (OPTIONAL IMO, OUTSIDE THE SCOPE OF THIS ROADMAP) https://docs.oracle.com/javase/tutorial/reallybigindex.html Java named the index themselves and added a description; A list of all content pages in “The Java Tutorials”. I can imagine you become a scripting grandmaster if you master this entire list. Step 6. Try to create your very first script. Start with something very simple like a fisher or woodcutter. See how it performs and maybe later add a GUI by creating it with Swing. Or with JavaFX. Then try running it for multiple hours to see how it performs.(always on a socks5 proxy as to not compromise your home IP.) NOTE: Take a look at the Snippets in the subforum. They are a great resource for bits of code to use with your scripts OSBOT Specific information NOTE: Now that you have a basic understanding of how to use Java, its time to learn about the implementation of OSBot itself. I have to be honest here and because I’m only starting to learn this, I hope an experienced scripter will correct any mistakes or add the info we need. Please just send it to me so I can improve this roadmap =] OSBOT’s API Without the API the two programs would not know how to communicate. You can find the API Documentation here. However, if you are like me and haven’t started learning yet, this might as well be written in Chinese. Fortunately for us, a very nice gentlemen has written a guide to help us out. The guide was written by Vilius. You can find the guide here. Please drop him some likes and thank him for this amazing effort! NOTICE: As most of you, I’m at the beginning of my journey to become a scripter. Despite having botted for years on all sorts of platforms and chances many of you have as well. I’m sure I’ve left stuff out or made some mistakes regarding the best progression to get you scripting in no time. I would greatly appreciate it if you would send me over the mistakes I’ve made or the content/steps/tools I’ve overlooked. If you would like to see something/added/altered or removed from this guide, please do not hesitate to dm me or leave a comment on the thread. I hope we can all contribute to this guide so aspiring scripters will have a go to roadmap where to start their study/practice and keep improving the knowledge of this beautiful community! I have intentionally left out A LOT of basic/advanced stuff because this guide is just to get people started with scripting. But I do feel like I should give a few very basic tips that are in line with this guide so you won’t get destroyed by Jagex and speed up the process of testing your scripts. I won’t mention specific vendors or web shops in this guide and im not affiliated with anyone or anything mentioned in this guide. Just in case, here are some basic tips before you start. - Don’t do anything that is against Jagex terms of service on your main IP address. You ALWAYS want to keep that ADDRESS clean. That includes making new botting accounts, going onto sketchy discord servers, visiting botting websites, logging into botting clients, meeting with mules etc etc. Chain bans are real. - For all the other activities in the botting client, get some socks5 proxies that allow you to set your location and get https proxies for account creation and other browser stuff(most can switch between socks5 and https. For accounts with an expected short/suicide lifespan, use cheap datacenter ip’s but try to find a webshop/vendor that is not tailored to rs players as those ip’s are almost always flagged due to reselling which will block or ban your account straight away. If you want your accounts to last much longer, pay a bit more for a residential proxy from a reputable seller. This is only worth it if you are creating an account that will eventually generate a lot of gp like a bossing account. Be careful because there are a lot of scammers on the proxy market. There are also some good vendors on discord market servers you could look up. I have maxed accounts that way. Once you learn how to spam create accounts fully automated, this becomes less of a problem. - Unless you have a but load of accounts running locally on your machine or paying for the specs of a VPS that can only handle so much, don’t use screen mirroring to minimize detection. This will about half the accounts you can run on a machine. - Don’t start of creating scripts that are know for high ban rates. Usually methods that create a lot of gp as you will get frustrated soon by the bans and think there is something wrong with your script. - To save a lot of money and have way more time to focus on testing your scripts, find discord marketplaces with reputable vendors that sell 14 days membership codes for as little as $2.40, lvl3 accounts with tut completed go for as little as $0.10. You can also get accounts with specific stats to get straight into testing your scripts. My personal goal Off the record: If you want to know what level of expertise I would like to accomplish through making my own scripts/applications, I encourage you to watch this mini goldfarm that the botter made from scratch, and is almost fully automated. I hope it motivates you just as much as it did me. If you could offer any guidance where I could find information to help me achieve this, I would be most thankful! Fully automated OSRS botfarm from scratch Thanks for taking your time to read my first guide and happy scripting
  6. Selling the cheapest rested USA-based tuts out 150k ea for <200 130k ea for 200-499 100k ea for 500-999 80k ea for 1000+ Offering a 10% discount on any new customers' order! All accounts are rested and fresh off tutorial island, and ban free. If they are banned before use, you have 2 hours from time of account delivery to notify me, and I will replace them free. Discord is Viribad#0888
  7. If you've messed with OSBot's CLI, perhaps in creating a bot farm, you've probably messed with the -script CLI argument and using Script.getParameters() in your code. Or maybe you're just looking into automating your OSBot scripts; this guide will show you everything you need to know What are Script Parameters? Parameters are a single String sent to your script via the command line (shell) using the -script CLI argument. It is accessed using Script.getParameters, which may return null if no parameters were provided. You'll need to learn a little bit of String manipulation in Java in order to work with them effectively. Here's some basics to get you started: // To get multiple delimited parameters, use split: // (Warning: you cannot use the comma or pipe character!) String[] params = getParameters().split(";"); // To parse an integer or float from a String, use: int itemsToUse = Integer.parseInt(params[0]); float ratio = Float.parseFloat(params[1]); // Test string equality - use .equals() not == if (params[2].equals("foobar")) log("Foobar mode enabled"); Requirements In order to use -script you must: Provide your OSBot forum credentials via -login Specify an account to log in with via -bot. If your script logs in manually (i.e. you use -allow norandoms and/or disable the auto login random solver then implement your own login handler like Explv's LoginEvent) then you should provide dummy credentials here eg. -bot LOGIN:PASS:0000 Restrictions You cannot use a comma (,) or pipe (|) character within a script name or parameter at all. Doing so may cause various runtime errors like java.lang.NumberFormatException or java.lang.NullPointerException. Most shells have a length limit for commands. See the section below. Escaping Spaces, Double Quotes and Backslashes (with Example) If you are using either spaces ( ), double quotes (") or backslashes in your script name or parameters, you'll need to escape these, potentially twice: once for OSBot, and once for your shell. I'll give an example below for the a script named My "Test" Script with parameters My "Test" Parameters. The example content will be in blue and inserted content will be green. If your script name contains either spaces ( ), double quotes (") or backslashes (\): Insert a backslash (\) before all existing double quotes or backslashes. My \"Test\" Script Surround the whole thing with double quotes that are not escaped with a backslash. "My \"Test\" Script" Do the process above (1) for your script parameters if they contain spaces, double quotes, backslashes: "My \"Test\" Parameters" Combine the script name and parameters with a colon in the middle. "My \"Test\" Script":"My \"Test\" Parameters" This is the raw string to be passed via the command line. If you are using a shell utility or sub-process library that takes an array/list of CLI args, stop here! Such a utility or library should do the next escaping step for you. If you are writing your own .bat/.sh scripts manually, continue on. Before every double quote (") or backslash (\), insert another backslash. \"My \\\"Test\\\" Script\":\"My \\\"Test\\\" Parameters\" Surround the entire thing with double quotes again. "\"My \\\"Test\\\" Script\":\"My \\\"Test\\\" Parameters\"" You're done! Yes, it's ugly, but it should work! Put the result directly after -script in your shell and you're good to go. Here's a combined example: java -jar OSBot.jar -login username:password -bot login:password:bankpin -script "\"My \\\"Test\\\" Script\":\"My \\\"Test\\\" Parameters\"" Once again, this runs a script with the following ScriptManifest name My "Test" Script: @ScriptManifest(name = "My \"Test\" Script", ...) public class MyTestScript extends Script { // .. } Using Files Instead of Script Parameters Sometimes shells can have surprisingly low limits on command length. If you expect your script input to be long (such as JSON, CSV or XML), you should be loading these from file instead instead of stuffing them in script parameters! These data formats may also contain incompatible characters (comma and pipe). Here's a few short examples to get you started (this isn't a guide on reading text from files in Java...) String filePath = getDirectoryData() + File.separator + getParameters(); File fp = new File(filePath); BufferedReader in = new BufferedReader(new FileReader(fp)); String line; while ((line = in.readLine()) != null) { // Process one line of input. } in.close(); If you want the entire file contents read into a string, you can use Files.readAllBytes and Paths.get: String filePath = getDirectoryData() + File.separator + getParameters(); String fileContent = new String(Files.readAllBytes(Paths.get(filePath))); Finally, using files has an added benefit of being able to provide default input data when script parameters aren't available (ie. the script was run via the Script Selector window): String filePath = getDirectoryData() + File.separator + (getParameters() != null ? getParameters() : "myDefaultInput.txt")); // Use the filePath as above And as usual, catch FileNotFound and other IOExceptions as necessary. Using files is a much better way to load in data than a lengthy script parameter! Additional Tips If you're having trouble escaping things properly, perhaps it's better to question if including the escaped content is even necessary at all. In other words, if it's easier to not name scripts using spaces, quotes or backslashes, then do that instead of escaping. Simplicity is better than being smart. For a good user experience, provide sensible defaults if parameters aren't provided. If your script requires input and can't come up with defaults, try using the Java Swing framework to show a UI (see Explv's AIO if you need an example). DON'T USE COMMAS (,) OR PIPE CHARACTERS (|) AS DELIMITERS. They aren't allowed and will break OSBot! If you need to delimit a parameter string, try a healthy low-carb alternative of a semicolon.
  8. Hey guye, Im fairly new to the botting scene but I was wondering if there is any tutorials or guides that can tesch me to script. Cheers Dan - WhyChildren
  9. Hello everyone; I've been helping a few people out on Discord with their scripts and understanding the API and I've come to the conclusion that I'm just going to make my own video series covering everything you need to know to get a script up and running in OSBot. Each episode will be streamed on YouTube, then edited down to only the essential information, uploaded as a video and embedded into this page under its heading. The main topics will be listed below. People comment additional topic ideas at the bottom of this thread or you can PM / Discord me. Legend: Not aired Airing now Aired Topics: Getting setup: Beginner scripting: Intermediate scripting: Advanced scripting: Other: All videos / streams can be viewed on: YouTube
  10. The introduction Hello all. Guessing it is time for me to release my first script. I am doing this one open source because i need some advice on what can be improved (code wise) and what I am doing wrong. So this release is primarily for my education, but also for people who might consider writing a fishing script, then this is in my opinion a good place to start If anybody have any questing regarding my code or ways I can improve my code please let me know here, on the chat or pm me I have added the zip file containing the source files and the CLFishing.jar to run this script in OSBot. All you have to do is to put the "clfishing" folder into your source folder in any IDE. Any questions? Just ask If you can use any of the code please reply to the post and letting me know . When PF mode is selected the bot will find the closest area to you depending on what fishing type you selected. After that it find the closest bank to that area. When NF mode is selected the bot will find area and bank closest to each other depending on which fishing type you selected. If fishing type "LEVEL" is selected it will found out what fishing type you should fish and the fishing area and banking area as mentioned above. This script does require all the items needed to be placed in the bank or the script closes by it self. Paint by Container CLFishing - The script The source code (History) clfishing.zip Contains the first version of this script and the source code. clfishing2.zip Contains the rewritten script with less code. Found bugs You cant walk to musa point cathing lobsters. This is gonna be a later fix. Or something you can do yourself.
  11. Greetings fellow designers! I have a photoshop add-on that I got from Graphic River a while back and decided that I'd share it so hopefully, some others could get some use out of it! You can easily generate some pretty neat effects with this - so if you're designing and want to get a quick glitch effect as a final edit rather than going through the work yourself, this is a great help! Original Page: Examples: Download: If you have any questions feel free to ask me!
  12. Hello,I'm selling tutorial complete accounts.Pricing:1-50: 95k,50-200: 80k200-1000: 75k1000+: 70kRegarding prices with cryptos and their types, please contact me.Contact: Skype: live:theblurper (I am more available through skype)Discord: TheBlurper#2654Quality:I use 300-400 of these accounts daily myself and haven't run into any problems.Information:Accounts have human-ish names and emails (no randomly generated letter sequences)Cooled down for 7 days (then re-checked for locks/bans)I will not help you recovering the accounts as I do not store any information about them other than the login details.You can contact me regarding bans on any of the accounts and if they happened BEFORE the sell date, I will refund you/give you new accounts for each account that is banned BEFORE the sell date. (I cannot check WHEN has the been locked, so different terms apply to that)If you report any LOCKED accounts to me withing 6 hours of your purchase, I will refund you/give you new accounts for each account that is locked.I am not responsible for any locks/bans on the accounts after the dates mentioned above. Picture of account stats: Pictures of the account bans Accounts have no membership on them and I am the original owner of all the accounts created. Trading: I will go first to people I deem trusted, otherwise you go first or we use a MM at YOUR expense.
  13. Sebastian's GUI Tutorial Intro Hi, and welcome to my guide on how to make a GUI. I want to make this thread because i couldn't find a tutorial on GUI's on the OSBot forums. Today we are going to make a GUI for a woodcutting script. Keep in mind that i only use woodcutting as an example. You can easily replace woodcutting with every other thing. In this tutorial we will use Java Swing. This tutorial is "noob" friendly but i assume that you know a little bit about Osbot scripting. If you don't, please follow Apae's tutorial on how to make your first script We are creating a GUI with comboBox and a start button. NOTE: English is not my first language so bear with me if i use any spelling mistakes in this tutorial. General information GUI stands for "Graphical User Interface". This is a box that will appear when you start your script. The user of your script can apply settings for your bot. What do we need? Basic Java knowledge Eclipse or IntelliJ Step 1: Creating the classes The first thing we need to do is creating the classes. I decided to make 2 classes: main gui First we create the gui class. public class gui { public void run() { // Enter new code } } Now we want to connect the gui class with the main class. We can do that by typing "main main" into the public void run(). Example: public class gui { public void run(main main) { // Enter new code } } To tell that the gui exists we need to write some code in the main class: private gui gui = new gui(); Now the gui class is connected with the main class. We will come back to this later on in this tutorial. To run the gui class on start we need to add "gui.run(this);" into our onStart() method in the main class. Example: public void onStart() { log("Starting script.."); gui.run(this); } Alright. We are done with creating the classes. Let's continue to the next step! Step 2: Creating the jFrame If you start your script now, nothing will appear. That's because we didn't make the GUI yet. We've only created the files to work with. So, the first thing we need to do is creating the jFrame. Switch back to your gui class and paste the following into the "Public void run(main main)": JFrame jFrame = new JFrame("OSBOT Tutorial GUI"); Cool! We've created our first jFrame! But.. We're not done yet. If you start your script now nothing will appear. That's because we haven't set the size and we didn't make it visible yet. That's what we're going to do now. So, under the "JFrame jFrame = new JFrame("OSBOT Tutorial GUI");" we need to paste the following: jFrame.setSize(300, 500); jFrame.setResizable(false); Alright, so now we've added the size and we've set the setResizable to false because we don't want users to resize the gui. The gui is still not visible yet but we're getting somewhere. Let's move on to the next step. Step 3: Creating a JPanel To make the gui a bit more beautiful we are going to add a panel. We will call this panel the "settings" panel. Inside this panel all our settings will be displayed. Paste the following code into the gui run void: JPanel settingsPanel = new JPanel(); TitledBorder leftBorder = BorderFactory.createTitledBorder("Settings"); leftBorder.setTitleJustification(TitledBorder.LEFT); settingsPanel.setBorder(leftBorder); settingsPanel.setLayout(null); settingsPanel.setBounds(5, 200, 280, 180); jFrame.add(settingsPanel); This will add a panel to our jFrame. This seems like a lot of code so let me break it down to you. JPanel settingsPanel = new JPanel(); This will create the settingsPanel. TitledBorder leftBorder = BorderFactory.createTitledBorder("Settings"); This creates a titled border with the word "Settings" in it. jFrame.add(settingsPanel); This will add the settingsPanel to our jFrame. Alright, your code should look like this: public class gui { public void run(main main) { JFrame jFrame = new JFrame("OSBOT GUI Tutorial"); jFrame.setSize(300, 500); jFrame.setResizable(false); JPanel settingsPanel = new JPanel(); TitledBorder leftBorder = BorderFactory.createTitledBorder("Settings"); leftBorder.setTitleJustification(TitledBorder.LEFT); settingsPanel.setBorder(leftBorder); settingsPanel.setLayout(null); settingsPanel.setBounds(5, 200, 280, 180); jFrame.add(settingsPanel); } } We also need to create a start panel. This is only to make the gui a bit more beautiful. JPanel startPanel = new JPanel(); startPanel.setLayout(null); startPanel.setBounds(5, 350, 70, 20); jFrame.add(startPanel); Now it's time to get to the next step; adding the comboBox. Step 3: Adding the label & combobox First, we need to create a label. A label can be made like this: JLabel treeSelection = new JLabel("Select a Tree:"); Second, we need to set some bounds and we need to add the Label to our settingsPanel. treeSelection.setBounds(10, 40, 95, 20); settingsPanel.add(treeSelection); Alright. We've added our first label into our settingsPanel! Now we need to create the comboBox: JComboBox<String> treeList = new JComboBox<String>(new String[] { "None", "Tree", "Oak", "Willow", "Yew", "Magic tree"}); Next, open your main class and create a public string called tree: public String tree = ""; Once you've done that you need to go back to your gui class. To check what tree you have selected we need to add an eventlistener: treeList.addActionListener(e -> main.tree = (String) treeList.getSelectedItem()); This will set the public String tree in your main class to the selected tree. For example: If i selected Oak, the script will make the public String tree like this: public String tree = "Oak"; So now the script knows what tree you'd like to chop :). Alright, next thing we need to do is setting the bounds and add it to our settingsPanel. treeList.setBounds(160, 40, 110, 20); settingsPanel.add(treeList); Ok. So far we've created a jFrame, added the settings & start panel, added a Label and added a working comboBox. Your gui class should look like this: public class gui { public void run(main main) { JFrame jFrame = new JFrame("OSBOT GUI Tutorial"); jFrame.setSize(300, 500); jFrame.setResizable(false); JPanel settingsPanel = new JPanel(); TitledBorder leftBorder = BorderFactory.createTitledBorder("Settings"); leftBorder.setTitleJustification(TitledBorder.LEFT); settingsPanel.setBorder(leftBorder); settingsPanel.setLayout(null); settingsPanel.setBounds(5, 200, 280, 180); jFrame.add(settingsPanel); JPanel startPanel = new JPanel(); startPanel.setLayout(null); startPanel.setBounds(5, 350, 70, 20); jFrame.add(startPanel); JLabel treeSelection = new JLabel("Select a Tree:"); treeSelection.setBounds(10, 40, 95, 20); settingsPanel.add(treeSelection); JComboBox<String> treeList = new JComboBox<String>(new String[] { "None", "Tree", "Oak", "Willow", "Yew", "Magic tree"}); treeList.addActionListener(e -> main.tree = (String) treeList.getSelectedItem()); treeList.setBounds(160, 40, 110, 20); settingsPanel.add(treeList); } } Step 4: Adding the start button We're almost done! The only thing we still need to do is: Adding the start button Making the start button work with an actionlistener First, in our main class we need to add a lock. This will prevent the script from starting when the gui is still open. Go to your main class and insert the following code: Object lock = new Object(); Because we call the gui class on start, this will lock the script from running. Next we need to create a button: JButton startButton = new JButton("Start"); Second, create an actionlistener so when the button is pressed, the script will start. startButton.addActionListener(e -> { synchronized (main.lock) { main.lock.notify(); } jFrame.setVisible(false); }); This will unlock the script and the jFrame will dissapear. In other words: your script will start. Third, we need to add some bounds and make the button visible: startButton.setBounds(5, 390, 70, 20); startPanel.add(startButton); And last but not least, set the jFrame to visible otherwise you won't see anything when you start your script. jFrame.setVisible(true); Alright! We are done! Go export your script and check it out. The gui should look like this: Whole GUI Class: public class gui { public void run(main main) { JFrame jFrame = new JFrame("OSBOT GUI Tutorial"); jFrame.setSize(300, 500); jFrame.setResizable(false); JPanel settingsPanel = new JPanel(); TitledBorder leftBorder = BorderFactory.createTitledBorder("Settings"); leftBorder.setTitleJustification(TitledBorder.LEFT); settingsPanel.setBorder(leftBorder); settingsPanel.setLayout(null); settingsPanel.setBounds(5, 200, 280, 180); jFrame.add(settingsPanel); JPanel startPanel = new JPanel(); startPanel.setLayout(null); startPanel.setBounds(5, 350, 70, 20); jFrame.add(startPanel); JLabel treeSelection = new JLabel("Select a Tree:"); treeSelection.setBounds(10, 40, 95, 20); settingsPanel.add(treeSelection); JComboBox<String> treeList = new JComboBox<String>(new String[] { "None", "Tree", "Oak", "Willow", "Yew", "Magic tree"}); treeList.addActionListener(e -> main.tree = (String) treeList.getSelectedItem()); treeList.setBounds(160, 40, 110, 20); settingsPanel.add(treeList); JButton startButton = new JButton("Start"); startButton.addActionListener(e -> { synchronized (main.lock) { main.lock.notify(); } jFrame.setVisible(false); }); startButton.setBounds(5, 390, 70, 20); startPanel.add(startButton); jFrame.setVisible(true); } } The end of this tutorial I hope you liked my tutorial on how to make a simple GUI for your script. Go play around with it and become better with Java Swing. If you have any questions please ask.
  14. TUTORIAL ACCOUNT SHOP Prices: 50+ accounts : 80k/each 10-49 accounts: 100k/each GENERAL INFORMATION: *Regular accounts nothing special with the names *Random Emails * 1 Proxy = 1 Account *3+ days cooldown. Methods of Payment: Osrs Gold Only TERMS AND CONDITIONS: 1) You have one week to report bans. 2) Accounts are refunded via replacements so 1 banned account you get a replacement of 1 account.(1:1 Ratio) 3) Make sure you are trading with me. I am not responsible under any circumstances that you trade or talk to the wrong person. 4) I cannot recover accounts, and any account is your responsibility to keep safe. Skype: Syntaxerror12 Discord: Spag33ti#1959
  15. I want to add in my script the option that when you reach a specific level in "Attack, force or defense" change the attack form to start uploading another melee skill Ex: reach level 30 of attack and I want to change to the mode of "Block" so that it raises defense and later that it changes to "Stab" to raise force when it reaches certain levels. Can you help me with that? if (getSkills().getStatic(Skill.DEFENCE) < 30) { } else if (getSkills().getStatic(Skill.DEFENCE) >=30) { log ("Defence level es 30."); this.stop (false); } I have this code but the only thing it can do is when it reaches level 30 of Defense it stops and I want it to change from Defense to Attack or Force ... to keep reaching melee levels. Please help guys!
  16. TERMS AND CONDITIONS: These accounts not become locked or banned upon purchase. If a lock occurs within ONE HOUR of purchase, you will be given ONE account per incident (1:1); After that, the responsibility of the account is yours. There will be no refunds on sold accounts. You agree to these terms and conditions automatically upon any purchase. 6. The A/W (Auto-win) for your account 200K Each 7. The methods of payment you are accepting 07 GP / PP / ETH 8. Your trading conditions You first, or a MM of choice. 10. Original/previous owners AND Original Email Address (See below for more details) Accounts don't have registered emails. Bought them as tuts. Discord > Ahmet#5559 STOCK: 30
  17. TERMS AND CONDITIONS: The accounts are not locked or banned upon purchase. Once sold I cannot help you recover any account as I don't store any information. Please save the accounts when you receive them as I will delete them from my database. Happy botting . I personally use these for my p2p farm(hunter) and f2p farm and create more to sell. 6. The A/W (Auto-win) for your account Tutorial Island: 50 minimum, 20 cents ea 7 QP: 40 cents ea 7. The methods of payment you are accepting 07 GP / BTC / PP 8. Your trading conditions You first, or a MM of choice. 10. Original/previous owners AND Original Email Address (See below for more details) I am Original Owner of them all. STOCK: Tutorial: 5000 7 QP: out Feel free to PM me. Skype: rob.vc
  18. Selling 10-20 Fresh tutorial accounts . Made by hand by myself . PM me if interested with your offer and how many accounts you need. Thanks!
  19. guac

    [closed request]

    [not looking anymore, thanks] Hey there, I'm looking to buy 100-1000 accounts fresh off tutorial island. Long term supplier would also be appreciated the price will depend on you trust level and the amount of accounts leave your skype name / offer / terms below or pm me. Have a nice day
  20. Hi, I'm willing to offer the OSB community with the following services, free in exchange for + Rep once the service has been completed. *7QP - I'll get 7QP on your account, reguardless of starter cash. *Powerleveling(~12 hours), I'll mirror-mode train your accounts in: -Fishing -Woodcutting -Mining -Combat *Tutorial Island - I'll make an account for you(verified emails/Legit char name), run it through tut island and give you the details, all for a +1 Rep. PM me!
  21. Looking to start selling some tutorial island complete fresh level 3's with unregistered emails. Info about the accounts: Accounts have tutorial island complete and are standing in the spawn area. Emails have not been verified (You can register to your email if you like) Randomly generated names (Can be custom upon request) Left on a cool down period if requested Guaranteed no locks. If there is a lock, I will replace it with two free accounts I'm the original owner FRESH off tutorial island account prices: 1-100 Accounts - 89k each 100-999 Accounts -74k each 1000+ Accounts: 59K each (Please give adequate notice, in case another client recently bought a large package) 24h+ ingame w/ trade restrictions lifted account prices: You've always heard that the first 24 hours of online time for an account are much more likely to get you banned for botting, and it's very true. All accounts are placed during increased scrutiny during their first ingame hours. Below are prices for accounts that have been idled in game with my personal private idler script for 25h+. Not only does this bypass the trade restriction without the need for completing 7QP thus lowering your banrate on any F2p script.. But my proprietary software will put 25 LEGIT looking fully undetectable hours onto your bot to give it the competitive edge you need to get maximum profit. This is the EXACT same script I use on my own personal main with > 1B bank when I idled on w45 to buy/sell items for hundreds of hours Don't fool around using "7QP" scripts that waste your botting hours and flag your account, instead let me do the work for you and actually increase the longevity of your bots! 1-100 Accounts - 499K each 100+ Accounts -399k each Stock availability: 150 accounts per day. To ensure that I am not out of stock when your needs arise, please notify me 24H in advance if you want idled accounts. Payment methods accepted: 07RSGP - BTC Note: Convert RSGP to USD at 1M:$1, for prices in BTC. Trading conditions: After purchase you have 1 hour to report a ban/lock for a free replacement. After 1 hour I am not responsible for any locks or bans. All accounts i give you are unused. If you desire an account to be recovered, it will not be possible due to them being made on different IP's. I will not recover/use any accounts sold You will go first, or we will use a middleman Trial accounts remaining: 0 / 100 Sorry guys they're all gone!
  22. Hey, My name is Brandon and i'm trying to get into the powerleveling/helping industry. I can do anything and everything you need and i can do it all by hand if you want, or lightly bot some of it i have premium scripts that are the only ones i would use on the account if you say it's okay, if not it will be done all by hand Feel free to add me on skype for possible business : Brandon.neal691
×
×
  • Create New...