Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

creationx

Members
  • Joined

  • Last visited

Everything posted by creationx

  1. creationx replied to SmaTTeR's topic in Archive
    none of that. Declare the following as I said before. (Declare meaning just write it down in your script) Area banks = new Area (x1, y1, x2, y2); Make sure you plug in the coordinates . When you declare an area, it makes a square area between the two points listed. then anytime you want to walk back to the area, use getWalking().webWalk(banks); that tells the script to start walking (getWalking()), and to use the webWalking method to get to the predefined area of Banks. I'll literally spell it out for you, which might help. Area banks = new Area (x1, y1, x2, y2); Area - what we type to start declaring a new area. banks - the name of the area. can name it anything, this is what we call to later. = - equals - it means that the new Area called banks will equal whatever follows. new Area = we're defining a new area that is at the following coords (x1, y1, x2, y2) = these are the coordinates to draw the Area. the Area is an imaginary rectangle between the first set of coords and second. getWalking() - tells the script to start walking webWalk(banks) - tells the script to webWalk to the predefined area 'banks'.
  2. creationx replied to SmaTTeR's topic in Archive
    hai Parker. Glad you made it to the forums Can't wait to do some scripting together. Step 1. Define your bank area. -Go to Settings->Options->Debug->Entity Hover Bug ON. -Go to the bank area where you would like to bank at. -Find one corner and log it's x and y. (this is x1, and y1) (because they are the x,y of our 1st selection) -Find another corner and log it's x and y. (this is x2, and y2) (because they are the x,y of our 2nd selection) -Write the x and y down where it should be in our code. -REFERENCE PICTURE. Picture 1 shows how to grab x1 and y1, Picture 2 shows how to grab x2 and y2, picture 3 shows the area that is generated by the code once you type it in. Area BankArea = new Area (x1, y1, x2, y2); //First you declare a predetermined area for bank. Area BankArea = new Area (2721, 3493, 2729, 3487); //now we fill it in, we now have a bank area! Now that we have our defined bank area, we move on. Step 2. Set your script up to call for the action. -Add a case in your switch (getState() area called 'DEPOSIT' or whatever you want. -REMEMBER that codes read lines top to botttom, so write what it carefully. case DEPOSIT: log("We need to deposit our inventory!"); //logs in console what we are doing. helpful when starting. if (!bank.isOpen && BankArea.contains(myPlayer()) { objects.closest("Bank booth").interact("Bank"); } if (!bank.isOpen && !BankArea.contains(myPlayer()) { getWalking().webWalk(BankArea); } BREAKDOWN: Remember that ! means the reverse is true. so bank.IsOpen will check if bank is Open, !bank.isOpen will check if the bank is NOT open. if (!bank.isOpen && BankArea.contains(myPlayer()) { //if the bank isn't open & we are in the bank area objects.closest("Bank booth").interact("Bank"); ///find closest booth and open it up. } if (!bank.isOpen && !BankArea.contains(myPlayer()) { //if the bank isnt open & we ARENT in bank area getWalking().webWalk(BankArea); ///we need to walk to the bank. } Step 3. Having the script call for this action 1. find your private State getState() area. 2. This is the part of the code the script uses to figure out WHAT TO DO. 3. Make a if statement that checks if we have an inventory full of cooked/burnt food. A better way to check may be to check if there are no raw food left. if (!inventory.contains("Raw lobster") && inventory.contains("Lobster")){ return State.DEPOSIT; } BREAKDOWN if (!inventory.contains("Raw lobster") && inventory.contains("Lobster")){ Remember ! means the opposite. If we DONT have anymore Raw Lobsters && AND we DO have lobsters in the inventory, we can conclude that, yes, the cooking has stopped. return State.DEPOSIT; We will go to the deposit clause. SO FROM TOP TO BOTTOM. DECLARE THIS AT THE TOP OF THE SCRIPT, AFTER 'public class main extends Script' Area BankArea = new Area (2721, 3493, 2729, 3487); ADD THIS TO YOUR CASES, Be sure to add "DEPOSIT" to your State enum as well (list of cases) case DEPOSIT: log("We need to deposit our inventory!"); if (!bank.isOpen && BankArea.contains(myPlayer()) { objects.closest("Bank booth").interact("Bank"); } if (!bank.isOpen && !BankArea.contains(myPlayer()) { getWalking().webWalk(BankArea); } ADD THIS TO YOUR switch getState() if (!inventory.contains("Raw lobster") && inventory.contains("Lobster")){ return State.DEPOSIT; }
  3. private void createGUI(){ gui = new JFrame("GUI"); gui.setBounds(100, 100, 136, 227); gui.setVisible(true); gui.setResizable(false); JPanel panel = new JPanel(); gui.add(panel); panel.setBorder(new EmptyBorder(5, 5, 5, 5)); JLabel lblRockCrabs = new JLabel("ROCK CRABS"); lblRockCrabs.setFont(new Font("Arial", Font.BOLD, 14)); lblRockCrabs.setBounds(10, 11, 100, 14); panel.add(lblRockCrabs); JLabel lblFood = new JLabel("Food"); lblFood.setBounds(45, 94, 30, 14); panel.add(lblFood); JComboBox<String> comboBox_1 = new JComboBox<String>(); comboBox_1.setBounds(10, 112, 95, 20); comboBox_1.addItem("SELECT ONE"); comboBox_1.addItem("Lobster"); comboBox_1.addItem("Swordfish"); comboBox_1.addItem("Shark"); comboBox_1.addItem("Lobster"); comboBox_1.addActionListener(e -> foodSelected = comboBox_1.getSelectedItem().toString()); panel.add(comboBox_1); JLabel lblVersion = new JLabel("version 1.0"); lblVersion.setBounds(20, 22, 54, 14); panel.add(lblVersion); JButton btnStartScript = new JButton("START"); btnStartScript.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { started = true; gui.setVisible(false); } }); btnStartScript.setBounds(24, 154, 71, 23); panel.add(btnStartScript); } For some reason the GUI is not showing up fully. It pops up with nothing on it, and I have to hover my mouse over it to suddenly make everything show up. Then it acts normally and I can select my options and move on. What is happening? I followed two tutorials the best I could, but there is clearly something I missed, as other scripts have no problem.
  4. logged in, used bank, got kicked, disabled. cheeky cunts eh edit: damn it was only a 2 day hell yeah.
  5. Someone way more important than you.
  6. I don't understand? Paranoia should not be so taboo. It has kept my family, my life, and least importantly my accounts safe from trouble. This has been proven true in more than one occasion. It's at least one person's job at Jagex to ban bots, which means, in simplest terms, banning bots puts food on the table for someone. I run a bot farm, so I definitely believe that they have a bounty on my head specifically. All of that being said, if there is even one person out there that's whole purpose in life is to ban accounts that break rules, I'll take every precaution possible not to get caught by them. Paranoia =/= precaution. Just because I take the needed steps to not get banned doesn't mean I'm losing sleep over it in the middle of the night. I think of things on the deepest level, implement the methods required to navigate past detection, and enjoy my botted stats while still being able to have an active life. In no ways am I staying up all day/night worrying about my accounts, lmao. They are simple game accounts. But of course I take the required steps to keep them safe. Only fools would suggest to do otherwise.
  7. >calls a sig cancer >shitposts cancer
  8. alwkerjawelrajeraiweroawejrawera fcking gmauler gone but still have my 99 stat wat
  9. RIP my pure, 99 account is still going though. FUCKin JAMFLEX
  10. fixed link. idk what happened.
  11. jk my fucking scripting sucks im a cock sucking loser
  12. First off thanks to both of you for helping me out here. Explv could you break that down and explain the logic behind it? Like let me know what each piece of it does. I know it's cumbersome but that's the best way for me to learn, I'd really appreciate it
  13. So I'm coding my rock crabs script and currently it generates a random number and uses that number to pick a rock crab spot to travel to. This seems a little bad to me and I want to do something different. How would I go about making my character walk to the closest given location in a list of locations. So the logic would be something like -Look at rock crab positions -Find rock crab position closest to me -walk to closest position How would I go about scripting that?
  14. Yeah previously had asked how to grab closest crab, didn't realize I already knew how to, haha. Cheers
  15. Is that any different than npcs.closest("Rock crab"); ?
  16. XRock Crabs - GET THOSE COMBAT LEVELS! This script will help you get those pesky combat levels on your pure without having to go down to the Stronghold and destroy your food supply! VERSION CHANGES Alpha - Version 0.3 (9/24/2016) *initial release HOW TO RUN THIS SCRIPT 1. Start with a full inventory of Lobsters & a bunch of camelot teleports. You may start at the rock crabs or at the bank. 2. set your preferred method of training (attack/strength/defense) 3. Run script. IMPORTANT NOTICE TO USERS: This script may still be unstable. Use at your own risk. Until you see Version 1.0, it runs the risk of bugging out. This script was coded in hopes to learn how to generate random cases, how to handle a combat script, and learn a bit more complicated coding. MUST START IN CAMELOT BANK OR IN EAST ROCK CRABS AREA. HAVE NOT TESTED OTHERWISE. That being said, you can start in Bank and it will run to the crabs and train for you. It will attack and heal if needed, and reset if the crabs aren't aggressive. It will attack close crabs if there are any, and make sure not to attack other people crabs. Once you run out of food, the script will tele back to camelot and get some more food. HOW TO RUN THIS SCRIPT FOR A LONG TIME AT IT'S CURRENT STATE I'm very confident in that if you start with 100 camelot tabs and 1000 lobsters, as well as starting in the bank area or the crabs area, you will be able to run this script flawlessly for quite some time. It has already been running for 2 hours on my system, and while it seems a little clunky, it gets the job done. This is a work in progress! remember that. Known Bugs: *Some of the crab locations are slightly off *Will occasionally attack another players crab once before backing off. *Chooses random crabs as oppose to a closer crab. Not so much a bug as a slight annoyance. FUTURE FEATURES: *Antiban *Other food support *Precise choosing of crabs *GUI *level goals & Attack switching *looting [download removed. perfecting and putting on SDN] I do a lot of work in life and this is a fun hobby for me. While I may not be able to provide the fastest services to my scripts, I do want to make the end user (that's you) happy. Please post feedback on what you would like to see. If there are bugs REPORT them. If you got a 8 hour - Let me know. Enjoy SCRIPTERS: Figured it out! Thanks for your help. END USERS: I highly recommend using this script in an emptier world because of how toxic some rock crab trainers can be. I wanted to get it out early so you may all test and let me know what you want from the script. This is a community and I need your help to make the best script for all of us. Thank you. WANT TO KEEP MY SCRIPTS FREE? - Consider donating 07GP, membership, or bonds my way. All 3 will help in the development in new and more secure scripts. PM me if you would like to contribute, and I thank you for your support.
  17. Ah shit you are right, it actually doesn't need to be there anymore, it's shit code. I had a whole different layout earlier this morning before I rewrote the script and that must have stuck in there. I'm gonna take it out and see how it works. Thanks for the tips! Hopefully I'll get scripter rank someday
  18. Went from 38-53 this morning with no problems! Let me know if you have the same success
  19. Anyone who is currently using I suggest you switch to 0.5 as I've made it slightly more efficient.
  20. Awesome man, glad to hear! So you can actually look into my .jar file to see my code? That's awesome. Could you give me any tips on what I may or may not be doing correctly.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.