Jump to content

[Stable] OSBot 2.4.130 - Ads + Input


Alek

Recommended Posts

Posted (edited)

Was using getTrade().acceptTrade(); as a boolean for an if statement previously but now it wont work trigger the if statement and it wont click accept. If I take it outside the if statement and just run it it declines the 2nd trade screen. 

The first trade screen for this still works fine.

Just wanted to add that this only happened when I recompiled a script with the new version as the external library. Other scripts which werent recompiled dont have this problem

Edited by IDontEvenBot
Posted
8 minutes ago, Eliot said:

Care to share how you're adding the mouse listener? Perhaps via PM?

Not really a secret since I don't allow overriding human input:


bot.getCanvas().addMouseListener(mouseListener);

 

Your custom mouse listeners will get removed during some certain events (such as Windows UAC being prompted). It's part of some larger input issues that I can't really track down right now. 

 

  • Like 1
Posted
2 minutes ago, Alek said:

Not really a secret since I don't allow overriding human input:


bot.getCanvas().addMouseListener(mouseListener);

 

Your custom mouse listeners will get removed during some certain events (such as Windows UAC being prompted). It's part of some larger input issues that I can't really track down right now. 

 

I was adding it via getBot().addMouseListener(mouseListener); directly. I changed it to how you do it and it now works until I open the logger, then everything goes to hell. 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...