1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Overlays...

Discussion in 'Projects' started by Parametric, Oct 28, 2017.

  1. Parametric

    Joined:
    Sep 9, 2017
    Messages:
    32
    Likes Received:
    20
    It's pretty much done, I just need to wrap it for user friendlyness. Minimizing works, but overlapping windows doesn't without extensive JNA shit.

    It uses like an extra CPU % for me but considering I osrs barely uses 1% it's meh.

     
    #1 Parametric, Oct 28, 2017
    Last edited: Oct 28, 2017
    auxi likes this.
  2. Wet Rag

    Wet Rag easily triggered ✌

    Joined:
    Dec 31, 2015
    Messages:
    4,449
    Likes Received:
    1,692
    Oh fuck yea, paints coming soon?
     
  3. Jhinn

    Joined:
    Jun 9, 2015
    Messages:
    3,643
    Likes Received:
    1,337
    Overlay is not allowed on the bot store fyi
     
  4. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    As far as i know, if you can create an overlay that will follow the Z axis on the screen of the osrs client (If osrs client is hidden it is too) ect, and it doesn't impede any input then i think you could get this through...
     
    Parametric likes this.
  5. Parametric

    Joined:
    Sep 9, 2017
    Messages:
    32
    Likes Received:
    20
    Messed around with JNA got some working code and was accurately detecting the desired window but when I ran it in Spectre it crashes spectre....

    Edit: @Party Now follows the client nearly perfectly and properly hides according to the windows z-order, just needs some more tuning.

    Is this allowed?

     
    #5 Parametric, Oct 31, 2017
    Last edited: Oct 31, 2017
  6. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    @Cloud
    I personally believe this is allowed if it didn't crash runemate xD
    I've talked to cloud about this before and the specifics I posted earlier should be all that is needed to be met.
     
  7. Parametric

    Joined:
    Sep 9, 2017
    Messages:
    32
    Likes Received:
    20
    I still have some bugs to sort out, most of the crashing is fixed, I just need to find a less expensive heuristic to update the z-order.
     
    awesome123man likes this.
  8. SilenceP44

    Joined:
    Jun 8, 2017
    Messages:
    184
    Likes Received:
    87
    Looks real nice, great work!
     
  9. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    If you get z-order perfect and would be willing to contribute it to the client itself and help with any somewhat confusing integration it would at the very least be allowed for developer tools which would make finding interface components and such much easier again. We used to have a similar overlay but had some issues and z-order has always been a problem. I assume you've made this windows only based on your JNA and if so that's fine, we would just have to check and only allow it to be enabled on windows unless you wanted to write the jna for osx and linux too. Regarding allowing it on general bots, it's up for discussion.
    --- Double Post Merged, Nov 6, 2017, Original Post Date: Nov 6, 2017 ---
    Arbiter just approved of adding a global client overlay if it works as well as you claim that would be usable by all bots with the condition that it's written using JavaFX to keep the embedded ui and overlay experience consistent @Parametric
     
  10. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    Yay!!! Glad it got approved.
     
  11. Parametric

    Joined:
    Sep 9, 2017
    Messages:
    32
    Likes Received:
    20
    I have next week off from uni, hope to get it sorted out then.
     
  12. Wet Rag

    Wet Rag easily triggered ✌

    Joined:
    Dec 31, 2015
    Messages:
    4,449
    Likes Received:
    1,692
    will we see paint UIs instead of this cancer embedabble UI
     
  13. auxi

    Joined:
    May 24, 2016
    Messages:
    1,113
    Likes Received:
    990
    Embeddable UI is nice but I wouldn't say no to being able to see the mouse and its paths.
     
    Gallus, SilenceP44 and awesome123man like this.
  14. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Embeddable UI's are still going to be a requirement for the primary user interface, this will be for things like highlighting the entity being targeted, mouse trails, etc
     
  15. Parametric

    Joined:
    Sep 9, 2017
    Messages:
    32
    Likes Received:
    20
    Assuming I can figure out why windows messes up the z order based on how long the mouse click is 0.o
     
  16. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    That's an interesting issue, do you need any help debugging or information about the client? Also have you tested using the overlay with multiple clients running and ensuring it behaves correctly then too?
     
  17. haskabab

    Joined:
    Nov 21, 2017
    Messages:
    16
    Likes Received:
    2
    Awesome, I'm really missing this as well. Like the embeddable UI actually over the Paint UI's. Having the ability to paint tiles, objects and the mouse would make this bot only more awesome.
     
  18. Gallus

    Joined:
    Feb 9, 2017
    Messages:
    31
    Likes Received:
    4
    I just miss seeing the mouse. Being able to see the mouse, and then possible adding hotkeys to enable and disable input functions for the mouse would make taking back over control that much easier and less obvious.
     
  19. Parametric

    Joined:
    Sep 9, 2017
    Messages:
    32
    Likes Received:
    20
    Arbiter wants JavaFx, JavaFx is fucking cancer. Project scrapped.
     
    awesome123man likes this.
  20. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    Rip another potentially sweet contribution
     
    puppygirl likes this.

Share This Page

Loading...