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

Question Mouse Overlay

Discussion in 'Developer Support' started by The_Crumb, Mar 5, 2019.

Tags:
  1. The_Crumb

    Joined:
    Feb 23, 2019
    Messages:
    34
    Likes Received:
    3
    I see that on some of @tyb51's scripts bots that there are mouse overlays. The only posts that I can find are old and say that it can't be implemented. Assuming that information is outdated, is there a publicized way to show the mouse's position for debugging purposes? I've noticed that when my script bot tries to interact with a walking NPC it tends to frantically jump all over the place before going to the desired NPC.
     
  2. CuppaJava

    CuppaJava cuppa.drink(java);

    Joined:
    Mar 13, 2018
    Messages:
    6,052
    Likes Received:
    1,360
    You can use the runemate Mouse API to get the current mouse pos and then use standard java draw methods to draw on the screen at that coordinate. Offsetting by the current position of your client on screen

    As far as I know, there's no runemate API for drawing on screen, you just have to use the regular java one with coords.

    Someone correct me if I'm wrong.
     
    The_Crumb likes this.
  3. Swatarinaess

    Swatarinaess Bot Consultant

    Joined:
    Nov 17, 2014
    Messages:
    280
    Likes Received:
    76
    From my understanding and overlay was in the works to be added to the Runemate API but is not of top priority. One could look at the development tools, of which i believe, one of two, are open-source.
     
    The_Crumb and CuppaJava like this.
  4. The_Crumb

    Joined:
    Feb 23, 2019
    Messages:
    34
    Likes Received:
    3
    Thanks, that's what I thought was happening in the scripts bots I mentioned seeing as there was an additional window that appeared and overlayed the game client.


    Thanks, but the open source dev tools don't have any sort of overlay.
     

Share This Page

Loading...