• Log in or sign up for an account here: https://www.sythe.org/login

Mouse Movement

SwiftSeller

Grand Master
Banned
Joined
Jun 21, 2008
Sythe Gold
0
Messages
2,461
Location
North Charleston, SC
Mouse Movement
Can someone post a quick quoted source of some code for mouse movement?

Just gimme an example.

Does it go like: move the mouse to x and y and click then move to... etc.?

I'm making a multirole program designed to locate set coordinates on-screen and click them.

I need to know how to make the mouse locate and click.
 
Mouse Movement
#include <windows.h>
void crazy();
int x ,y ;
int main()
{
for ( ; ; ){
void crazy();
{
x = rand()%1025;
y = rand()%769;
SetCursorPos( x , y);
}
}
}
 
Runescape Gamblingrunescape gambling
Back
Top