Jump 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.

JaggerNotchas

Members
  • Joined

  • Last visited

  1. i fixed it kinda but still throwing these errors: https://gyazo.com/3e92e2cb80ac5a01ba05135fab31a4f8 import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "WoodcutterScript", author = "Pgreen", version = 1.0, info = "Basic Woodcutting Script", logo = "") public class WoodcutterScript extends Script { private long startTime = System.currentTimeMillis(); private int logsCut = 0; private static final Area TREE_AREA = new Area(3163, 3287, 3167, 3290); @Override public void onStart() { log("Starting Woodcutter script..."); } @Override public void onExit() { log("Stopping Woodcutter script..."); } @Override public int onLoop() throws InterruptedException { // The onLoop() method contains the main logic of your script // Put the actions you want to repeat here // If we don't have an axe equipped, let's equip one if (!getEquipment().isWearingItem("Bronze axe") && !getInventory().contains("Bronze axe")) { getEquipment().equip("Bronze axe"); return random(1000, 1500); // Wait for the equipment screen to open } // If our inventory is full, let's go to the bank and deposit the logs if (getInventory().isFull()) { getBank().open(); getBank().depositAll("Logs"); getBank().close(); } else { // If we're not in the tree area, let's walk there if (!TREE_AREA.contains(myPlayer())) { getWalking().webWalk(TREE_AREA); } else { // If we're in the tree area, let's cut trees RS2Object tree = getObjects().closest("Tree"); if (tree != null && tree.isVisible()) { tree.interact("Chop down"); sleepUntil(() -> myPlayer().isAnimating() || myPlayer().isMoving(), random(3000, 5000)); sleepUntil(() -> !myPlayer().isAnimating(), random(5000, 8000)); logsCut++; } } } return random(100, 200); // Return a value to set the delay between loops } @Override public void onPaint(Graphics2D g) { // This is where you can add your custom paint // Calculate time spent woodcutting long timeElapsed = System.currentTimeMillis() - startTime; String timeFormatted = formatTime(timeElapsed); // Get woodcutting level int woodcuttingLevel = getSkills().getStatic(Skill.WOODCUTTING); // Draw the custom paint g.setColor(Color.BLACK); g.fillRect(10, 10, 180, 75); g.setColor(Color.WHITE); g.drawRect(10, 10, 180, 75); g.setFont(new Font("Arial", Font.PLAIN, 14)); g.drawString("Woodcutting Level: " + woodcuttingLevel, 15, 30); g.drawString("Logs Cut: " + logsCut, 15, 50); g.drawString("Time Running: " + timeFormatted, 15, 70); } private String formatTime(long time) { long seconds = time / 1000; long minutes = seconds / 60; long hours = minutes / 60; long days = hours / 24; return String.format("%02d:%02d:%02d:%02d", days, hours % 24, minutes % 60, seconds % 60); } // ... (Existing code) }
  2. How would i go about fixing these errors? help would be much apprecaited! Errors: https://gyazo.com/47644d4e6e865d391b6eb94e8fd3191e Script code import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.api.map.constants.Banks; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "WoodcutterScript", author = "Pgreen", version = 1.0, info = "Basic Woodcutting Script", logo = "") public class WoodcutterScript extends Script { private static final Area TREE_AREA = new Area(3163, 3287, 3167, 3290); public class Woodcutter extends Script { private long startTime = System.currentTimeMillis(); private int logsCut = 0; // ... (Existing code) @Override public void onStart() { log("Starting Woodcutter script..."); } @Override public void onExit() { log("Stopping Woodcutter script..."); } @Override public int onLoop() throws InterruptedException { // The onLoop() method contains the main logic of your script // Put the actions you want to repeat here // If we don't have an axe equipped, let's equip one if (!getEquipment().isWearingItem("Bronze axe") && !getInventory().contains("Bronze axe")) { getEquipment().equip("Bronze axe"); return random(1000, 1500); // Wait for the equipment screen to open } // If our inventory is full, let's go to the bank and deposit the logs if (getInventory().isFull()) { getBank().open(); getBank().depositAll("Logs"); getBank().close(); } else { // If we're not in the tree area, let's walk there if (!TREE_AREA.contains(myPlayer())) { getWalking().webWalk(TREE_AREA); } else { // If we're in the tree area, let's cut trees RS2Object tree = getObjects().closest("Tree"); if (tree != null && tree.isVisible()) { tree.interact("Chop down"); sleepUntil(() -> myPlayer().isAnimating() || myPlayer().isMoving(), random(3000, 5000)); sleepUntil(() -> !myPlayer().isAnimating(), random(5000, 8000)); logsCut++; } } } return random(100, 200); // Return a value to set the delay between loops } @Override public void onPaint(Graphics2D g) { // This is where you can add your custom paint // Calculate time spent woodcutting long timeElapsed = System.currentTimeMillis() - startTime; String timeFormatted = formatTime(timeElapsed); // Get woodcutting level int woodcuttingLevel = getSkills().getStatic(Skill.WOODCUTTING); // Draw the custom paint g.setColor(Color.BLACK); g.fillRect(10, 10, 180, 75); g.setColor(Color.WHITE); g.drawRect(10, 10, 180, 75); g.setFont(new Font("Arial", Font.PLAIN, 14)); g.drawString("Woodcutting Level: " + woodcuttingLevel, 15, 30); g.drawString("Logs Cut: " + logsCut, 15, 50); g.drawString("Time Running: " + timeFormatted, 15, 70); } private String formatTime(long time) { long seconds = time / 1000; long minutes = seconds / 60; long hours = minutes / 60; long days = hours / 24; return String.format("%02d:%02d:%02d:%02d", days, hours % 24, minutes % 60, seconds % 60); } // ... (Existing code) } }
  3. JaggerNotchas replied to Fruity's topic in Minigames
    Could i get a trial of this please?
  4. JaggerNotchas replied to Token's topic in Minigames
    I never saw that u authed it till now and never even got to try it could u do it one more time pleasE? im sorry
  5. JaggerNotchas replied to Token's topic in Minigames
    could i get a trial of this script please?
  6. JaggerNotchas replied to Fruity's topic in Minigames
    could i have a trial of the script please? really considering buying it just wanna make sure it works for me.
  7. Everytime i try and get it to use tele tabs it just uses the amulet of glory, and using the house tabs doesnt work either please... fix this or i want a refund.
  8. Also if could u add the option to use Ardy cloak as a teleportation method? / make it so we can use the cloak and tabs as a teleportion method not just 1 option? PLESASE
  9. Please add an option to edit profiles and delete settings it would be so helpful.
  10. I ended up buying it so i hope this doesnt mess it up
  11. Could i get a 24 hour trial of this bot please?
  12. Can i have a trial please
  13. can i have a trail now that mirror mode is fixed i never got to use it because i was using mirror mode before it was fixed
  14. my bot just sits their and checks the gem what am i doing wrong? this is my inventoy https://gyazo.com/cd68299d32d11253b5bd2ec6c1c80a3f code fom log https://pastebin.com/t2adAmcv
  15. Could i get a tial please?

Account

Navigation

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.