Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/14/18 in Posts

  1. 1. DO NOT use absolute positioning (null layout), it's harder to maintain, and can easily looked fucked up on different systems with different configurations. 2. DO NOT use GUI designers/builders, they produce bad code which is hard to maintain, and often is not the best way to build the GUI. You also cannot achieve more advanced things if you're using a builder. Another good reason to do it "by hand", is so that you actually know what you are doing, you will learn nothing from a GUI builder. 3. Look at https://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html, by combining these layout managers in nested JPanels you can easily achieve your desired GUI Here is an example using the GridBagLayout: https://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html#gridbag import javax.swing.*; import javax.swing.border.EmptyBorder; import java.awt.*; import static java.awt.GridBagConstraints.HORIZONTAL; import static java.awt.GridBagConstraints.NONE; public class GUI { private final JFrame jFrame; public GUI() { jFrame = new JFrame("Pigeon GUI"); JPanel mainPanel = new JPanel(new GridBagLayout()); GridBagConstraints gbc = new GridBagConstraints(); jFrame.setContentPane(mainPanel); mainPanel.setBorder(new EmptyBorder(10, 10, 10, 10)); JLabel titleLabel = new JLabel("Pigeon GUI"); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 4; gbc.insets = new Insets(0, 10, 20, 10); mainPanel.add(titleLabel, gbc); JLabel nameLabel = new JLabel("Name:"); gbc.gridx = 0; gbc.gridy = 1; gbc.gridwidth = 1; gbc.insets = new Insets(0, 0, 0, 5); mainPanel.add(nameLabel, gbc); JTextField nameField = new JTextField(20); gbc.gridx = 1; gbc.gridy = 1; gbc.gridwidth = 1; gbc.insets = new Insets(0, 0, 0, 0); mainPanel.add(nameField, gbc); JScrollPane whitelistScrollPane = new JScrollPane(); JList<String> whitelist = new JList<>(); whitelistScrollPane.add(whitelist); gbc.gridx = 2; gbc.gridy = 1; gbc.ipadx = 200; gbc.ipady = 200; gbc.gridwidth = 2; gbc.insets = new Insets(10, 10, 0, 10); mainPanel.add(whitelistScrollPane, gbc); JButton insertButton = new JButton("Insert"); gbc.gridx = 2; gbc.gridy = 2; gbc.fill = HORIZONTAL; gbc.weightx = 0.5; gbc.gridwidth = 1; gbc.ipadx = 0; gbc.ipady = 0; gbc.insets = new Insets(10, 10, 0, 10); mainPanel.add(insertButton, gbc); JButton deleteButton = new JButton("Delete"); gbc.gridx = 3; gbc.gridy = 2; gbc.fill = HORIZONTAL; gbc.weightx = 0.5; gbc.gridwidth = 1; gbc.ipadx = 0; gbc.ipady = 0; gbc.insets = new Insets(10, 10, 0, 10); mainPanel.add(deleteButton, gbc); JButton startButton = new JButton("Start"); gbc.gridwidth = 4; gbc.gridx = 0; gbc.gridy = 3; gbc.fill = NONE; gbc.insets = new Insets(20, 10, 0, 10); mainPanel.add(startButton, gbc); jFrame.pack(); // resize the JFrame so that all the components are at or above their preferred sizes jFrame.setLocationRelativeTo(null); // center the gui on screen } public void open() { jFrame.setVisible(true); } public void close() { jFrame.setVisible(false); jFrame.dispose(); } public static void main(String[] args) { SwingUtilities.invokeLater(() -> new GUI().open()); } } Here is another example purely using nested JPanels with BorderLayout and FlowLayouts. import javax.swing.*; import javax.swing.border.EmptyBorder; import java.awt.*; public class GUI { private final JFrame jFrame; public GUI() { jFrame = new JFrame("Pigeon GUI"); // We want to split the GUI into three sections, title at the top, inputs in the middle, start button at the bottom // To do this we use a BorderLayout: https://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html#border JPanel mainPanel = new JPanel(new BorderLayout()); mainPanel.setPreferredSize(new Dimension(500, 400)); jFrame.setContentPane(mainPanel); // use this panel as the main content panel for the GUI // Create a JPanel to contain the title. Here we use a FlowLayout https://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html#flow // We set the alignment to FlowLayout.CENTER so the title appears in the middle. JPanel titlePanel = new JPanel(new FlowLayout(FlowLayout.CENTER)); titlePanel.setBorder(new EmptyBorder(5, 5, 5, 5)); // We give the JPanel an empty border of 5px, so that there is some padding JLabel titleLabel = new JLabel("Pigeon GUI"); titlePanel.add(titleLabel); mainPanel.add(titlePanel, BorderLayout.NORTH); // Add the title to the North side of the main panel // Create a JPanel to contain the main GUI inputs (textfield and whitelist) JPanel inputsPanel = new JPanel(new BorderLayout()); // Create a JPanel to contain the name label and name input JPanel namePanel = new JPanel(new FlowLayout(FlowLayout.LEFT)); namePanel.setBorder(new EmptyBorder(10, 10, 10, 10)); JLabel nameLabel = new JLabel("Name:"); namePanel.add(nameLabel); JTextField nameField = new JTextField(20); namePanel.add(nameField); inputsPanel.add(namePanel, BorderLayout.WEST); // Create a JPanel to contain the whitelist and buttons JPanel whitelistPanel = new JPanel(new BorderLayout()); whitelistPanel.setBorder(new EmptyBorder(10, 10, 10, 10)); inputsPanel.add(whitelistPanel, BorderLayout.EAST); // Create a JScrollPane to contain the whitelist // Add the JScrollPane to the whitelistpanel above JScrollPane whitelistScrollPane = new JScrollPane(); JList<String> whitelist = new JList<>(); whitelistScrollPane.add(whitelist); whitelistPanel.add(whitelistScrollPane, BorderLayout.CENTER); // Create a JPanel to contain the whitelist buttons JPanel whitelistButtons = new JPanel(new FlowLayout(FlowLayout.CENTER)); JButton insertButton = new JButton("Insert"); whitelistButtons.add(insertButton); JButton deleteButton = new JButton("Delete"); whitelistButtons.add(deleteButton); whitelistPanel.add(whitelistButtons, BorderLayout.SOUTH); mainPanel.add(inputsPanel, BorderLayout.CENTER); // Add the inputs panel to the centre of the main panel // Crete a JPanel to contain the start button JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.CENTER)); buttonPanel.setBorder(new EmptyBorder(5, 5, 5, 5)); JButton startButton = new JButton("Start"); buttonPanel.add(startButton); mainPanel.add(buttonPanel, BorderLayout.SOUTH); // Add the button panel to the south of the main panel jFrame.pack(); // resize the JFrame so that all the components are at or above their preferred sizes jFrame.setResizable(false); jFrame.setLocationRelativeTo(null); // center the gui on screen } public void open() { jFrame.setVisible(true); } public void close() { jFrame.setVisible(false); jFrame.dispose(); } public static void main(String[] args) { SwingUtilities.invokeLater(() -> new GUI().open()); } }
    3 points
  2. CzarScripts #1 Bots LATEST BOTS If you want a trial - just post below with the script name, you can choose multiple too. Requirements Hit 'like' on this thread
    2 points
  3. funny you should mention that! for the low price of 9.99 for life, you could own your very own FruityNMZ!
    2 points
  4. Ur missing the ban status.
    2 points
  5. by Czar Buy now (only $8.99!) 143 HOURS IN ONE GO!!!!! update: this bot is now featured on the front page of osbot! More reviews than every other fishing bot combined! 100 hour progress report!!! How to use Script Queue: ID is 552, and the parameters will be the profile name that you saved in setup! This process is really simple, just to save you headache
    1 point
  6. Want to buy with OSGP? Contact me on Discord! Detailed feature list: - Account builder mode to level your firemaking to level 50 or even higher. - Equips pyromancer gear option - Chopping and burning logs (base Option) - Relights brazier - Fletch option - Fix brazier option - Make potion and heal pyromancer when down option - Tons of food supported - Brazier swicthing when pyromancer is down - Advanced game settings to skip games, smart caluclate points, afk at certain points, ... - Bank or Open crates - Dragon axe special attack - Fletch at brazier option - Chop in safespot option - Worldhopping - CLI support for goldfarmers Custom Breakmanager: - Setup Bot and break times - Randomize your break times - Stop script on certain conditions (Stop on first break, Stop after X amount of minutes, Stop when skill level is reached) - Worldhopping - Crucial part to botting in 2023! Script queueing: - Support queueing multiple script in a row - All Khal scripts support flawless transitions in between scripts - Start creating your acc in a few clicks from scratch to multiple 99's - Flawless CLI support - Learn more here: How to use CLI parameters: - Example Usage: -script 909:ScriptFile.BreakFile.DiscordFile SAVEFILE = Saved Filename BREAKFILE = Breakmanager Filename - SAVEFILE: Save file can be created in the GUI. Navigate to the tab you want to run and press "Save As CLI file". Please choose your filename wisely (No special characters) - BREAKFILE (Optional): Breakfile can also be create in the GUI, set the breaksettings you wish to use and press "Save new CLI BreakFile". Please choose your filename wisely (No special characters) - Final form (Note that with some bot managers you do not need to specify -script 909): -script 909:TaskList1.4515breaks (With breaks) -script 909:TaskList1.4515breaks.discord1 (With breaks & discord) -script 909:TaskList1..discord1 (NO breaks & discord) Proggies:
    1 point
  7. View in store $5.99 for lifetime access _____________________________________________________________ Key Features: Progressive mode - The script will traverse the xp-optimum course for your current level; walking to the next course as your level increases. Reliability - The script was developed and rigidly tested with superior reliability in mind. Human replication - Designed around human simulation - behaviour tuned to replicate common rooftop play styles. Alching / Magic Imbue - The script can be configured to High/Low Alch items, or cast Magic Imbue as it traverses the course. Target system - Can be optionally configured with a target. Once this target is achieved, the script will stop. Available targets (variable λ): Stop when λ agility exp gained. Stop when agility level λ reached. Stop when λ magic exp gained. Stop when magic level λ reached. Stop when λ minutes passed. Healing - The script will consume edible items in your inventory to restore health, stopping if you run out of food. Mark of Grace looting - All marks of grace are looted while the script traverses the rooftop. Randomisation - All thresholds (including but not limited to Run energy and Critical Hp) are dynamically randomised. Energy restoration - The script will consume energy restoring items/potions when needed, provided they are available in the inventory. Web-Walking - The script utilises the OSBot Web to navigate the OSRS map, meaning it can be started from almost anywhere. Course detection - If you are on/near a rooftop course before setup, the course will automatically be loaded into the GUI. Error correction - The script will detect when it has made a mistake (e.g. climbed ladder in seers' bank) and will attempt to return to the course. ...and many more! Supported Rooftops: (Level 10) Draynor ✓ (Level 20) Al-Kharid ✓ (Level 30) Varrock ✓ (Level 40) Canifis ✓ (Level 50) Falador ✓ (Level 60) Seers' Village ✓ (Level 70) Pollnivneach ✓ (Level 80) Rellekka ✓ (Level 90) Ardougne ✓ Things to consider before trying/buying: Avoiding bans - while I have done my utmost to make the script move and behave naturally, bans do occasionally happen, albeit rarely. To minimise your chances of receiving a ban, I would strongly suggest reviewing this thread written by the lead content developer of OSBot. If you take on board the advice given in that thread and run sensible botting periods with generous breaks, you should be fine. That being said, please keep in mind that botting is against the Oldschool Runescape game rules, thus your account will never be completely safe and you use this software at your own risk. Web-walking - alongside a network of paths, the script moves around with the OSBot web-walking system, using it when in unknown territory. While it has proven very reliable, there are naturally some areas for which the web-walker may struggle. As a result, prior to starting the script, I would strongly recommend manually navigating your player to/close to the desired rooftop course. Progressive mode - the script features 'Progressive mode' which will cause the script to advance rooftop courses as you level up. Progressive mode relies on the aforementioned web-walking system for inter-rooftop navigation. Consequently, I would highly recommend monitoring the script as it traverses between courses to ensure the web-walking process correctly executes. Healing & Energy restoration - the script will automatically heal or restore run energy when needed. It will do so by consuming items in the inventory - this script will not bank. For optimal exp rates, I would strongly suggest keeping energy restoring items in the inventory (energy/super energy/stamina/fruits/summer pies/purple sweets/...). To prevent the script stopping prematurely, bring a few bites of food along. Using magic - The script supports the periodic casting of a magic spell while traversing a course to maximise experience rates. To determine whether or not you can cast a spell, the script checks your magic level as well as which runes are in your inventory and which stave you have equipped (if any). It is worth noting that, at this time, the script does not recognise any of the following items as rune sources, so avoid using them while running this script: Bryophyta's Staff, Tome of Fire, Rune Pouch. Script trials: I believe that trying a script before buying is paramount. After trying the script, hopefully you will be convinced to get a copy for yourself, but if not you will have gained some precious agility experience! If you're interested in a trial, please follow the instructions on my trials thread which can be found here. Gallery: Review (by Eduardino): Start up GUI (Graphical User Interface): Paint (optional, movable and self-generating): User screenshots: Testimonials:
    1 point
  8. Cape's AIO Progressive Woodcutter Created by @Team Cape Need quick levels but don't want to keep restarting your bot to go from trees, to oaks, to willows, to maples, to yews, etc? Want to get WC over with, or just make some quick GP? Want to get that Lost City requirement out of the way, but can't bare the monotony of woodcutting? Cape's AIO Progressive Woodcutter is YOUR solution. Features: 1. Create and add your own tasks for the script to execute! 2. Task-based progression! Watch this script flawlessly switch from Lumbridge trees, to Draynor oaks, to Draynor willows, to Camelot maples, Camelot yews, and so forth! Until you want it to stop! 3. OR use custom mode - Start the script at the location you want to woodcut at, type the name of the tree, and start chopping those trees! Need to bank instead of powerchopping? Just select the bank from the list, and let it go! 4. Banking - You get to CHOOSE which tasks you bank on! 5. Powerchop - You get to CHOOSE which tasks you powerchop on! 6. Automatically takes the best axe from your bank and upgrades as the script continues! Just tick banking on, and watch the script upgrade from iron, to steel, to any better axe that you have! 7. Supports all trees! 8. Supports the Woodcutting Guild! 9. Supports Powerchopping and Banking at Redwood Trees! 10. Takes Bird Nests if Desired! 11. Supports the Dragon Axe Special if you Tick the Box! 12. Draw tree models, so you can see what tree is about to be chopped next, and the tree that the script is currently planning on chopping! 13. 50+ Preset Locations created, meaning there are a virtually infinite number of paths that you could take to level your woodcutting! 14. Custom-created location lookup, so you can easily find and pick which location you want to chop at! 15. A sleek GUI that you can easily use to setup your personal leveling path, and a flawless paint to show how your levels have progressed and the task you're currently on! 16. Flawlessly created to give you flawless results! Want more locations? Just ask in the thread below! Antiban / Antipattern: 1. Random & Dynamic Sleeps Utilized in Each Action and Loop! 2. Enable Timing Anti-Pattern and Watch as the Script Changes Sleeping Times Used Every Few Minutes, Meaning Your Sleeping Times Never Have One Consistent, Uniform Distribution! 3. Utilize AFK Mode to go Randomly AFK, Like a Real Player! 4. Random Actions Utilized to Keep You Logged In! Where can I obtain this script? Simply go into the Woodcutting section of the OSBot store, found at the link below, and scroll to the bottom! Pay $8.99 once, and enjoy unlimited usage of this unique script! https://osbot.org/mvc/sdn2/scripts/20 How do I Start to Use this Script!? After buying the script from the OSBot store for just $8.99, simply load up the client, go into your script selector, and the script will have appeared in your list! Click on it, press start, and the GUI will pop up! From there, create whatever tasks and select whatever settings YOU want! What if I don't Want/Need to Progressively Level? That's fine! Just use custom location mode, OR use a preset location and set it to start at your current level! The script will work exactly as desired! How Do I Set Up Progressive Leveling? In the GUI, you'll be given the unique option to add in custom woodcutting tasks! Here is how it's done! 1. Open the second tab of the GUI (Progression Tab) 2. Select a location from the drop-down menu (There are over 50! so there is a location lookup option if you choose to use it!). 3. After selecting a location, check whether you want to bank when using the task (if left unchecked, it will powerchop for you!) 4. Set what level you want to start the task at! 5. From there, just hit 'Add Location', and you'll see your task immediately pop up in the task list! 6. Add in as many tasks as you want! Happy botting! What's the catch? There is none. Just a flawless script. It really is that simple. Can I get a free 24 hour trial of the script? Of course! Just drop a like on the thread and ask for a trial below! Last proggie courtesy of @Scripter_Leo! Like the script? Post a proggie below, or rate the script on the store! Those are the best ways to help out! Script GUI: If you really enjoy the script, rate it 5 stars on the OSBot store or comment below with a proggie!
    1 point
  9. Molly's Chaos Druids This script fights chaos druids in Taverly dungeon, Edgeville dungeon and Ardougne. Profits can easily exceed 200k p/h and 60k combat exp/ph, this is a great method for training low level accounts and pures. Buy HERE Like this post and then post on this thread requesting a 24hr trial. When I have given you a trial I will like your post so you will receive a notification letting you know you got a trial. Requirements - 46 Thieving for Ardougne -82 Thieving and a Lockpick for Yanille - 5 Agility for Taverly(recommended) - No other requirements! Though I do recommend combat stats of 20+ as a minimum Features: - Supports eating any food - Hopping out of bot worlds - Recovers from deaths(respawn point must be lumbridge), includes re-equipping items on death - Potion support - Automatically detects and withdraws/uses Falador teleport tabs if using Taverly dungeon - Automatically detects and withdraws/equips/uses glories if using Edgeville dungeon - Supports looting bag Setup: Start the script, fill out the GUI, and be in the general area of where you want to run the script. CLI setup: Proggies: In the works: Known bugs: Bug report form, this is a MUST for problems to be resolved quickly: Description of bug(where, what, when, why): Log: Your settings: Mirror mode: Y/N
    1 point
  10. nice to know theres allot more people enjoying the traffick in Toronto like I do...and the retards driving around in Toyotas ….seems like every retard driving drives a Toyota...
    1 point
  11. 1 point
  12. Worst could happen is they say no. Might as well give it a shot
    1 point
  13. 1 point
  14. Welcome to Hell Jokes pleasure to have ya here
    1 point
  15. 1 point
  16. i have an 70def 80range 85mage with regicide/avas only need mage cape just pm me if u like to buy it
    1 point
  17. say im sorry bro
    1 point
  18. GUI builders let you pick which layout you want to use. This is important. A null layout will require you to specify the size and position of every component, whereas other layouts (GridBagLayout, BoxLayout, FlowLayout) automatically arrange your components, but you get to specify how they're arranged. You should write your own GUIs from scratch so you can build your GUIs exactly how you need them to be. I've never used that builder, so no comment. You're welcome. You're using a GUI builder. Why would somebody make an advanced tutorial for you when you're not going to learn the how's/why's of the actual underlying code?
    1 point
  19. Great script, helped me get 99 and level alts as well. Everything was smooth and flawless. A lot of the issues that occur with this script are because of human error and people just not reading the instructions. Thanks again @Eagle Scripts
    1 point
  20. v2 fix has been pushed as mentioned above, join discord for updates: https://discord.gg/W3PUkpQ everyone who has v2 also has v1 as v2 is in testing stages, use v1 whilst it is down and ill update when its back up
    1 point
  21. Fix had been pushed for now dont use barrows gear and tick "repair barrows items" or use v1
    1 point
  22. I would personally look at adding banking due to me using sandcrabs until NMZ stats (like 1-60 att and str) and at those lvls it would most likely need to bank. Other than that it looks really nice.
    1 point
  23. You know where to find me if you decide you want it done
    1 point
  24. your death rate will be reduced since eagle added Fenkenstrain's Teleport.
    1 point
  25. most definitely, just google fortnite acc trading
    1 point
  26. He'll learn from my grade A code.
    1 point
  27. (Yes, that's me mining in the orange shirt)
    1 point
  28. switched from blue to greens thank you very much
    1 point
  29. 1 point
  30. https://www.mathsisfun.com/algebra/trig-interactive-unit-circle.html Play around with this. Edit: My mistake it looks like you already did some research, I'll toy around with it this weekend. Im sure there's some sort of reason.
    1 point
  31. I was looking to some snippets and found a camera system from @Lemons and there is that thing which confused me.. Here are the functions implementation of moving the current angel of the camera to a specific position/direction public void moveNorth() { int r = Script.random(0, 30); if (r > 15) r = 375 - r; moveYaw(r); } public void moveWest() { moveYaw(75 + Script.random(0, 30)); } public void moveSouth() { moveYaw(165 + Script.random(0, 30)); } public void moveEast() { moveYaw(255 + Script.random(0, 30)); } And I was trying to write functions to check where the camera direction is and came up with the following: public boolean isNorth() { return (getYawAngle() >= 0 && getYawAngle() < 75) || getYawAngle() == 360; } public boolean isWest() { return getYawAngle() >= 75 && getYawAngle() < 165; } public boolean isSouth() { return getYawAngle() >= 165 && getYawAngle() < 255; } public boolean isEast() { return getYawAngle() >= 255 && getYawAngle() < 360; } It is a little bit strange to me because it should be north, east, south, and west and the angels should be 0-90, 90-180, 180-270, 270-360 However, it seems to be counterclockwise and 0-90 would include both east and north https://www.mathsisfun.com/geometry/images/degrees-360.gif In this case, north should be -75-75 not 0-75 but someone seems to have defined it that way and it looks rather arbitrary. (Might be the absolute value of that range, as Zappster told me from chats). My question is "why's this thing like that?" Is it because the developer made it that way? Another question is.. Why when checking west, the range is 75-165 but when moving to west, the range is 75 + 0,30 which could maximally reach 105? In addition, could someone help me write a function to check the north-east or south-west direction then?
    1 point
  32. You should try it, for what I've been using it for (don't want to leak) it's been VERY effective. In regards to the bot bit you mentioned, you wouldn't loop one cycle of whatever you're doing. You'd loop like 15+ mins of whatever it is you're wanting to loop. Bot smart friend
    1 point
  33. There are many factors which can result in a ban, and worst of all bans are unpredictable and pretty random. To minimise your chances, play it safe - keep sessions short, use generous breaks, play legitimately in between, and most of all, make sure you accept that there is always a risk! Don't bot on an account that you don't want to get banned. -Apa
    1 point
  34. Added a new feature today for mining and woodcutting! Added Equipment type support! Now you may choose between automatically upgrading equipment, or selecting a static piece of equipment to use from Bronze -> Dragon!
    1 point
  35. IIRC there was an update where you can create, move around and delete rooms from an interface in the settings menu. That should be your starting point! Also, widgets are what you're looking for: https://osbot.org/api/org/osbot/rs07/api/Widgets.html Apa
    1 point
  36. I would say 40M would be the correct starting bid.
    1 point
  37. Code looks clean well done. Only thing I'd suggest is using Conditional sleeps.
    1 point
  38. ah, back when u could bot and no one at Jagex HQ asked questions about how you simultaneously did frost dragons on 15 accounts for 40 hours straight. good times
    1 point
  39. V1.02 Has Been Pushed - V1.02 Fenkenstrain's Teleport Added.
    1 point
  40. Trial please? just tried made 2 accs for orbing but the script i thought was good on Advertising other bots isn&#39;t allowed. actually sucks.. trying to find another option
    1 point
  41. "Convert strings from files to generate different classes", so essentially ClassReader/Loader? That's not really necessary when you could probably use serialization for whatever you are doing instead - or perhaps it can just be solved with simple file management? We would need more context on what you're trying to do.
    1 point
  42. 1 point
×
×
  • Create New...