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.

ni562

Members
  • Joined

  • Last visited

Everything posted by ni562

  1. ni562 replied to ni562's topic in Scripting Help
    sweeet, i didn't know that...Im sure it'll be useful in the future. Thanks for the help dude
  2. ni562 replied to ni562's topic in Scripting Help
    I'm not sure i follow..how does checking for null not make it crash? Does it skip the 2nd condition because it's an or and the first condition was true?
  3. ni562 replied to ni562's topic in Scripting Help
    Hey thanks, that seems to fix the issue... if i change you're code from if(spinMenu == null || !spinMenu.isVisible()){ to if (!spinMenu.isVisible()) { I get a null pointer on that line...How come it works when I check for null, but crashes when i don't?
  4. The first bit of code runs smoothly, but the 2nd freezes my client... any ideas? if(!player.isAnimating()){ if (!player.isMoving()){ wheel.interact("Spin"); //Wheel is now visible, spin bowstring sleep(random(700, 3000)); spinMenu.hover(); mouse.click(true); if(menu.isOpen()){ sleep(random(700, 3000)); menu.selectAction("Make X"); } } } vs if(!player.isAnimating()){ if (!player.isMoving()){ if(!spinMenu.isVisible()){ wheel.interact("Spin"); //Wheel is now visible, spin bowstring sleep(random(700, 3000)); } spinMenu.hover(); mouse.click(true); if(menu.isOpen()){ sleep(random(700, 3000)); menu.selectAction("Make X"); } } }
  5. ni562 replied to ni562's topic in Scripting Help
    thanks for the info. Isn't it more likely to get banned when you're moving you're mouse a million miles a second?
  6. ni562 posted a topic in Scripting Help
    Hey i'm wondering if mouse speed should be a factor in my script? I think so but just wondering. I'm trying the code bellow but i dont think i see a difference in the mouse speed.. public void onStart(){ mouse.setSpeed(1); }
  7. thanks mate, fixed it with this RS2Object wheel = objects.closest(SPIN_WHEEL);
  8. Hey guys i'm making a flax spinning bot as my first script. I am having a problem creating an entity == to the spinning wheel. import org.osbot.rs07.api.model.Entity; . . . . . Entity wheel = closest("Spinning wheel"); I keep getting "closest(STRING) is undefined for the type class <FlaxPicker>" error. Any ideas?

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.