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.

2.4.21 difficult to emulate bug :(

Featured Replies

hello, recently after the new .21 update there has been a bug with entity interaction, the only thing I have here is gifs of the bug in action
 
529bf29e9d07f24d3534413964558ced.gif
8cae8448cf305d079131cc662ca111d1.gif

So the entity is being detected, but when it comes to clicking, it will not click sad.png

here is the code:
 

	public int attackExample(NPC npc) {
		EntityDestination targetDest = new EntityDestination(getContext().getBot(), npc);
		if (npc != null) {
			if (npc.isVisible()) {
				if (getContext().getMouse().isOnCursor(npc)) {
					npc.interact("Attack");
					return 500;
				} else {
					getContext().mouse.move(targetDest);
					npc.interact("Attack");
					return 500;
				}
			} else {
				// rotate
			}
		}
		return 10;
	}
  • Administrator

I wasn't able to replicate it with Yews.

You mention it is difficult to emulate in the title but omit it in the actual report. So does it happen very rarely? Any particular situations?

  • Author

I can't replicate the bug either, it just seemed to be unlucky for the users I guess

 

I had thought the problem was

 

getContext().mouse.move(targetDest);
npc.interact("Attack");
return 500;
 
but anyway delete this thread please

 

I can't replicate the bug either, it just seemed to be unlucky for the users I guess

 

I had thought the problem was

 

getContext().mouse.move(targetDest);
npc.interact("Attack");
return 500;
 
but anyway delete this thread please

 

 

Remove:

getContext().mouse.move(targetDest);

...and then try it out.

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.