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.

thieving help

Featured Replies

Could someone help me with the code needed here?

 

I used the thieving script tutorial for the tea stall and everytime it goes to click the stall it clicks about 3 times before it actually picks up the tea. When the camera moves to a certain point it makes me walk behind the stall to the person who wont let you steal from it.

 

HOW can i make it so that it wont do this and if it does happen, it identifies hes yelling at me and makes me run back to the spot out front of the stall.

I say you contact a willing scripter to help you with something, via Skype.

Well theres a handful of ways of doing it.

 

The simplest way for you would be to create an area around the are you dont want to stand in while attempting to steal from the tea stall:

Area DANGER_AREA = new Area(int top right x, int top right y, int bottom left x, int bottom left y);

and then just in your getState call:

if (DANGER_AREA.contains(myPlayer()))
        return State.returnToStealPos;

and in your switch statement:

        localWalker.walk(STEAL_POS);

where STEAL_POS is the position you want to steal at

 

(You can define STEAL_POS at the top like so: )

Position STEAL_POS = new Position(x,y);

I hope I made myself clear, if not just quote this post and i'll gladly help out further.

PS hope the tutorial helped! 

Well theres a handful of ways of doing it.

 

The simplest way for you would be to create an area around the are you dont want to stand in while attempting to steal from the tea stall:

Area DANGER_AREA = new Area(int top right x, int top right y, int bottom left x, int bottom left y);

the area is bottom  left x, bottom left y, top right x, top right y

Edited by josedpay

the area is bottom  left x, bottom left y, top right x, top right y

 

I think they are actually commutative parameters (ie if you have your second x larger than your first one, it switches the two, likewise with y, but I could be wrong - all my areas are written like I posted xD)

  • Author

Well theres a handful of ways of doing it.

 

The simplest way for you would be to create an area around the are you dont want to stand in while attempting to steal from the tea stall:

Area DANGER_AREA = new Area(int top right x, int top right y, int bottom left x, int bottom left y);

and then just in your getState call:

if (DANGER_AREA.contains(myPlayer()))
        return State.returnToStealPos;

and in your switch statement:

        localWalker.walk(STEAL_POS);

where STEAL_POS is the position you want to steal at

 

(You can define STEAL_POS at the top like so: )

Position STEAL_POS = new Position(x,y);

I hope I made myself clear, if not just quote this post and i'll gladly help out further.

PS hope the tutorial helped! 

 

I'm coming up with problems with the coordinate thing. Could you Team View me?

 

Guest
This topic is now closed to further replies.

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.