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.

How to get npc location

Featured Replies

Hello there guys i want to create my own sorc garden winter course bot for leveling few farming lvl's so as thieving, but i can't understand how to make my script determine whenever to go.Currenly i'm using area's but that's not the most effective way of doing it :( so i'f sombody could help that would be fantastic ;) 

 

 

 

  • Author

Well i'm not new at scripting  but i never done such thing as sorc garden so atm i'm using area to determine npc location and then i walk but its not that effective

 

  • 2 weeks later...
     //If you are using it to get the position + closest npc for a fighter script or so
          NPC name = npcs.closest("npc name");
          name.getPosition();

     //if you want to use it for a position only then
          NPC name = npcs.closest("npc name").getPosition();

      //however you can do that to get the x and y coords
          name.getPosition().getX();
          name.getPosition().getY();

I hope i have helped, Enjoy ;)

Edited by Mr Pro Pop

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.