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.

Evil Chicken Support for Autofighter

Featured Replies

I'm writing an autofighter and while testing it, my character just sat there fighting an Evil Chicken... Can I add something to my script that allows OSBot to handle it, or do I have to handle it myself?

 

Nevermind... It just solved Mysterious Old Man... I guess Evil Chicken is broken...

Edited by Honeycomb

You need to add some lines to do it. I got it in one of my scripts. It's simple really:

 

1. Search area for NPC's.

2. If NPC's contains Evil Chicken.

3. RUn away/tele

Good idea!

  • Author

Should

for (NPC npc : client.getLocalNPCs()) {
	if ((npc != null) && npc.getName().equals("Evil chicken") && npc.getFacing().equals(client.getMyPlayer())) {
		// TODO flee
	}
}

work?

Edited by Honeycomb

You need to add some lines to do it. I got it in one of my scripts. It's simple really:

 

1. Search area for NPC's.

2. If NPC's contains Evil Chicken.

3. RUn away/tele

 

Could be anyone's Evil Chicken it should be .IsFacing.

Could be anyone's Evil Chicken it should be .IsFacing.

Yeah, I used this:

if (randoms != null && (this.client.getMyPlayer().isUnderAttack()) && (randoms.isFacing(this.client.getMyPlayer()))) 
{ // insert code here }
  • Author

Are there any WORKING methods to adjust the camera? I want a top-down view, and a couple methods in the API seem to not do anything...

 

My GPU goes crazy until "[DEBUG][]: Switched canvas mode to MULTITHREADED." hits...

Edited by Honeycomb

Are there any WORKING methods to adjust the camera? I want a top-down view, and a couple methods in the API seem to not do anything...

 

My GPU goes crazy until "[DEBUG][]: Switched canvas mode to MULTITHREADED." hits...

 

When looting I use:

this.client.rotateCameraPitch(Int);

It makes the camera move upto the int, I believe the highest is between 62-69, can't remember fully. 

 

NOTE: Not sure if this is what you meant, if so, you're welcome :)

  • Author

When looting I use:

this.client.rotateCameraPitch(Int);

It makes the camera move upto the int, I believe the highest is between 62-69, can't remember fully. 

 

NOTE: Not sure if this is what you meant, if so, you're welcome smile.png

Yeah, I used another method to find the values I wanted. I guess I wasn't using the correct values earlier. Great bot; I'll probably be purchasing VIP soon.

Edited by Honeycomb

Guest
This topic is now closed to further replies.

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.