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.

lrdblk

Java Lifetime Sponsor
  • Joined

  • Last visited

Everything posted by lrdblk

  1. Thanks for the pointers. What's the difference between boolean and Boolean? If Java doesn't care, why should I? Oh shit that is handy, thanks for the help! Deviation is basically saying +/- 200 ms right?
  2. Thanks I appreciate your input! Good call on commenting the shit out of the code. I'll probably forget everything I did by morning lol Can you give me an example of what your talking about regarding the CSleep?
  3. Hey everyone! Just getting back into java, mostly looking for feedback on this wood cutting script I wrote. Any productive criticism is welcome. import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; import java.awt.*; @ScriptManifest(author = "LRDBLK", info = "Chops wood", name = "Wood Chopper", version = 1, logo = "") public class main extends Script { @[member=Override] public void onStart() { log("Script is starting!"); } @[member=Override] public int onLoop() throws InterruptedException { Area lumbridgeTrees = new Area(3176, 3238, 3200, 3207); if(inventory.isFull()){ inventory.dropAll(); } if (!lumbridgeTrees.contains(myPlayer())){ log("walking to area now"); getWalking().webWalk(lumbridgeTrees.getRandomPosition()); }else{ RS2Object tree = getObjects().closest(lumbridgeTrees, "Tree"); chopTree(tree); } return random(200, 300); } @[member=Override] public void onExit() { log("RawR"); } @[member=Override] public void onPaint(Graphics2D g) { } private Boolean ableToWork(){ return !myPlayer().isAnimating() && !myPlayer().isMoving(); } private void chopTree(RS2Object tree){ if(tree != null && ableToWork()){ log("Picked new tree!"); tree.interact("Chop down"); } new ConditionalSleep(3000){ public boolean condition(){ return myPlayer().isAnimating(); } }.sleep(); } } A few questions I had: If i make a GUI, should it be in a separate class? Am I using ConditionalSleep correctly? Would using States make this script better? If I have a complex script, should I put all my functions in a separate module?
  4. lrdblk replied to Royal's topic in Price Check
    That's gotta be worth some money. Botted?
  5. lrdblk replied to Angels's topic in General Help
    PM me if you need any help. Working in the IT industry, I've basically used all the modems and routers on the market now
  6. lrdblk replied to Angels's topic in General Help
    Two options Turn the modem to bridge mode and let your router handle all DHCP and traffic QOS Turn the DHCP off on the router and let the modem do all the networking Or there's a physical issue with your old router
  7. Thanks! completely missed the whole top bar lol
  8. Is there any way to save setting for next run?
  9. This worked for me, thanks
  10. Trying to log into the client but getting an error https://gyazo.com/53550e01d8481890b9afdfc853de9bf8 First time logging in, could use some help

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.