Jump to content

[Stable] OSBot 2.4.130 - Ads + Input


Alek

Recommended Posts

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
Link to comment
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
Link to comment
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
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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