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

NPC issue - Lesser demon

Featured Replies

  • 2.6.52
  • None
  • Crash report if a crash occurred
  • Private script - demon killer

Client will try kill the caged demon only once it's in the dying phase, will not detect the demon, it was working up until today or yesterday's update, I believe this might be a client issue given it uses the code below?

NPC demon = getNpcs().closest("Lesser demon"); 

 

Thanks

Edited by blood1000

Wrong place to post, this is usually from having high reaction timer, set it to 50-100ms so the client knows the demon is 0hp, client thinks the npc still alive and continues attacking it.

EDIT:

Tell the scripter to add this to the main script


    @Override
    public int getRecommendedMirrorReactionTime() {
        return 100;
    }

Edited by Czar

  • Developer
8 hours ago, blood1000 said:
  • 2.6.52
  • None
  • Crash report if a crash occurred
  • Private script - demon killer

Client will try kill the caged demon only once it's in the dying phase, will not detect the demon, it was working up until today or yesterday's update, I believe this might be a client issue given it uses the code below?

NPC demon = getNpcs().closest("Lesser demon"); 

 

Thanks

Just seems like a issue in the script tbh... that code you show won't be enough to have a flawless script.
You should also check for the npc health and stuff, add some conditonal sleeps, etc

Feel free to post your code, so we can help you out 😉

Edited by Khaleesi

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.