RS2Lib, what functions should I add?

Discussion in 'Archives' started by Govind, Sep 14, 2007.

Thread Status:
Not open for further replies.
RS2Lib, what functions should I add?
  1. Unread #1 - Sep 14, 2007 at 12:21 PM
  2. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    RS2Lib, what functions should I add?

    I'm currently coding an SDK with runescape autoing related functions. At the moment it only works with C++ (because it's only linker libraries for now), but once it's complete I will create DLLs so that this can be used with Visual Basic as well.

    If anyone wants to help, post here.

    Also, these are the functions I currently have:

    Keyboard functions:

    void SendKeys(string keys, int times, int ms_wait) - Simulates typing the specified string followed by the return/enter key, as many times as specified in the times variable, and sleeps the amount of milliseconds specified in ms_wait.

    bool IsKeyUp(char key) - Returns true if the specified key is not being pressed, false if it is.

    bool IsKeyDown(char key) - Opposite of IsKeyUp.

    void SendChar(char key) - Simulates typing the specified keystroke once.

    Mouse functions:

    void MoveMouse(int x, int y) - Moves the mouse to the specified x,y coordinates, use my ShowMousePos application to find coordinates.

    void LeftClick() - Simulates pressing the left mouse button and releasing it. You must move the mouse to the desired coordinates beforehand. I will add the coordinate arguments later.

    void RightClick() - Simulates pressing the right mouse button and releasing it. You must move the mouse to the desired coordinates beforehand. I will add the coordinate arguments later.

    void HoldMouse(int x, int y, bool left = true) - Simulates pressing down the selected mouse button (left=true,right=false) at the specified coordinates but not releasing it.

    void ReleaseMouse(int x, int y, bool left = true) - Simulates releasing the selected mouse button (left=true,right=false) at the specified coordinates.

    void MultiClick(int times, int ms_wait, bool left) - Clicks the mouse the number of times specified, using the button specified and sleeping the amount of time specified.

    void ClickSecondRSOption()
    - Clicks the second runescape right-click menu option on the current mouse coords. Note that this will not work on the buttons on the bottom part of the screen.

    Random functions:

    void SeedRand() - Seeds the random number generator to the current system time. This must be called to ensure genuine randomness.

    int Random(int min, int max) - Returns a random integer number between min and max.

    char RandChar() - Returns a random lowercase character from a-z.

    void RandSleep(int min, int max) - Sleeps for a random number of milliseconds between min and max.

    I'm not at home right now so I can't be sure that these are all the functions, I've probably forgotten to list a few, anyways, please post suggestions of what you think I should add, also post if you feel like helping me.
     
  3. Unread #2 - Nov 27, 2009 at 4:04 PM
  4. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    RS2Lib, what functions should I add?

    i am gravedig
     
< cleaning | Rsbots.net Auths >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site