- Joined
- Apr 22, 2005
- Sythe Gold
- 23
- Messages
- 7,825
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.
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.


























