mouseMove not work
mouseMove not work
hello i start make litle bot game
but i have problem in mouse
attach key work fine but mouse work only click
mouseMove(x, y) not set posytion
what i can set another way cordinate to click in windows game
i try find in memory but found only "readonly" adress
but i have problem in mouse
attach key work fine but mouse work only click
mouseMove(x, y) not set posytion
what i can set another way cordinate to click in windows game
i try find in memory but found only "readonly" adress
- Administrator
- Site Admin
- Posts: 5312
- Joined: Sat Jan 05, 2008 4:21 pm
Re: mouseMove not work
I really have no idea what you are even trying to say. There is a reason there is a rule about proper spelling and grammar.
That being said, I can only assume that you are wondering why the physical mouse does not move while in attached mode. That is because it shouldn't. While in attached mode, the mouse movement and input will also be done completely virtually. That is, mouseMove() and mouseSet() will still move the virtual cursor and mouseLClick() (and related functions) will produce a click at the virtual mouse's coordinates.
Use attachKeyboard() if you only want to attach the keyboard.
That being said, I can only assume that you are wondering why the physical mouse does not move while in attached mode. That is because it shouldn't. While in attached mode, the mouse movement and input will also be done completely virtually. That is, mouseMove() and mouseSet() will still move the virtual cursor and mouseLClick() (and related functions) will produce a click at the virtual mouse's coordinates.
Use attachKeyboard() if you only want to attach the keyboard.
Re: mouseMove not work
Sorry for my grammar and my bad english.
Meybe i not clear write what i need.
I need click in windows game example 200, 120 (x,y)
In game that i used micromacro - work atach windows game
Work click mouse ,keypress, but not work set position mouse to click.
I try global(mouseSet(100, 200);) and windows(mouseMove(5, 10)) coordinates.
what i can do ?
Meybe i not clear write what i need.
I need click in windows game example 200, 120 (x,y)
In game that i used micromacro - work atach windows game
Work click mouse ,keypress, but not work set position mouse to click.
I try global(mouseSet(100, 200);) and windows(mouseMove(5, 10)) coordinates.
what i can do ?
- Administrator
- Site Admin
- Posts: 5312
- Joined: Sat Jan 05, 2008 4:21 pm
Re: mouseMove not work
Again, it works. The physical mouse will not move, the virtual mouse will.
Re: mouseMove not work
ty for replay
if i used code
mouseMove(41, 63);
mouseLClick();
that no click in posytion 41 ,63 but last posytion psihical mouse
all code script
win = findWindow("namewindwgame");
attachMouse( win );
mouseSetDelay(200);
yrest(5000);
printf("klikam\n");
mouseMove(41, 63);
mouseLClick();
detach();
if i used code
mouseMove(41, 63);
mouseLClick();
that no click in posytion 41 ,63 but last posytion psihical mouse
all code script
win = findWindow("namewindwgame");
attachMouse( win );
mouseSetDelay(200);
yrest(5000);
printf("klikam\n");
mouseMove(41, 63);
mouseLClick();
detach();
- Administrator
- Site Admin
- Posts: 5312
- Joined: Sat Jan 05, 2008 4:21 pm
Re: mouseMove not work
So use attachKeyboard() instead of attach().
Re: mouseMove not work
But i wont used attachMouse().
i write attachMouse() and attach() not work 100%
that can send virtual press key
can send virtual mouse click
but cant set virtual position for virtual mouse click
i thing i need find in memory game x y posytion mouse and set it
i tray get
wants to get a similar effect as in this example for the rom
i send u link in pm
i write attachMouse() and attach() not work 100%
that can send virtual press key
can send virtual mouse click
but cant set virtual position for virtual mouse click
i thing i need find in memory game x y posytion mouse and set it
i tray get
wants to get a similar effect as in this example for the rom
i send u link in pm
- Administrator
- Site Admin
- Posts: 5312
- Joined: Sat Jan 05, 2008 4:21 pm
Re: mouseMove not work
Then you should be asking about this in the RoM section of the forum.
Who is online
Users browsing this forum: No registered users and 6 guests