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.

[Development Build] OSBot 2.3.124-.129

Featured Replies

V .123 is so much better than .127.

 

When the script want to attack a npc, the mouse move a few pixels towards the entity and then stops, then move again and stops, repeatedly.

 

This is what I use:

InteractionEvent ie = new InteractionEvent(entity, "Attack");
ie.setHover(true);
execute(ie);

Another issue with grabbing ground items; it right clicks on the ground item but doesn't interact.

GroundItem gi = getGroundItems().closest("blah");

if gi != null
gi.interact("Take")

Edited by Woody

nice, and a configs browser too?

This is what I want

V .123 is so much better than .127.

When the script want to attack a npc, the mouse move a few pixels towards the entity and then stops, then move again and stops, repeatedly.

This is what I use:

InteractionEvent ie = new InteractionEvent(entity, "Attack");ie.setHover(true);execute(ie);
Another issue with grabbing ground items; it right clicks on the ground item but doesn't interact.

GroundItem gi = getGroundItems().closest("blah");if gi != nullgi.interact("Take")
Noob set hover makes the interaction event hover over the entity without actually interacting with it.

If your not sure, log the result of interaction event it will be true

Edited by Joseph

This is what I want

Noob set hover makes the interaction event hover over the entity without actually interacting with it.

If your not sure, log the result of interaction event it will be true

I want it to hover over the entity, noob.

 

V .123 is so much better than .127.

 

When the script want to attack a npc, the mouse move a few pixels towards the entity and then stops, then move again and stops, repeatedly.

 

This is what I use:

InteractionEvent ie = new InteractionEvent(entity, "Attack");
ie.setHover(true);
execute(ie);

Another issue with grabbing ground items; it right clicks on the ground item but doesn't interact.

GroundItem gi = getGroundItems().closest("blah");

if gi != null
gi.interact("Take")

 

If you are wanting to hover over an entity your using the completely wrong logic, you should first attack an NPC, then check you are in combat in another state/node and then hover over another NPC.

 

Think about the logic, I haven't had any issues with the mouse in .27 and I've just re-written my whole agility script to use the new interaction sequences. @Zach did an amazing job props <3

I want it to hover over the entity, noob.

oh my B, i thought you wanted to interact.

 

btw you need some logic like extreme said. The code you posted, if you logged it. It would return true all the time. Which is why its keeps re-patterning its action.

Edited by Joseph

  • Author
  • Administrator

There are some more changes in the pipeline.

 

Edit:

v2.3.128

Reverted non-entity interactions back to .123
Couple other changes to entity interactions.

 

 

I'm working on reimplementing camera movements and walking with entity destinations for interaction event.

If you are wanting to hover over an entity your using the completely wrong logic, you should first attack an NPC, then check you are in combat in another state/node and then hover over another NPC.

Think about the logic, I haven't had any issues with the mouse in .27 and I've just re-written my whole agility script to use the new interaction sequences. @Zach did an amazing job props <3

Sorry to say, but you got it all wrong. The code I posted is just a part of my attacking method. Thanks though for your explanation, however I already knew about it. Hence http://osbot.org/forum/topic/74095-hovering-entitys-option/

The reason I posted here is because the bug appeared in v 127 and I made no changes in the code. When I switched back to v 123, it was working perfectly fine.

Can you provide more information than "bugged"?

it will not pick up the item it right clicks it then moves the mouse away, and repeats.

  • Author
  • Administrator

it will not pick up the item it right clicks it then moves the mouse away, and repeats.

 

Ah I already have that bug fixed. No wonder it didn't look bugged to me lol.

Thanks smile.png

 

Edit:

.129 released. It has the fixes mentioned above and I re-implemented camera turning and walking for entity destination interaction events.

As a side note Alek mentioned he increased the size of the Settings interface.

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.