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.

[HELP] Killcounter

Featured Replies

I need a bit of help, i'm trying to add a killcounter to my script with:

 

This is in onLoop:

if(npc.getAnimation() == 836){

killCount ++;

log("KC added");

} else {

log("Something is wrong");

}

 

In paint ive got:

 

​g.drawString("Kill Count: " + killCount, 320, 330);

 

Any ideas how to get this working? If i run this at it is my whole CPU goes to osbot, taking all processing power.

  • Author

How did you declare npc?

 

NPC npc = npcs.closest(new Filter<NPC>()

Edited by qverkk1

  • Author

Okay i have it working, it may be closed now. Czar helped me :)

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.