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

Question modifying Runemate's mouse

Discussion in 'Developer Support' started by ccesssu, Mar 11, 2020.

  1. ccesssu

    Joined:
    Mar 14, 2017
    Messages:
    2
    Likes Received:
    0
    I am looking to modify some of runemate's mouse movement and clicking functions for my own scripts bots. How do I get the screen coordinates of where the Runemate's mouse path and final click destination? Ideally just a list of x,y coordinates, specifically without having the actual movements and clicking carried out by RM.
     
  2. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    Write a custom Mouse.PathGenerator
     
  3. ccesssu

    Joined:
    Mar 14, 2017
    Messages:
    2
    Likes Received:
    0
    what does that mean exactly, like extend the class and override the method? All of runemate's internal functions wouldn't use my new method correct? For example, if a script bot calls to left click on an interactable, it would still use runemate's pathgenerator, mouse movement, and click functions.

    Is there a way to modify a method inside the runemate jar that would be used globally by my code as well as the internal functions?
     
  4. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    You could always use Mouse.setPathGenerator and have it delegate to a customized mouse but that's not allowed in some situations..
     

Share This Page

Loading...