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.

protectedboolean

Members
  • Joined

  • Last visited

Everything posted by protectedboolean

  1. it shows up in selector https://i.imgur.com/v4UFUzD.png why would the bot misclick? excuse my ignorance how about this? can i have my checkPoint up there? public class Draynor_Agility extends Script{ private int checkPoint = 0; THANK YOU EVERYONE i am just tryna learn EDIT: I was looking off the tea thiever bot when making this [ERROR][Bot #1][07/19 02:38:36 PM]: Error in bot executor! java.lang.AbstractMethodError: client.getMouseX()I at org.osbot.rs07.api.Mouse.getPosition(hi:497) at org.osbot.rs07.event.InteractionEvent.iiIiiiiiIiiI(yi:217) at org.osbot.rs07.event.InteractionEvent.execute(yi:479) at org.osbot.rs07.event.EventExecutor$2.run(ch:252) at org.osbot.rs07.event.EventExecutor.execute(ch:213) at org.osbot.rs07.api.model.WallDecoration.interact(cn:25) at Draynor_Agility.onLoop(Draynor_Agility.java:38) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(kl:223) at java.lang.Thread.run(Unknown Source)
  2. Hi folks, I took an advanced Java course almost a year ago and made good marks, but haven't touched an IDE since then.. I thought I would try my hand at scripting, so I would appreciate any feedback on this script! Thanks! import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "Draynor Agility Course", author = "", version = 1.0, info = "", logo = "") public class Draynor_Agility extends Script{ RS2Object RoughWall = getObjects().closest("Rough Wall");//'Climb' RS2Object Tightrope = getObjects().closest("Tightrope");//'Cross' RS2Object Tightrope2 = getObjects().closest("Tightrope");//'Cross' RS2Object NarrowWall = getObjects().closest("Narrow Wall");//'Balance RS2Object Wall = getObjects().closest("Wall");//'Jump-up' RS2Object Gap = getObjects().closest("Gap");//'Jump' RS2Object Crate = getObjects().closest("Crate");//'Climb-down' int checkPoint = 0; @Override public void onStart(){ log("Started Successfully"); //Code here will execute before the loop is started } @Override public void onExit(){ log("Ended Successfully"); //Code here will execute after script ends } @Override public int onLoop() throws InterruptedException{ if (checkPoint == 0 && RoughWall != null && !myPlayer().isAnimating()) { RoughWall.interact("Climb"); checkPoint++; } else if(checkPoint == 1 && Tightrope != null && !myPlayer().isAnimating()){ Tightrope.interact("Cross"); checkPoint++; } else if(checkPoint == 2 && Tightrope2 != null && !myPlayer().isAnimating()){ Tightrope2.interact("Cross"); checkPoint++; } else if(checkPoint == 3 && NarrowWall != null && !myPlayer().isAnimating()){ NarrowWall.interact("Balance"); checkPoint++; } else if(checkPoint == 4 && Wall != null && !myPlayer().isAnimating()){ Wall.interact("Jump-up"); checkPoint++; } else if(checkPoint == 5 && Gap != null && !myPlayer().isAnimating()){ Gap.interact("Jump"); checkPoint++; } else if(checkPoint == 6 && Crate != null && !myPlayer().isAnimating()){ Crate.interact("Climb-down"); checkPoint = 0; } else return random(200,300); return random(200,300); //the amount of time before the loop starts over } public void onPaint(Graphics2D g){} //This is where you will put your code for paint(s) }

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.